On Sat, 3 Feb 2007, Shawn Singh wrote: > The cable checked out. I used it to hookup my work laptop with the other > laptop I was using as my client, and was able to ping each host. The fact > that I had no link made me curious ... and I realized it made user error ... > I was "SURE" that I verified the NIC I was plugging into was eth1, as I've > got 3 NICs in the machine ... the one with no link is really eth2 ... not > eth1 ... I plugged into the correct interface, and (perhaps) needless to > say, my client is now seeing the gateway and the gateway sees the client.
I'd suggest using udev rules (create or add to /etc/udev/rules.d/10-local.rules) like this: ACTION=="add", SUBSYSTEM=="net", SYSFS{address}=="00:10:b5:0e:d6:e9", NAME="extra" (note, one = in the last one, two in all of the others) to give intuitive names to all of the network cards. Then you replace "eth1" everywhere with "extra". This makes it easier to read, so you don't forget which is which, and it means that if the kernel device enumeration changes, your rules don't break, and if you need to repurpose cards or something, you can just change the MAC addresses and the rules will be right. It's a lot easier to keep "left", "middle", and "right" (or "uplink", "downlink", and "extra") straight than "eth0", "eth2", and "eth1". -Daniel *This .sig left intentionally blank* -- gentoo-user@gentoo.org mailing list