Colleagues, could you please tell me why routing to local interfaces isn't being added to FIBs with numbers greater than 0 when I initialize them?
I have FIB creation configured and automatic writing to them enabled:
I have a local interface declared:
However, routing to the local interface is added to FIB0, but not to FIB1.
Why?
Thank you for your insightful answers,
Ogogon.
I have FIB creation configured and automatic writing to them enabled:
Code:
net.fibs=3
net.add_addr_allfibs=1
I have a local interface declared:
Code:
ifconfig_re0=" inet 192.168.1.23 netmask 255.255.255.0"
defaultrouter="192.168.1.15"
defaultrouter_fib1="192.168.1.15"
However, routing to the local interface is added to FIB0, but not to FIB1.
Code:
root@devel:/home/ogogon # netstat -4rnF0
Routing tables
Internet:
Destination Gateway Flags Netif Expire
default 192.168.1.15 UGS re0
127.0.0.1 link#2 UH lo0
192.168.1.0/24 link#1 U re0
192.168.1.23 link#2 UHS lo0
root@devel:/home/ogogon # netstat -4rnF1
Routing tables (fib: 1)
Internet:
Destination Gateway Flags Netif Expire
default 192.168.1.15 UGS re0
127.0.0.1 link#2 UH lo0
192.168.1.0/24 link#1 U re0
root@devel:/home/ogogon #
Why?
Thank you for your insightful answers,
Ogogon.