summaryrefslogtreecommitdiff
path: root/docs/configexamples/autotest/DHCPRelay_through_GRE/_include/dhcp-relay.conf
diff options
context:
space:
mode:
Diffstat (limited to 'docs/configexamples/autotest/DHCPRelay_through_GRE/_include/dhcp-relay.conf')
-rw-r--r--docs/configexamples/autotest/DHCPRelay_through_GRE/_include/dhcp-relay.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/configexamples/autotest/DHCPRelay_through_GRE/_include/dhcp-relay.conf b/docs/configexamples/autotest/DHCPRelay_through_GRE/_include/dhcp-relay.conf
new file mode 100644
index 00000000..1730ac68
--- /dev/null
+++ b/docs/configexamples/autotest/DHCPRelay_through_GRE/_include/dhcp-relay.conf
@@ -0,0 +1,11 @@
+set interfaces ethernet eth1 address '10.0.10.10/24'
+set interfaces ethernet eth2 address '192.168.0.254/24'
+set interfaces tunnel tun100 address '172.16.0.2/30'
+set interfaces tunnel tun100 encapsulation 'gretap'
+set interfaces tunnel tun100 remote '10.0.20.10'
+set interfaces tunnel tun100 source-address '10.0.10.10'
+set protocols static route 0.0.0.0/0 next-hop 172.16.0.1
+set protocols static route 10.0.20.0/24 next-hop 10.0.10.254
+set service dhcp-relay interface 'eth2'
+set service dhcp-relay interface 'tun100'
+set service dhcp-relay server '172.16.0.1' \ No newline at end of file