[expert] Internet Sharing a Cable Modem
I'm trying to share an internet connection from a cable modem (attbi) that provides me with a dynamic IP address. My sharing PC is running LM8.2 w/ two NICs. My LAN has 3 linux 2 windows boxes. I used Mandrake Control Centre to setup the connection sharing. But something is still screwy in that sometimes it works and sometimes it doesn't; especially the windows machines. My questions are: Where's a good place for reading about how to set this up? and then I noticed that Mandrake Control Centre set both the LAN WAN NICs to have the same IP 192.168.0.1 . Is this going to confuse that PC? If so, what IPs are typically assigned for internal and external in this situation? Sevatio Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Internet Sharing a Cable Modem
On Sat, 2002-08-17 at 13:23, Sevatio wrote: I'm trying to share an internet connection from a cable modem (attbi) that provides me with a dynamic IP address. My sharing PC is running LM8.2 w/ two NICs. My LAN has 3 linux 2 windows boxes. I used Mandrake Control Centre to setup the connection sharing. But something is still screwy in that sometimes it works and sometimes it doesn't; especially the windows machines. OK, but you're gonna have to be more specific than that. Is windows telling you there's no connection? you can't download anything? make sure you've reset your modem. My roadrunner modem has to be reset occasionally (stupid cheap hardware mumble...) and then I noticed that Mandrake Control Centre set both the LAN WAN NICs to have the same IP 192.168.0.1 . Is this going to confuse that PC? If so, what IPs are typically assigned for internal and external in this situation? Make sure you told MCC the correct card to use as the internal address, that might give you some grief. I did something very similar recently and it worked smooth as silk. now if only I could do it with OpenBSD... -- jason gmaestro.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Internet Sharing a Cable Modem
Sevatio wrote: I'm trying to share an internet connection from a cable modem (attbi) that provides me with a dynamic IP address. My sharing PC is running LM8.2 w/ two NICs. My LAN has 3 linux 2 windows boxes. I used Mandrake Control Centre to setup the connection sharing. But something is still screwy in that sometimes it works and sometimes it doesn't; especially the windows machines. My questions are: Where's a good place for reading about how to set this up? and then I noticed that Mandrake Control Centre set both the LAN WAN NICs to have the same IP 192.168.0.1 . Is this going to confuse that PC? If so, what IPs are typically assigned for internal and external in this situation? Hit google for howto's on networking. And, Yes, it will confuse the hell out of the machines. It is wrong. Find out which nic is your internal and which is your external interface, i.e. eth0 and eth1. This can be a little tricky but how I solved it was to see which one would pick up ip info from the isp's dhcp server, and then I knew it was my external nic. Hard bind the other (internal) nic to class c private ip addy, 192.168.0.1. Set up gateway address on lan machines, set up NAT and IPMASQ on your linux server, make sure you get the routing right, and you should be ready to ride... I know, easier said than done but stay at it. It will start to make sense. Post any questions here. A lot of people here have setup what you are trying to setup, and when you get it working, we can talk about firewalling, msec, tripwire, snort or any other NIDS you might fancy, and all the other fun stuff... drjung -- J. Craig Woods UNIX/NT Network/System Administration http://www.trismegistus.net/resume.html Character is built upon the debris of despair --Emerson Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Internet Sharing a Cable Modem
Only the NIC that serves your internal network should be 192.168.0.1. I share my cable connection and the NIC that goes to the cable modem gets it IP address by dhcp and the other nic has the 192.168.0.1 address. The wizard pretty much works. Darren On Sun, 2002-08-18 at 04:23, Sevatio wrote: I'm trying to share an internet connection from a cable modem (attbi) that provides me with a dynamic IP address. My sharing PC is running LM8.2 w/ two NICs. My LAN has 3 linux 2 windows boxes. I used Mandrake Control Centre to setup the connection sharing. But something is still screwy in that sometimes it works and sometimes it doesn't; especially the windows machines. My questions are: Where's a good place for reading about how to set this up? and then I noticed that Mandrake Control Centre set both the LAN WAN NICs to have the same IP 192.168.0.1 . Is this going to confuse that PC? If so, what IPs are typically assigned for internal and external in this situation? Sevatio Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com