8a6fc67345dca14242650cbc0a08c08ab2c25b6e
howto/EdgeOS-Config.md
| ... | ... | @@ -31,8 +31,11 @@ Also thanx to drathir for his patience and support |
| 31 | 31 | The data i used are the following: |
| 32 | 32 | |
| 33 | 33 | Own ASN: AS111111 |
| 34 | -Own IPv4: 172.AA.AA.64/27 |
|
| 35 | -Own IPv6: fdBB:BBBB:CCCC::/48 |
|
| 34 | +Own IPv4 Space: 172.AA.AA.64/27 |
|
| 35 | +Own IPv6 Space: fdBB:BBBB:CCCC::/48 |
|
| 36 | +Own IPv4 If-Address: 172.AA.AA.65 |
|
| 37 | +Own IPv6 If-Address: fdBB:BBBB:CCCC::1 |
|
| 38 | + |
|
| 36 | 39 | |
| 37 | 40 | Peer OpenVPN Remote Address: X.X.X.X |
| 38 | 41 | Peer OpenVPN Remote Host: X.X.X.Y |
| ... | ... | @@ -66,7 +69,7 @@ Set up Interface vtunX -- i used vtun0 |
| 66 | 69 | set interfaces openvpn vtun0 mode site-to-site |
| 67 | 70 | set interfaces openvpn vtun0 local-port 1194 |
| 68 | 71 | set interfaces openvpn vtun0 remote-port 1194 |
| 69 | - set interfaces openvpn vtun0 local-address 172.AA.AA.64 |
|
| 72 | + set interfaces openvpn vtun0 local-address 172.AA.AA.65 |
|
| 70 | 73 | set interfaces openvpn vtun0 remote-address X.X.X.X |
| 71 | 74 | set interfaces openvpn vtun0 remote-host X.X.X.Y |
| 72 | 75 | set interfaces openvpn vtun0 shared-secret-key-file /config/auth/giveITaName |
| ... | ... | @@ -101,7 +104,7 @@ With this step you create the basic bgp session |
| 101 | 104 | configure |
| 102 | 105 | set protocols bgp 111111 neighbor Z.Z.Z.Z remote-as 222222 |
| 103 | 106 | set protocols bgp 111111 neighbor Z.Z.Z.Z soft-reconfiguration inbound |
| 104 | - set protocols bgp 111111 neighbor update-source 172.AA.AA.64 |
|
| 107 | + set protocols bgp 111111 neighbor update-source 172.AA.AA.65 |
|
| 105 | 108 | commit |
| 106 | 109 | save |
| 107 | 110 |