Static ip address connected to a switch

Closed
liya - Sep 9, 2011 at 05:04 AM
 liya - Sep 9, 2011 at 12:27 PM
Hello,

Hi there i have 2 pcs connected to a switch with static ip address of 192.168.0.1 and 192.168.0.2 and i connect the switch to a dsl modem but they cant connect to the internet pls help.

it works when connected wireless using dhcp, but the 2 pc with xp cant share data between them.so i need to use static ip addresses and connection to the internet.

<config>Windows XP / Firefox 6.0</config

1 reply

xpcman Posts 19532 Registration date Wednesday October 8, 2008 Status Contributor Last seen June 15, 2019 1,829
Sep 9, 2011 at 11:17 AM
You need a router to share the internet. Or you can connect the modem to one PC and use the Windows internet sharing feature to get the internet on the other computer.
0
so i can replace the switch connecting the 2 pcs with a router and connect the router to the dsl modem and still assign the static ip of 192.168.0.1 and 192.168.0.2 on the pc respectively, and i suppose the default getaway would be the ip address of the dsl modem then ya
0