OK, my ESP is getting better ;-) I see another reply has put you on the right track, but just to be specific and avoid confusion....
First let's make sure I understand what you have: - 2 linux boxes - 1 network card (NIC) in each - a hub - a cable modem If that's correct, then what you need to do is: 1. Stop paying for a second connection 2. With the $6 / month you save, buy a second NIC for one machine - this becomes the gateway 3. Leave one NIC in your gateway connected to the cable modem and connect the other to your hub 4. Connect the machine with one NIC (let's call this the client) to the hub 5. Set the IP address on your new gateway NIC (the one connected to the hub) to 192.168.0.1 in subnet 255.255.255.0 - there are other alternatives, but let's keep life simple and use that. 6. Set the IP address on your client machine to 192.168.0.2 - same subnet Now you can ping 192.168.0.1 from the client and 192.168.0.2 from the gateway. You can also share files between them by setting up some NFS mounts, share printers etc. Your gateway machine at this point has internet access, but not your client, so two more steps are required to complete the picture. 1. Set up a route from your private subnet (255.255.255.0) to the public side (the subnet to which the NIC connected to the cable modem belongs) webmin is probably the easiest tool to use for this. Have a play with that and come back to the list if you have trouble with it. 2. Set up a firewall on the gateway machine. InteractiveBastille would be a reasonable choice, but there are many others. You'll find a zillion message on that in the archives, so I won't blather on here about the details. Hopefully that's enough to get you on track and you can come back with more specific questions as they arise. HTH Brian On Wed, 2002-03-20 at 07:29, James Thomas wrote: > yeah, they both use DHCP. I pay an extra $6/month for both of them - I need > both computers to be accessible online so I pay the extra money. > > James > > > >My guess is that you are using DHCP on both and that both can see the > >Internet, but not each other. Right? If so, a better setup would be to > >make one machine your internet gateway sing connection sharing and the > >other a purely local machine. Your gateway machine could also then be > >the firewall, limiting your need to manage security to only one. > > > >If this guesswork is accurate and you need help to make this happen, > >have a stroll through the archives, where you'll find 1000 or so > >messages about this, then come back with questions anyway ;-) > > > >HTH > >Brian > > > >On Tue, 2002-03-19 at 20:11, James Thomas wrote: > > > > > > Hey all, > > > > > > I have two linux computers both connected via a Netgear hub to my cable > > > modem. They don't seem to be able to see each other. Anything I can do > >to > > > accomplish this? > > > > > > Thanks! > > > > > > James > > > > > > _________________________________________________________________ > > > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > > > > > > > > ---- > > > > > > > > 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 > > > > > _________________________________________________________________ > Join the world’s largest e-mail service with MSN Hotmail. > http://www.hotmail.com > > > ---- > > 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