On Sunday 31 October 2004 00:09, Russell W. Behne wrote: > Ok. I'm at the point where I have the 2 extra network cards installed. > eth0 goes to my cable modem, and is the default route. eth1 and eth2 are > for the 2 kids computers. When I do ifconfig I get this: > > eth1 Link encap:Ethernet HWaddr 00:0C:41:E7:BE:A6 > inet6 addr: fe80::20c:41ff:fee7:bea6/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:30 dropped:0 overruns:0 carrier:60 > collisions:0 txqueuelen:1000 > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) > Interrupt:10 Base address:0xdc00 > eth2 Link encap:Ethernet HWaddr 00:0C:41:EA:80:36 > inet6 addr: fe80::20c:41ff:feea:8036/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:20 dropped:0 overruns:0 carrier:40 > collisions:0 txqueuelen:1000 > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) > Interrupt:11 Base address:0xe000 > > 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: SNIP
If you look at the ifconfig display for eth1 and eth2 you will notice that you have not assigned them an IP address. You need to create files called /etc/sysconfig/network-scripts/ifcfg-eth1 and ifcfg-eth2 containing for example DEVICE=eth1 BOOTPROTO=static IPADRR=192.168.0.11 NETMASK=255.255.255.0 BROADCAST=192.168.0.255 ONBOOT=yes Then do 'service network restart' in a root terminal. alternatively just go through the connection GUI in Mandrake Control centre. It will do the same thing. derek BTW: Please remove the "Reply To" in your mail client. (Second time of asking) -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________