diff options
author | rebortg <github@ghlr.de> | 2021-12-22 20:36:25 +0100 |
---|---|---|
committer | rebortg <github@ghlr.de> | 2021-12-22 20:36:25 +0100 |
commit | caa20e116716c6e775690791ebd816272933a726 (patch) | |
tree | a6d83db2c6ca26aff1b7aa320df9a34ee524ace1 /docs/configexamples/autotest/DHCPRelay_through_GRE/_include/dhcp-server.conf | |
parent | fdd007cca6455933ef1885b3c2e3e271d943aa5c (diff) | |
download | vyos-documentation-caa20e116716c6e775690791ebd816272933a726.tar.gz vyos-documentation-caa20e116716c6e775690791ebd816272933a726.zip |
blueprint: convert dhcp trough gre bridge to autotest
Diffstat (limited to 'docs/configexamples/autotest/DHCPRelay_through_GRE/_include/dhcp-server.conf')
-rw-r--r-- | docs/configexamples/autotest/DHCPRelay_through_GRE/_include/dhcp-server.conf | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/configexamples/autotest/DHCPRelay_through_GRE/_include/dhcp-server.conf b/docs/configexamples/autotest/DHCPRelay_through_GRE/_include/dhcp-server.conf new file mode 100644 index 00000000..9c4b612a --- /dev/null +++ b/docs/configexamples/autotest/DHCPRelay_through_GRE/_include/dhcp-server.conf @@ -0,0 +1,13 @@ +set interfaces ethernet eth1 address '10.0.20.10/24' +set interfaces tunnel tun100 address '172.16.0.1/30' +set interfaces tunnel tun100 encapsulation 'gretap' +set interfaces tunnel tun100 remote '10.0.10.10' +set interfaces tunnel tun100 source-address '10.0.20.10' +set protocols static route 0.0.0.0/0 next-hop 172.16.0.2 +set protocols static route 10.0.10.0/24 next-hop 10.0.20.254 +set protocols static route 192.168.0.0/24 next-hop 127.16.0.2 +set service dhcp-server listen-address '172.16.0.1' +set service dhcp-server shared-network-name DHCPTun100 authoritative +set service dhcp-server shared-network-name DHCPTun100 subnet 192.168.0.0/24 default-router '192.168.0.254' +set service dhcp-server shared-network-name DHCPTun100 subnet 192.168.0.0/24 range 0 start '192.168.0.30' +set service dhcp-server shared-network-name DHCPTun100 subnet 192.168.0.0/24 range 0 stop '192.168.0.30'
\ No newline at end of file |