I configured rc.conf to support two interfaces with FIB
and the /boot/loader.conf
ipfw added
if I try to ping from the machine itself with
Is pinging . But if I try to ssh to that address it's going in timeout..
What I'm missing here?
Code:
ifconfig_igb0="inet 203.1.1.7 netmask 255.255.255.192 fib 0"
ifconfig_igb1="inet 192.168.20.2 netmask 255.255.255.0 fib 1"
static_routes="Nic0 Nic1"
route_Nic0="default 203.1.1.1 -fib 0"
route_Nic1="default 192.168.20.1 -fib 1"
and the /boot/loader.conf
Code:
sysctl net.fibs
net.fibs: 2
ipfw added
Code:
00110 setfib 0 ip from any to any via igb0
00120 setfib 1 ip from any to any via igb1
if I try to ping from the machine itself with
Code:
$ setfib 1 ping 192.168.20.2
PING 192.168.20.2 (192.168.20.2): 56 data bytes
64 bytes from 192.168.20.2: icmp_seq=0 ttl=64 time=0.102 ms
64 bytes from 192.168.20.2: icmp_seq=1 ttl=64 time=0.084 ms
64 bytes from 192.168.20.2: icmp_seq=2 ttl=64 time=0.077 ms
Is pinging . But if I try to ssh to that address it's going in timeout..
$ setfib 1 ssh 192.168.20.2
Code:
$setfib 1 netstat -r4
Routing tables (fib: 1)
Internet:
Destination Gateway Flags Netif Expire
default 192.168.20.1 UGS igb1
localhost link#5 UHS lo0
192.168.20.0/24 link#2 U igb1
What I'm missing here?