diff options
author | Ruben Herold <ruben@insecure.pw> | 2019-05-30 23:40:24 +0200 |
---|---|---|
committer | Ruben Herold <ruben@insecure.pw> | 2019-05-30 23:40:24 +0200 |
commit | 30241609507c462a107e3b7fde8057f87dedfb0c (patch) | |
tree | 366b2a432cfbae16766d5164e7b64e69472aa336 /docs | |
parent | 5a5e6c2140c2a43d90ff61ac116a677597346eb7 (diff) | |
download | vyos-documentation-30241609507c462a107e3b7fde8057f87dedfb0c.tar.gz vyos-documentation-30241609507c462a107e3b7fde8057f87dedfb0c.zip |
Add authentication for more security
Diffstat (limited to 'docs')
-rw-r--r-- | docs/appendix/examples/ospf-unnumbered.rxt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/appendix/examples/ospf-unnumbered.rxt b/docs/appendix/examples/ospf-unnumbered.rxt index f312a533..0238177e 100644 --- a/docs/appendix/examples/ospf-unnumbered.rxt +++ b/docs/appendix/examples/ospf-unnumbered.rxt @@ -14,10 +14,13 @@ Configuration set interfaces ethernet eth0 address '10.0.0.1/24' set interfaces ethernet eth1 address '192.168.0.1/32' + set interfaces ethernet eth1 ip ospf authentication md5 key-id 1 md5-key 'yourpassword' set interfaces ethernet eth1 ip ospf network 'point-to-point' set interfaces ethernet eth2 address '192.168.0.1/32' + set interfaces ethernet eth2 ip ospf authentication md5 key-id 1 md5-key 'yourpassword' set interfaces ethernet eth2 ip ospf network 'point-to-point' set interfaces loopback lo address '192.168.0.1/32' + set protocols ospf area 0.0.0.0 authentication 'md5' set protocols ospf area 0.0.0.0 network '192.168.0.1/32' set protocols ospf parameters router-id '192.168.0.1' set protocols ospf redistribute connected @@ -28,10 +31,13 @@ Configuration set interfaces ethernet eth0 address '10.0.0.2/24' set interfaces ethernet eth1 address '192.168.0.2/32' + set interfaces ethernet eth1 ip ospf authentication md5 key-id 1 md5-key 'yourpassword' set interfaces ethernet eth1 ip ospf network 'point-to-point' set interfaces ethernet eth2 address '192.168.0.2/32' + set interfaces ethernet eth2 ip ospf authentication md5 key-id 1 md5-key 'yourpassword' set interfaces ethernet eth2 ip ospf network 'point-to-point' set interfaces loopback lo address '192.168.0.2/32' + set protocols ospf area 0.0.0.0 authentication 'md5' set protocols ospf area 0.0.0.0 network '192.168.0.2/32' set protocols ospf parameters router-id '192.168.0.2' set protocols ospf redistribute connected @@ -117,4 +123,3 @@ Results * via 192.168.0.1, eth2 onlink, 00:29:03 vyos@vyos:~$ - |