diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-11-13 10:18:27 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-11-13 10:20:43 +0100 |
commit | 62320efc3866fa582852258846c15bfa09a92720 (patch) | |
tree | e0a9979aff45a0b8d0135f0a7028e059af972ab8 /data/templates/wwan/peer.tmpl | |
parent | 35bc7d9d0fc1b3fe2dd87915a65634ef66d7a3b9 (diff) | |
download | vyos-1x-62320efc3866fa582852258846c15bfa09a92720.tar.gz vyos-1x-62320efc3866fa582852258846c15bfa09a92720.zip |
wwan: T3065: add IPv6 support for wirelessmodem interfaces
Diffstat (limited to 'data/templates/wwan/peer.tmpl')
-rw-r--r-- | data/templates/wwan/peer.tmpl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/data/templates/wwan/peer.tmpl b/data/templates/wwan/peer.tmpl index e23881bf8..2807a79a4 100644 --- a/data/templates/wwan/peer.tmpl +++ b/data/templates/wwan/peer.tmpl @@ -4,15 +4,19 @@ ifname {{ ifname }} ipparam {{ ifname }} linkname {{ ifname }} + {{ "usepeerdns" if no_peer_dns is defined }} # physical device {{ device }} lcp-echo-failure 0 115200 debug -debug mtu {{ mtu }} mru {{ mtu }} +{% if ipv6 is defined and ipv6.address is defined and ipv6.address.autoconf is defined %} ++ipv6 +ipv6cp-use-ipaddr +{% endif %} nodefaultroute ipcp-max-failure 4 ipcp-accept-local |