"Network is unreachable" indicates a network configuration error. > ++ IPADDR=128.122.146.142 > ++ NETWORK=128.122.146.0 > ++ NETMASK=255.255.255.0 > ++ BROADCAST=128.122.255.255 > ++ GATEWAY=128.122.146.1 These settings are inconsistent. Assuming your NETWORK and NETMASK are correct, you should have BROADCAST=128.122.146.255. > + start_fn eth0 > + /sbin/ifup eth0 > SIOCADDRT: Network is unreachable Your network.opts file is odd. You should either specify all your network settings in network.opts (as above), or replace the entire file with just the code from the PCMCIA-HOWTO to use ifup/ifdown to configure the network. You should not do both: what happens is the PCMCIA script configures eth0, then does the "ifup eth0", which re-configures the interface using the Red Hat netconf data. > Now, with the cable *unplugged* (128.122.154.50 is another machine): > > [ root@cognilap ~]# ping 128.122.154.50 > PING 128.122.154.50 (128.122.154.50) from 128.122.154.50 : 56(84) > bytes of data. 128.122.154.50 may belong to another machine, but you have also configured this machine to have the same IP address. It isn't the IP address you gave in network.opts, but I'll bet it is the address that shows up if you run "netconf". You are pinging yourself; the kernel knows that the packets don't have to go over the wire, so it works even when the cable is unplugged. -- Dave |
Messages