We have one TP-Link ADSL (Modem/Router) and one D-Link 5-port switch connected via a CAT5 cable. The TP-Link has configured ADSL internet connection and is working. We also have 4 client pc (all Windows 7 OS) that connect to one workgroup via the D-Link switch in a star network structure:

SU538938 example

How do I configure clients and switch (IP and other settings) so that internet is shared by the network and all four clients can connect?

  • Would be important to know whether your modem has a built in router (i.e. whether its able to establish the connection on its own or whether a computer in the network has to do it). – Mario Jan 20 '13 at 11:32
  • yes, the modem has a built in router and the internet access on modem is ok. – Poorhoseini Jan 20 '13 at 11:35

You shouldn't have to worry about any further configuration. Let all clients determine their IP by DHCP (the router should answer them and assign them a dynamic IP).

If this doesn't work, either ensure the DHCP server of the modem/router is active or assign them manual IPs being in the same network as the modem/router. Usually it's enough to use the modem/router's IP and change the last octet (e.g. from .1 to .2). Also make sure you're using the same network mask. Also set the modem/router's IP to be your "Default Gateway" as well as the "Primary DNS". Once this is done, all internet access should work and clients should be able to talk to each other as well.

  • I need that clients has static ip, so I set the 192.168.0.xxx ip on client and DHCP on swith is off, Switch IP is and Modem/router IP is but client has no internet. – Poorhoseini Jan 20 '13 at 12:18
  • Have you set your default gateway and DNS server? Both should be your modem/router's IP. – Mario Jan 20 '13 at 12:39
  • yes I set Gateway and DNS to it's modem IP's – Poorhoseini Jan 20 '13 at 12:45
  • And still doesn't work? Are you able to ping others in network and/or the router by name and/or IP? – Mario Jan 20 '13 at 20:38
  • yes, I can ping these – Poorhoseini Jan 21 '13 at 7:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.