[ Next-in-Thread ]  [ Next Message ] 

This is a configuration error 

Forum: PCMCIA Network Adapter Issues
Re: Question: No success with either 10/100 Etherjet nor 3Com cards on Thinkpad (lyle borg-graham)
Date: 2000, Mar 01
From: David Hinds <dhinds@pcmcia.sourceforge.org>

"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

[ Next-in-Thread ]  [ Next Message ] 

Messages Inline: [ 0 ]  [ 1 ] 

Progress, but...

Re: This is a configuration error (David Hinds)
Date: 2000, Mar 01
From: lyle borg-graham lyle

> "Network is unreachable" indicates a network configuration error.

> These settings are inconsistent.  Assuming your NETWORK and NETMASK
> are correct, you should have BROADCAST=128.122.146.255.

> 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.

Ok, followed these suggestions, and now no "Network unreachable" message. Thanks!

However, I still can't seem to access the network.

>> 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.

Well, the only place that 128.122.154.50 shows up is in /etc/hosts. The above behaviour still occurs with another IP that is *not* in /etc/hosts, in fact as long as the IP has 128.122.*.*. And, if I use a hostname, I get:

 [ root@cognilap ~]# ping calaf.cns.nyu.edu
 ping: unknown host calaf.cns.nyu.edu

Lyle

This is a configuration error


[ Add Message ]  to: "This is a configuration error"

[ Members ]  [ Subscribe ]  [ Admin Mode ] 
[ Show Frames ]  [ Help for HyperNews at pcmcia-cs.sourceforge.net 1.10 ]