Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Dec 2020 12:58:07 -0800
From:      Rudy <crapsh@monkeybrains.net>
To:        freebsd-net@freebsd.org
Subject:   Re: Uhg.
Message-ID:  <2d1fdea0-e957-82d1-d1c0-41e0aecf6f6b@monkeybrains.net>
In-Reply-To: <f7dd70de-9fa7-f694-c386-542062ad9975@monkeybrains.net>
References:  <f7dd70de-9fa7-f694-c386-542062ad9975@monkeybrains.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2d1fdea0-e957-82d1-d1c0-41e0aecf6f6b>