LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Internet sharing through router (https://www.linuxquestions.org/questions/linux-networking-3/internet-sharing-through-router-293978/)

charon79m 02-27-2005 09:46 PM

The Router is being used as a dumb switch
 
This is a SIMPLE setup, don't make it complicated.

The XP box has the internet connection (WAN link) that is the USB modem. You therefore enable ICS on the XP box to share this connectin through its ethernet connectin (LAN). By enabling ICS, it will automaticallly set its LAN address to 192.168.0.1 and enable a DHCP server. At that point Suse needs to get an address via DHCP and all should work just fine.

The "router" is NOT being used to share the internet connection, so it does not matter what address you give it. It is being used as a simple switch. You should disable the DHCP server on the router and leave it at that.

Internet-------(Cellphone)----(USB)(XP-Box)(NIC)------(Switch{both in LAN ports})-----(NIC)(Suse)


I hope this helps!

MrKnisely

jmajor 02-27-2005 10:47 PM

Try this:

- Check what address XP gave it's NIC when you selected ICS. I have seen it meddle here before.
- Allow dialup to set default gateway (where I send for addresses I have never heard of) for XP.

- Set router address in same subnet as the XP NIC (probably 192.168.0.x)
- Set router gateway to XP NIC address

- Set SuSe address in XP subnet.
- Set SuSe gateway to router address or XP NIC address.

XP knows how to find the internet from details it gets when it dials up.
XP knows how to find addresses on it's NIC subnet (thats what the subnet mask is for)

Router and SuSe know how to find addresses in their subnet directly (including XP)
The default route says "If you don't know, pass it here and it will deal with it" = XP

Note that if your router is a real router and not a hub or switch, it probably should have one address for each port in a different subnet (192.168.0.x, 192.168.1.x), and SuSe would need an address in the subnet of the port it is attached to, and the router as its default route rather than XP. If the 'router' works as a switch or hub, then its addresses should be irrelevent(sp?).

Pyr00 02-28-2005 01:59 PM

Ok i got it fixed. I guess SP2 turned on PC Cillin firewall, because i had turned it off, and i have to turn it off everytime i start up the computer now. I duno, but i turned it off and it works now. I did have the suse gateway set to the XP NIC and that was what worked. Thanks


All times are GMT -5. The time now is 06:36 PM.