https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200379

--- Comment #7 from Michael Tuexen <tue...@freebsd.org> ---
Here is what I do and what happens to the routing table. As you see, a route
gets added to fib 0. Is this expected? Intended?

> ifconfig em0
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
    ether 00:0c:29:8a:89:10
    inet 192.168.115.171 netmask 0xffffff00 broadcast 192.168.115.255 
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
    media: Ethernet autoselect (1000baseT <full-duplex>)
    status: active
> netstat -nrfinet
Routing tables

Internet:
Destination        Gateway            Flags     Netif Expire
default            192.168.115.2      UGS         em0
127.0.0.1          link#2             UH          lo0
192.168.115.0/24   link#1             U           em0
192.168.115.171    link#1             UHS         lo0
> sudo ifconfig em0.3275 create name craig0 fib 2
Password:
> netstat -nrfinet
Routing tables

Internet:
Destination        Gateway            Flags     Netif Expire
default            192.168.115.2      UGS         em0
127.0.0.1          link#2             UH          lo0
192.168.115.0/24   link#1             U           em0
192.168.115.171    link#1             UHS         lo0
> sudo ifconfig craig0 inet6 ifdisabled fib 2
> netstat -nrfinet
Routing tables

Internet:
Destination        Gateway            Flags     Netif Expire
default            192.168.115.2      UGS         em0
127.0.0.1          link#2             UH          lo0
192.168.115.0/24   link#1             U           em0
192.168.115.171    link#1             UHS         lo0
> sudo ifconfig craig0 inet 172.8.1.3/16 up fib 2
> sudo ifconfig craig0 
craig0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=3<RXCSUM,TXCSUM>
    ether 00:0c:29:8a:89:10
    inet 172.8.1.3 netmask 0xffff0000 broadcast 172.8.255.255 
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
    media: Ethernet autoselect (1000baseT <full-duplex>)
    status: active
    fib: 2
    vlan: 3275 parent interface: em0
    groups: vlan 
> netstat -nrfinet
Routing tables

Internet:
Destination        Gateway            Flags     Netif Expire
default            192.168.115.2      UGS         em0
127.0.0.1          link#2             UH          lo0
172.8.0.0/16       link#3             U        craig0
192.168.115.0/24   link#1             U           em0
192.168.115.171    link#1             UHS         lo0
> setfib 2 netstat -nrfinet
Routing tables (fib: 2)

Internet:
Destination        Gateway            Flags     Netif Expire
127.0.0.1          link#2             UH          lo0
172.8.0.0/16       link#3             U        craig0
172.8.1.3          link#3             UHS         lo0
192.168.115.0/24   link#1             U           em0
> sudo route add 127.0.0.0/8 -interface lo0 -fib 2
add net 127.0.0.0: gateway lo0 fib 2
> setfib 2 netstat -nrfinet
Routing tables (fib: 2)

Internet:
Destination        Gateway            Flags     Netif Expire
127.0.0.0/8        lo0                US          lo0
127.0.0.1          link#2             UH          lo0
172.8.0.0/16       link#3             U        craig0
172.8.1.3          link#3             UHS         lo0
192.168.115.0/24   link#1             U           em0
> netstat -nrfinet
Routing tables

Internet:
Destination        Gateway            Flags     Netif Expire
default            192.168.115.2      UGS         em0
127.0.0.1          link#2             UH          lo0
172.8.0.0/16       link#3             U        craig0
192.168.115.0/24   link#1             U           em0
192.168.115.171    link#1             UHS         lo0

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to