[quagga-dev 728] Re: ripd status

Frank van Maarseveen frankvm at xs4all.nl
Tue Jan 13 20:35:21 GMT 2004


Out of curiosity I tried this umm, pathological case on a spare nic on
linux 2.4.23:

# ip addr add 10.0.0.1/24 dev eth1
# ip addr add 10.0.0.2/24 dev eth1
# ip addr add 10.0.0.3/25 dev eth1
# ip addr add 10.0.0.4/23 dev eth1
# ip addr show dev eth1

5: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 00:02:44:4c:04:c8 brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.1/24 scope global eth1
    inet 10.0.0.3/25 scope global eth1
    inet 10.0.0.4/23 scope global eth1
    inet 10.0.0.2/24 scope global secondary eth1

# ip addr del 10.0.0.1/24 dev eth1
# ip addr show dev eth1

5: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 00:02:44:4c:04:c8 brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.3/25 scope global eth1
    inet 10.0.0.4/23 scope global eth1

Further tests confirmed that the netmask must comply and that the
secondary flag is up for all except the firstly added address with
that netmask, independent of the IP address.

-- 
Frank



More information about the Quagga-dev mailing list