I have setup my FreeBSD workstation with 2 gigabit NICs for a resilient networking configuration. I won't bore you with the details but one gateway is 192.168.1.1 connected to re0 and one gateway is 192.168.5.1 connected to ue0. I am using 12.3-RELEASE-p5.
Interface re0 is setup by rc.conf. These are the commands used:
I am experiencing packet loss when pinging 192.168.5.1 through fib 1 like this:
About half the packets are lost. It will stop and start. Also strangely I cannot ping 192.168.5.2 for instance with ping saying "sendto: Invalid argument".
These are the routing tables:
It works the same way with packet loss to 192.168.5.1 and no ping at all to 192.168.5.2 whether I use net.add_addr_allfibs=0 or not. What could I be missing?
Interface re0 is setup by rc.conf. These are the commands used:
Code:
sudo ifconfig ue0 up
sudo ifconfig ue0 192.168.5.4
sudo setfib 1 route add 192.168.5.0/24 -iface ue0
sudo setfib 1 route add default 192.168.5.1
I am experiencing packet loss when pinging 192.168.5.1 through fib 1 like this:
Code:
setfib 1 ping 192.168.5.1
These are the routing tables:
Code:
(fib 0)
Internet:
Destination Gateway Flags Netif Expire
default 192.168.1.1 UGS re0
127.0.0.1 lo0 UHS lo0
192.168.1.0/24 link#1 U re0
192.168.1.2 link#1 UHS lo0
Routing tables (fib: 1)
Internet:
Destination Gateway Flags Netif Expire
default 192.168.5.1 UGS ue0
127.0.0.1 lo0 UHS lo0
192.168.5.0/24 00:05:1b:b0:63:aa US ue0
It works the same way with packet loss to 192.168.5.1 and no ping at all to 192.168.5.2 whether I use net.add_addr_allfibs=0 or not. What could I be missing?