Hello, I'm having a problem. you see, I'm living in a house that has a internet conection thrue a computer(PC1) that has a ADSL modem. só this computer is linked to standard switch with 8 ports. until now thereś no problem.
the problem: I byed a new PC and a router NTech 4-port, so I could have internet on the two computers in my room(PC7 & PC8). but the router won't distribute internet or lan. :rolleyes:

I have this configuration:
PC1:
ip 192.168.0.1
submask 255.255.255.0
getway 192.168.0.1

PC7:
ip 192.168.0.1
submask 255.255.255.0
getway 192.168.0.1
DNS 192.168.0.1

PC8:
ip 192.168.0.1
submask 255.255.255.0
getway 192.168.0.1
DNS 192.168.0.1

I tryed to enter the router and change it's ip to some other ip and change the DNS of the PC7 and PC8 to that ip. :o Didn't work!

I attached a image to help out... :cheesy:

I don know what to do...

OK unless you have turned off routing somehow you must have different networks on each interface of a router. Since four of those ports are really just switchports off an internal interface that router should have two networks; 192.168.0.X (.100 for my example) on the "outside" and something else like 192.168.1.X on the inside, let's say .1 for the router.

Router will have to do NAT, use a default route to 192.168.0.1, and should provide DHCP to the "inside" area.

PC7 and PC8 will need an ip on the 192.168.1.X side, SM 255.255.255.0, DG192.168.1.1, DNS will be 192.168.0.1 still. The PC1 will need a static route pointing the 192.168.1.0/24 network to 192.168.1.100 (router)

This should be enough to get you started in the right direction, if anyone notices something I missed please post it as I have to get to work. A dual NAT setup sometimes causes some weird problems, occasionally depending on the limitations of the routers it just doesn't work.

A final question what OS and version are you running on PC1?

I'm using windows XP2, thanks a lot, I'll try to do what you sayed...

Thanks, once more.

ulul cra ulo kamali set up mo internet muna tapos router tapos switch

you're addressing scheme is all wrong ...first of all routers divide networks...thats why they're so good in terms of security...what i'm getting at is you have the same addressing scheme right acroos the board when in my view you have 3 different network 1)everything attached to the switch...2)a network between the switch and the router and 3) everything on the other side of the router...to add to your problem you didn't address the router nor the switch>>>these devices need not only an address but a default gateway(which would be the next device...not the router!

All of your IP settings are the same as the gateway and dns...it sounds like you are entering static IP addys.On each computer Under network settings click on your network settings, click on your network, TCP/IP settings, then click on automatically obtain an IP. Your Router/Switch comes configured with an addy of 192.168.0.1 Do not assign this to your computers. this will work...any questions, repost

commented: Don't feed the zombies -2
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.