Projecte

General

Perfil

Bgp » Historial » Versió 8

Pau Escrich, 25-07-2012 14:19

1 1 Pau Escrich
h1. Bgp
2
3 2 Joel Espunya
4
<pre>
5 1 Pau Escrich
config 'qmp' 'interfaces'
6 6 Pau Escrich
        option 'lan_devices' 'eth0'
7
        option 'wan_devices' 'eth1'
8 1 Pau Escrich
        option 'mesh_devices' 'wlan0 '
9 8 Pau Escrich
        option 'backbone_devices' 'wlan1 wlan2'
10 1 Pau Escrich
        
11
config 'qmp' 'backbone'
12
        option 'as' '2234'
13 8 Pau Escrich
        option 'id' '10.228.201.5'
14
      
15
config 'backbone'
16
        option 'type' 'bgp'
17 1 Pau Escrich
        option 'as' '3216'
18 8 Pau Escrich
        option 'device' 'wlan1'
19
        option 'ipaddr' '172.22.44.1'
20
        option 'ipdest' '172.30.44.2'
21 1 Pau Escrich
        option 'netmask' '255.255.255.252'
22 8 Pau Escrich
        list network 10.0.0.0/8
23
        
24
config backbone
25
        option 'type' 'bgp'
26 1 Pau Escrich
        option 'as' '1248'
27 8 Pau Escrich
        option 'device' 'wlan2'
28
        option 'ipaddr' '172.22.55.1'
29
        option 'ipdest' '172.22.55.2'
30 1 Pau Escrich
        option 'netmask' '255.255.255.252'
31 8 Pau Escrich
        list    network 10.1.1.0/24
32 1 Pau Escrich
33 8 Pau Escrich
config backbone
34
        option 'type' 'static'
35
        option 'device' 'wlan3'
36
        option 'ipaddr' '192.168.10.1'
37
        option 'netmask' '255.255.255.0'
38
        option 'ipdest' '192.168.10.2'
39
        option 'route' '10.0.1.0/24'
40 2 Joel Espunya
41
</pre>