0

I have set up a 2pf CARP with VLANs. So far everything works well however I wonder why and if it is a problem that I get on the VLANs a duplicate default route.

My DHCP on the VLANs is of course set up like on the LAN interface with the virtual IP as the gateway as it should. When I connect to LAN, my Route looks as following:

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 enp4s0
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 enp4s0

However each time I get into a VLAN, my route looks as following:

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         192.168.16.1    0.0.0.0         UG        0 0          0 enp4s0
0.0.0.0         192.168.16.1    0.0.0.0         UG        0 0          0 enp4s0
192.168.16.0    0.0.0.0         255.255.240.0   U         0 0          0 enp4s0
192.168.16.0    0.0.0.0         255.255.240.0   U         0 0          0 enp4s0
192.168.16.0    0.0.0.0         255.255.240.0   U         0 0          0 enp4s0

And in another VLAN:

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         192.168.13.1   0.0.0.0         UG        0 0          0 enp4s0
0.0.0.0         192.168.13.1   0.0.0.0         UG        0 0          0 enp4s0
192.168.13.0   0.0.0.0         255.255.255.0   U         0 0          0 enp4s0
192.168.13.0   0.0.0.0         255.255.255.0   U         0 0          0 enp4s0

In the VLAN the route still works, I have internet access and everything as normal, I am just afraid that there is a slight misconfiguration and maybe both DHCP send a default route?

When I unplug the primary pfsense from the network however, I still get an IP (means CARP works) but the same route. Is this a CARP in VLAN behaviour for some reason?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.