Date: Sat, 5 Dec 2020 19:20:44 -0800 From: Rudy <crapsh@monkeybrains.net> To: net@FreeBSD.org Subject: Uhg. Message-ID: <f7dd70de-9fa7-f694-c386-542062ad9975@monkeybrains.net>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f7dd70de-9fa7-f694-c386-542062ad9975>