On Sunday 31 October 2004 01:09, Russell W. Behne wrote: > So both cards are now reecognised by the kernel. But pings to > 192.168.0.11 and 192.168.0.12 aren't answered; doing a traceroute to > 192.168.0.11 shows that the pings are going out the cable modem on eth0 > to my ISP's private network instead of eth1. So my next problem is how > to set up routing for the 2 hosts. The route command shows: > > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > 67.21.58.0 * 255.255.255.0 U 0 0 0 eth0 > 127.0.0.0 * 255.0.0.0 U 0 0 0 lo > default va-staff-u1-c3f 0.0.0.0 UG 0 0 0 eth0 > > This isn't working: > # route add -host 192.168.0.11 dev eth1 > SIOCADDRT: No such device > > How do I add the routes for the 2 hosts so that pings go to them? I > can't sseem to find a howto that explains how to get the machines > pinging back and forth without dhcp. Once I get things right on the > server, I want to do each host, and get them pinging bothh ways.
For one: I've never used 2 or more networkcards for the same net on the same PC before (I use a hub....cheap&efficient) but I don't think it poses a problem. They should be connected with a "crossover cable" (comparable to a "nul modem" serial cable) otherwise you're going to get nowhere!! You're not using "straight through" cat5, right? Both the kids PC's are configured using static IP (11 & 12) so you should setup the connected nics accordingly....i.e. "ifconfig eth1 192.168.0.1 up" and what'll happen when you "ifconfig eth2 192.16.0.1 up"......Don't know??? Maybe you could use a diferent subnet there like 192.168.1. and rename one of the 2 kids 192.168.1.11 and bridge the two nics...that I know howto, keep it for later:) I hope somebody else can chip in on the 3 nics. In short: two boxes connected: 192.168.0.1<->192.168.0.10 on each box "ifconfig ethx 192.168.0.n up" ---where x is the device n° and n it's own adress n°. IF they're connected you can ping the other and yourself...that's it! the "route" command should be run on the kids PC's to tell where the gateway (to internet ) is...i.e."route add default gw 192.168.0.1" and respectively "route add default gw 192.68.1.1" -- Good luck, HarM
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________