summaryrefslogtreecommitdiff
path: root/smoketest/configs/tunnel-broker
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-04-05 20:13:18 +0200
committerChristian Poessinger <christian@poessinger.com>2021-04-05 20:15:22 +0200
commitecf53662f75b2588977d449713f07d28bd0e24a6 (patch)
tree0ae2ead339575302d29d2446ffbe6106c8398f44 /smoketest/configs/tunnel-broker
parent0ac696663b6885e659987efdbe83ae7d4a3f7779 (diff)
downloadvyos-1x-ecf53662f75b2588977d449713f07d28bd0e24a6.tar.gz
vyos-1x-ecf53662f75b2588977d449713f07d28bd0e24a6.zip
smoketest: config: tunnel-broker: adjust l2tpv3 local/remote addresses
For L2TPv3 to properly work there must be a routing entry present for the remote side of the tunnel, or use a directly connected subnet.
Diffstat (limited to 'smoketest/configs/tunnel-broker')
-rw-r--r--smoketest/configs/tunnel-broker15
1 files changed, 4 insertions, 11 deletions
diff --git a/smoketest/configs/tunnel-broker b/smoketest/configs/tunnel-broker
index b52ba2541..d4a5c2dfc 100644
--- a/smoketest/configs/tunnel-broker
+++ b/smoketest/configs/tunnel-broker
@@ -21,40 +21,34 @@ interfaces {
address 172.18.202.10/24
}
l2tpv3 l2tpeth10 {
- description "L2 VPN Tunnel"
destination-port 5010
encapsulation ip
local-ip 172.18.202.10
- mtu 1500
peer-session-id 110
peer-tunnel-id 10
- remote-ip 172.18.254.201
+ remote-ip 172.18.202.110
session-id 110
source-port 5010
tunnel-id 10
}
l2tpv3 l2tpeth20 {
- description "L2 VPN Tunnel"
destination-port 5020
encapsulation ip
local-ip 172.18.202.10
- mtu 1500
peer-session-id 120
peer-tunnel-id 20
- remote-ip 172.18.254.202
+ remote-ip 172.18.202.120
session-id 120
source-port 5020
tunnel-id 20
}
l2tpv3 l2tpeth30 {
- description "L2 VPN Tunnel"
destination-port 5030
encapsulation ip
local-ip 172.18.202.10
- mtu 1500
peer-session-id 130
peer-tunnel-id 30
- remote-ip 172.18.254.203
+ remote-ip 172.18.202.130
session-id 130
source-port 5030
tunnel-id 30
@@ -93,8 +87,7 @@ interfaces {
protocols {
static {
route 0.0.0.0/0 {
- next-hop 172.18.202.1 {
- distance 10
+ next-hop 172.18.202.254 {
}
}
}