Uhg.
Rudy
crapsh at monkeybrains.net
Sun Dec 6 20:58:12 UTC 2020
PS, is there a timeline to change MASTER to PRIMARY?
Rudy
On 12/5/20 7:20 PM, Rudy wrote:
>
> Uhg. 12.2-STABLE
>
> If I do an outbound connection, the source IP is from a 'BACKUP' IP on
> vhid 25.
>
> What a mess.
>
> My default router is 1.2.3.1, but the routing stack is picking
> 1.2.3.3 as the 'source IP'. I reordered rc.conf to put alias0 as my
> desired external IP (1.2.3.4), and not it works. This has been
> bugging me for a while, and I just figured it out.
>
> BUG:
> networking stack picks IPs in 'BACKUP' as source IP.
> WORK AROUND:
> set the ip you 'think will not be in BACKUP' as your first IP. :(
>
> FYI, actuall IPs changed to 1.2.3 for simplicity.
>
> Rudy
>
>
>
>
> ns2_jail0:
> flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0
> mtu 1500
> options=8<VLAN_MTU>
> ether 02:c4:ba:72:4a:0b
> inet 10.8.200.26 netmask 0xffffff00 broadcast 10.8.200.255
> inet 1.2.3.3 netmask 0xffffff00 broadcast 1.2.3.255 vhid 25
> inet 1.2.3.4 netmask 0xffffff00 broadcast 1.2.3.255 vhid 26
> inet 1.2.3.2 netmask 0xffffff00 broadcast 1.2.3.255 vhid 27
> groups: epair
> carp: BACKUP vhid 25 advbase 1 advskew 190
> carp: MASTER vhid 26 advbase 1 advskew 0
> carp: BACKUP vhid 27 advbase 1 advskew 190
> media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
> status: active
> nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>
More information about the freebsd-net
mailing list