Hello,
We are looking for a solution to check the VLAN propagation on all our
OpenWRT AP. Our AP are configured like this :
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.1.XXX'
option netmask '255.255.254.0'
option gateway '192.168.2.1'
option dns '192.168.176.6'
config 'interface' 'network1'
option ifname 'eth0.VLANID1'
option proto 'none'
option type 'bridge'
config 'interface' 'network2'
option ifname 'eth0.VLANID2'
option proto 'none'
option type 'bridge'
config 'interface' 'netwok2'
option ifname 'eth0.VLANID3
option proto 'none'
option type 'bridge'
All our AP are in a supervision VLAN (untagged on swith). All VLAN
should be tagged on switch.
We are monitoring all our AP with Zabbix.
Our problem, is: How can we check if the AP can join the gateway ? Ping
need an addressee on the interface (for reply). And arping ...
root@test-ap01:~# arping -s 192.168.1.7 192.168.2.1 -I eth0
ARPING to 192.168.2.1 from 192.168.1.7 via br-lan
Unicast reply from 192.168.2.1 [XX:XX:XX:XX:XX:XX] 0.246ms
Unicast reply from 192.168.2.1 [XX:XX:XX:XX:XX:XX] 0.225ms
Unicast reply from 192.168.2.1 [XX:XX:XX:XX:XX:XX] 0.220ms
Unicast reply from 192.168.2.1 [XX:XX:XX:XX:XX:XX] 0.215ms
^CSent 4 probe(s) (1 broadcast(s))
Received 4 reply (0 request(s), 0 broadcast(s))
root@test-ap01:~# arping -s 192.168.1.7 192.168.2.1 -I eth0.VLANID1
ARPING to 192.168.2.1 from 192.168.1.7 via eth0.VLANID1
^CSent 3 probe(s) (3 broadcast(s))
Received 0 reply (0 request(s), 0 broadcast(s))
Any idea ?
--
Vivien FRENOT
Ecole Normale Supérieure de Cachan
Direction des Systèmes d'Information
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users