summaryrefslogtreecommitdiff
path: root/docs/configuration/vrf
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-05 19:04:53 +0200
committerChristian Poessinger <christian@poessinger.com>2021-09-05 19:05:40 +0200
commit7479329761a80e41b86c8959ebed8c451a4da980 (patch)
tree522f91a710edc03868162f63451c96520238813a /docs/configuration/vrf
parent493ab71d083c81c781f650e2c9f87a1e00ac8b5c (diff)
downloadvyos-documentation-7479329761a80e41b86c8959ebed8c451a4da980.tar.gz
vyos-documentation-7479329761a80e41b86c8959ebed8c451a4da980.zip
T3804: merge "system name-servers-dhcp" into "system name-server"
Diffstat (limited to 'docs/configuration/vrf')
-rw-r--r--docs/configuration/vrf/index.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/configuration/vrf/index.rst b/docs/configuration/vrf/index.rst
index e172dade..9b48668a 100644
--- a/docs/configuration/vrf/index.rst
+++ b/docs/configuration/vrf/index.rst
@@ -346,25 +346,25 @@ Configuration
set interfaces bridge br10 member interface eth3
set interfaces bridge br10 member interface eth4
set interfaces bridge br10 vrf 'red'
-
+
set interfaces ethernet eth0 address 'dhcp'
set interfaces ethernet eth0 vrf 'mgmt'
set interfaces ethernet eth1 address '10.0.0.254/24'
set interfaces ethernet eth2 address '10.20.0.254/24'
set interfaces ethernet eth2 vrf 'blue'
-
+
set protocols static interface-route 10.20.0.0/24 next-hop-interface eth2 next-hop-vrf 'blue'
set protocols static interface-route 10.30.0.0/24 next-hop-interface br10 next-hop-vrf 'red'
set protocols vrf blue static interface-route 10.0.0.0/24 next-hop-interface eth1 next-hop-vrf 'default'
set protocols vrf red static interface-route 10.0.0.0/24 next-hop-interface eth1 next-hop-vrf 'default'
-
+
set service ssh disable-host-validation
set service ssh vrf 'mgmt'
-
+
set system domain-name 'vyos.net'
set system host-name 'R1'
- set system name-servers-dhcp 'eth0'
-
+ set system name-server 'eth0'
+
set vrf name blue table '3000'
set vrf name mgmt table '1000'
set vrf name red table '2000'