summaryrefslogtreecommitdiff
path: root/docs/configexamples/dhcp-relay-through-gre-bridge.rst
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2021-04-12 00:04:10 +0700
committerGitHub <noreply@github.com>2021-04-12 00:04:10 +0700
commite6bc0311ea254901b9239a3fc5c3e84f8b264cab (patch)
tree5c78576e2906b5ec8dfdda99552dd17fd784d8af /docs/configexamples/dhcp-relay-through-gre-bridge.rst
parentc394c6e165959a3f9caf83956480bf111b686c48 (diff)
parent5faf97f5a13979176b9f80e375ac2eed92b3d63b (diff)
downloadvyos-documentation-e6bc0311ea254901b9239a3fc5c3e84f8b264cab.tar.gz
vyos-documentation-e6bc0311ea254901b9239a3fc5c3e84f8b264cab.zip
Merge pull request #504 from srividya0208/T3458
T3458:tunnel interface:added GRETAP section
Diffstat (limited to 'docs/configexamples/dhcp-relay-through-gre-bridge.rst')
-rw-r--r--docs/configexamples/dhcp-relay-through-gre-bridge.rst13
1 files changed, 9 insertions, 4 deletions
diff --git a/docs/configexamples/dhcp-relay-through-gre-bridge.rst b/docs/configexamples/dhcp-relay-through-gre-bridge.rst
index 0ebaa967..10184970 100644
--- a/docs/configexamples/dhcp-relay-through-gre-bridge.rst
+++ b/docs/configexamples/dhcp-relay-through-gre-bridge.rst
@@ -1,3 +1,8 @@
+
+
+
+
+
.. _examples-dhcp-relay-through-gre-bridge:
@@ -24,8 +29,8 @@ DHCP Server
set interfaces loopback lo address '192.168.3.3/24'
set interfaces tunnel tun100 address '172.16.0.2/30'
set interfaces tunnel tun100 encapsulation 'gretap'
- set interfaces tunnel tun100 local-ip '10.0.2.1'
- set interfaces tunnel tun100 remote-ip '192.168.0.1'
+ set interfaces tunnel tun100 source-address '10.0.2.1'
+ set interfaces tunnel tun100 remote '192.168.0.1'
set protocols ospf area 0 network '192.168.3.0/24'
set protocols ospf area 0 network '10.0.2.0/24'
set protocols ospf parameters router-id '192.168.3.3'
@@ -62,8 +67,8 @@ DHCP Relay
set interfaces loopback lo address '10.100.100.1'
set interfaces tunnel tun100 address '172.16.0.1/30'
set interfaces tunnel tun100 encapsulation 'gretap'
- set interfaces tunnel tun100 local-ip '192.168.0.1'
- set interfaces tunnel tun100 remote-ip '10.0.2.1'
+ set interfaces tunnel tun100 source-address '192.168.0.1'
+ set interfaces tunnel tun100 remote '10.0.2.1'
set protocols ospf area 0 network '10.0.1.0/24'
set protocols ospf area 0 network '192.168.0.0/24'
set protocols ospf area 0 network '10.100.100.0/24'