Hi,

  Some times I don't need addition of host route when I'm setting iface's
address like in this case :

xl0: flags=8943<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=3<rxcsum,txcsum>
        inet 212.36.9.113 netmask 0xfffffe00 broadcast 212.36.9.255
        ether 00:04:76:1b:cb:72
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=3<rxcsum,txcsum>
        inet 212.36.9.113 netmask 0xffffffff broadcast 212.36.9.113
        ether 00:50:da:5b:b2:64
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=3<rxcsum,txcsum>
        inet 212.36.9.113 netmask 0xffffffff broadcast 212.36.9.113
        ether 00:04:76:22:16:92
        media: Ethernet autoselect (10baseT/UTP)
        status: active
xl3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=3<rxcsum,txcsum>
        inet 212.36.9.113 netmask 0xffffffff broadcast 212.36.9.113
        ether 00:04:76:22:16:97
        media: Ethernet autoselect (none)
        status: no carrier
xl4: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=3<rxcsum,txcsum>
        inet 212.36.9.113 netmask 0xffffffff broadcast 212.36.9.113
        ether 00:10:4b:b8:65:2c
        media: Ethernet autoselect (10baseT/UTP)
        status: active
xl5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=3<rxcsum,txcsum>
        inet 212.36.9.113 netmask 0xffffffff broadcast 212.36.9.113
        ether 00:04:76:22:15:83
        media: Ethernet autoselect (100baseTX)
        status: active


It works fine (just a warrning) with 4.4 kernel and before, but in 4.5
there is a check for host route addition and if it fail to add a route
it also fails to set iface address (ofcourse I've patch it for myself).
  I need this not just for saving IPs but it's somewhat easier to route
just throw iface i not to care about iface IPs. And something more, You
know that the router has 1 IP and thats it , don't care on which iface
Your are connected right now, it has 1 IP and thats your gateway.
  This scheme looks a bit like Cisco's "ip unnumbered" interfaces and I
don't think it's a bad idea.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to