Re: Set permanent route to IPv6 subnet on interface
- From: Jeremy Ardley <jeremy ardley org>
- To: networkmanager-list gnome org
- Subject: Re: Set permanent route to IPv6 subnet on interface
- Date: Fri, 27 Mar 2020 08:21:07 +0800
26.03.2020 11:15, Jeremy Ardley пишет:
What is the best NetworkManager method to add a permanent route to an
ipv6 subnet on an interface?
I can add a temporary route outside of NetworkManager thus:
ip -6 route add 2001:db8:c111:b000::/56 dev eth0
Where should this be done in NetworkManager and what is the correct
syntax?
Answering my own question, the correct syntax is
nmcli c modify 'Wired connection 2' ipv6.routes ' 2001:db8:c111:b000::/56 '
This results in a line in the nmconnection file ipv6 section of
route1=2001:db8:c111:b000::/56
While this does not explicitly attach the subnet to interface eth0, this
is done by activating the profile on device eth0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]