Bgp » Historial » Versió 2
Joel Espunya, 14-06-2012 21:31
1 | 1 | Pau Escrich | h1. Bgp |
---|---|---|---|
2 | |||
3 | 2 | Joel Espunya | Es crea el bridge br-bgp amb les devices definides a bgp_devices |
4 | |||
5 | <pre> |
||
6 | 1 | Pau Escrich | config 'qmp' 'interfaces' |
7 | option 'lan_devices' 'eth0 wlan1 ' |
||
8 | option 'wan_devices' 'eth1 ' |
||
9 | option 'mesh_devices' 'wlan0 ' |
||
10 | 2 | Joel Espunya | option 'bgp_devices' 'wlan1 eth0' |
11 | |||
12 | 1 | Pau Escrich | config 'qmp' 'bgp' |
13 | option 'as' '2234' |
||
14 | 2 | Joel Espunya | list network 10.0.0.0/8 |
15 | list network 10.1.1.0/24 |
||
16 | 1 | Pau Escrich | |
17 | config 'bgp' |
||
18 | option 'ipdest' '172.30.44.3' |
||
19 | 2 | Joel Espunya | option 'netmask' '255.255.255.252' |
20 | 1 | Pau Escrich | |
21 | config bgp |
||
22 | option ipdest 172.22.55.1 |
||
23 | 2 | Joel Espunya | option 'netmask' '255.255.255.252' |
24 | |||
25 | |||
26 | </pre> |