howto/Edgeos-Config-Example-number-2.md
... ...
@@ -1,7 +1,8 @@
1
-# EdgeRouterPro-8 DN42 config example with v1.9.0
1
+# EdgeRouterPro-8 config example with v1.9.0
2 2
3 3
After a lot of searching and trying I [Phil/ALS7] finnaly got a working config
4 4
5
+
5 6
##Features
6 7
7 8
* IPv4/IPv6 Tunnel via OpenVPN
... ...
@@ -19,10 +20,11 @@ Own ASN: AS111111
19 20
Own IPv4: 172.AA.AA.64/27
20 21
Own IPv6: fdBB:BBBB:CCCC::/48
21 22
22
-Peer ASN: AS222222
23 23
Peer Remote Address: X.X.X.X
24 24
Peer Remote Host: X.X.X.Y
25 25
Peer Port: 1194
26
+Peer ASN: AS222222
27
+Peer BGP Neighbour IPv4: Z.Z.Z.Z
26 28
27 29
2) get a peer --> ask nice @irc
28 30
... ...
@@ -65,9 +67,28 @@ show openvpn status site-to-site
65 67
66 68
### Create IPv4 BGP Session
67 69
70
+#### Configure the BGP Neighbor
71
+
72
+* You must not use AS before the as numbers !!
73
+
74
+
68 75
configure
76
+set protocols bgp 111111 neighbor Z.Z.Z.Z remote-as 222222
77
+set protocols bgp 111111 neighbor Z.Z.Z.Z soft-reconfiguration inbound
78
+set protocols bgp 111111 neighbor update-source 172.AA.AA.64
79
+commit
80
+save
81
+
82
+When commit this configuration you should be able to see a BGP neighbor session start and come up. You can check this with:
83
+
84
+show ip bgp summary
85
+
86
+### Set route to blackhole
69 87
88
+*so bgp can announce the route
70 89
90
+set protocols static route 172.AA.AA.64/27 blackhole
91
+commit
71 92
72 93
73 94