Projecte

General

Perfil

Bgp » Historial » Revisió 8

Revisió 7 (Pau Escrich, 26-06-2012 18:59) → Revisió 8/9 (Pau Escrich, 25-07-2012 14:19)

h1. Bgp 


 <pre> 
 config 'qmp' 'interfaces' 
         option 'lan_devices' 'eth0' 
         option 'wan_devices' 'eth1' 
         option 'mesh_devices' 'wlan0 ' 
         option 'backbone_devices' 'wlan1 wlan2' 'wlan1' 
        
 config 'qmp' 'backbone' 
         option 'as' '2234' 
         option 'id' '10.228.201.5' 
      
 config 'backbone' 
         option 'type' 'bgp' 
         option 'as' '3216' '2234' 
         option 'device' 'wlan1' list network 10.0.0.0/8 
         option 'ipaddr' '172.22.44.1' 
         option 'ipdest' '172.30.44.2' 
         option 'netmask' '255.255.255.252' 
         list network 10.0.0.0/8 
        
 10.1.1.0/24 

 config backbone 
         option 'type' 'bgp' 
         option 'as' '1248' '3216' 
         option 'device' 'wlan2' 
         option 'ipaddr' '172.22.55.1' 
         option 'ipdest' '172.22.55.2' '172.30.44.3' 
         option 'netmask' '255.255.255.252' 
         list      network 10.1.1.0/24 

 config backbone bgp 
         option 'type' 'static' 'as' '1248' 
         option 'device' 'wlan3' ipdest 172.22.55.1 
         option 'ipaddr' '192.168.10.1' 
         option 'netmask' '255.255.255.0' 
         option 'ipdest' '192.168.10.2' 
         option 'route' '10.0.1.0/24' 

 '255.255.255.252' 


 </pre>