Projecte

General

Perfil

Bgp

config 'qmp' 'interfaces'
        option 'lan_devices' 'eth0'
        option 'wan_devices' 'eth1'
        option 'mesh_devices' 'wlan0 '
        option 'backbone_devices' 'wlan1 wlan2 wlan3'

config 'qmp' 'backbone'
        option 'as' '2234'
        option 'id' '10.228.201.5'

config 'backbone'
        option 'type' 'bgp'
        option 'as' '3216'
        option 'device' 'wlan1'
        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

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

config backbone
        option 'type' 'static'
        option 'device' 'wlan3'
        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'