In article <dUu1b.11034$(E-Mail Removed) >,
W Cardwell wrote:
>> This does not happen if I give the interface another IP address
>> (e.g. 10.184.79.104). Any ideas?
>
> None. That address is in the same network based on a 255.255.255.224 netmask
> and should generate the same route. If you use an address with the last byte
> falling in the range of 1-30, then the 10.184.79.0 route would make sense
> and not the 10.184.79.96 route. Whether you use 103 or 104 should not make
> any difference.
My guess is that we're not seeing the whole picture. ifconfig will by
default use the approriate netmask and broadcast for the Class (A,B,C)
of the IP address. 10.x.y.z is Class A: broadcast 10.255.255.255,
netmask 255.0.0.0 (8 bits).
If you assign 10.184.79.103 to an interface with no other ifconfig
parameters given, you'll get the default ... unless it had been
previously given the 255.255.255.224 (27-bit) netmask. In that case the
former netmask value would be remembered and used.
Please see my earlier post in the PPP script thread: when an interface
is taken down (ifconfig $IF down) the IP address and other settings are
saved and will be displayed in "ifconfig -a" or "ifconfig $IF" output.
--
/dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
or put "not-spam" or "/dev/rob0" in Subject header to reply
|