230511 Michael wrote:
> On Thursday, 11 May 2023 15:01:51 BST Philip Webb wrote:
>> There is another related question : is there a way
>> to make both connections simultaneously & switch between them ?
> If you configure them both in /etc/conf.d/net with different priorities, both 
> will come up and obtain routes and IP addresses.  Use a different metric for 
> each to specify which NIC will take priority in your network stack, e.g.:
> 
> metric_enp2s0=20
> metric_wlp4s0=30
> 
> In the above example the wireless is acting as a fallback when the wired 
> enp2s0 fails.  Using arpwatch or ip-monitor can automate the fallback by 
> monitoring a particular IP address/route, but to manually switch between them 
> I think you'll have to shut down the one you don't want.
> 
> Using iproute's 'metric' option to change priorities will also work.  
> However, 
> I think established connections will continue to use the previous NIC and 
> route.
> 
> There may be more sophisticated ways to achieve what you want, other 
> contributors may have better ideas.

Thanks : I'll save this among my notes.

Any further advice in this area is very welcome.

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca


Reply via email to