diff options
author | Robert Göhler <github@ghlr.de> | 2021-10-12 20:07:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-12 20:07:11 +0200 |
commit | 3b5c9513cf3b8e3084d317b8b8831d839874af52 (patch) | |
tree | 595606140b1d9046db27d545e6ddd4598071c580 /docs | |
parent | 68fc37778d2c4f3e43b9da29f568b48f1fd29bcf (diff) | |
parent | 8c07fdd896bf74b923b2abc7b6d3d84b4afdf740 (diff) | |
download | vyos-documentation-3b5c9513cf3b8e3084d317b8b8831d839874af52.tar.gz vyos-documentation-3b5c9513cf3b8e3084d317b8b8831d839874af52.zip |
Merge pull request #636 from goodNETnick/gNN-1.4
Correction of exclude Inter-VLAN traffic section
Diffstat (limited to 'docs')
-rw-r--r-- | docs/configuration/policy/examples.rst | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/configuration/policy/examples.rst b/docs/configuration/policy/examples.rst index a1d40db4..e99bdfcf 100644 --- a/docs/configuration/policy/examples.rst +++ b/docs/configuration/policy/examples.rst @@ -138,12 +138,15 @@ from PBR .. code-block:: none + set firewall group network-group VLANS-GR description 'VLANs networks' + set firewall group network-group VLANS-GR network '192.168.188.0/24' + set firewall group network-group VLANS-GR network '192.168.189.0/24' + set policy route PBR rule 10 description 'VLAN10 <-> VLAN11 shortcut' - set policy route PBR rule 10 destination address '192.168.188.0/24' - set policy route PBR rule 10 destination address '192.168.189.0/24' + set policy route PBR rule 10 destination group network-group 'VLANS-GR' set policy route PBR rule 10 set table 'main' -These commands allow the VLAN10 and VLAN20 hosts to communicate with +These commands allow the VLAN10 and VLAN11 hosts to communicate with each other using the main routing table. Local route |