[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2abd4f99-02d7-1415-aeb3-bca3e3b7be84@gmail.com>
Date: Sat, 24 Jul 2021 19:32:54 -0700
From: hui wang <huiwangforfbjob@...il.com>
To: netdev@...r.kernel.org
Subject: Re: question about configuring multiple interfaces on a host within
the same ipv6 sub-net
On 7/23/21 11:15 PM, hui wang wrote:
> Hi All
>
> I have an host (running centos8), it has multiple interfaces
> connecting to the same IPv6 sub-net. Different IPv6 addresses are
> statically assigned to these interfaces. All these interfaces are
> assigned with the same gateway address.
>
> I'd like to config the routing policy so that:
>
> All packets with source IP address specified goes out via the
> interface where the source IP address was assigned to.
> When source IP address is not specified by application. (ex. TCP
> sync packet)
when connect() called without binding to an ip address
> , different interfaces' IP address is picked (as source IP address)
> randomly (if the destination IP address is different).
>
> How do I config routing policy to achieve these in such an environment.
>
> Please let me know if there are more appropriate mail lists for my
> question.
>
> Thanks,
>
> Hui
>
Powered by blists - more mailing lists