Validar configuració

Desde el propi node podem comprovar que tot estigui ben configurar utilitzant la comande 'ip a', es semblant a fer un ifconfig però el llistat del 'ip a' es més compacte i va millor per validar. Així el llistat ha de ser semblant (Utilitzant el calcul de ip que pertany al node)

# cat /etc/mesh/ip
10.139.68.3
# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
    inet 10.139.68.3/32 brd 10.139.68.3 scope global lo:bmx
2: wifi0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 195
    link/ieee802.11 00:02:6f:4a:32:97 brd ff:ff:ff:ff:ff:ff
3: wifi1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 195
    link/ieee802.11 00:02:6f:4a:32:bd brd ff:ff:ff:ff:ff:ff
4: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
    link/ether 00:0d:b9:17:1e:34 brd ff:ff:ff:ff:ff:ff
    inet 172.16.0.3/14 brd 172.19.255.255 scope global eth0
    inet 172.20.0.3/14 brd 172.23.255.255 scope global eth0:bmx
    inet 172.28.3.1/28 brd 172.28.3.15 scope global eth0:dh
    inet 172.24.0.3/14 brd 172.27.255.255 scope global eth0:bat
5: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
    link/ether 00:0d:b9:17:1e:35 brd ff:ff:ff:ff:ff:ff
    inet 172.17.0.3/14 brd 172.19.255.255 scope global eth1
    inet 172.21.0.3/14 brd 172.23.255.255 scope global eth1:bmx
    inet 172.25.0.3/14 brd 172.27.255.255 scope global eth1:bat
6: ath0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN 
    link/ether 00:02:6f:4a:32:97 brd ff:ff:ff:ff:ff:ff
    inet 172.18.0.3/14 brd 172.19.255.255 scope global ath0
    inet 172.22.0.3/14 brd 172.23.255.255 scope global ath0:bmx
    inet 172.26.0.3/14 brd 172.27.255.255 scope global ath0:bat
7: ath1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN 
    link/ether 00:02:6f:4a:32:bd brd ff:ff:ff:ff:ff:ff
    inet 172.19.0.3/14 brd 172.19.255.255 scope global ath1
    inet 172.29.3.1/28 brd 172.29.3.15 scope global ath1:dhc
    inet 172.23.0.3/14 brd 172.23.255.255 scope global ath1:bmx
    inet 172.27.0.3/14 brd 172.27.255.255 scope global ath1:bat
17: bat0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1471 qdisc pfifo_fast state UNKNOWN qlen 500
    link/[65534] 
    inet 10.139.68.3/32 scope global bat0
desenvolupament/kamikaze/verificacio.txt · Darrera modificació: 2009/02/06 19:44 per sim6
Creative Commons License Valid CSS Driven by DokuWiki Valid XHTML 1.0