BMX6
From NinuxBO
Appunti sparsi su BMX6:
per vedere le tabelle di routing di BMX6:
bmx6 -cd8 (-c=connect, si connette al demone di bmx6 - -d8 debug livello 8)
root@NinuxBoNode-01dff6:~# bmx6 -cd8 status: version compat name primaryIp tun6Address tun4Address uptime cpu nodes BMX6-0.1-alpha 16 NinuxBoNode-01dff6 fd66:66:66:b:6a72:51ff:fe00:dff6 2001:db8::dff6/128 10.51.223.246/32 0:00:01:01 0.3 2 interfaces: devName state type rateMin rateMax llocalIp globalIp primary eth0-13 DOWN INACTIVE INVALID INVALID /-1 /-1 0 wlan0_adhoc-13 UP ethernet 1000M 1000M fe80::6a72:51ff:fe00:dff6/64 fd66:66:66:b:6a72:51ff:fe00:dff6/64 1 wlan0_ap-13 UP ethernet 1000M 1000M fe80::6a72:51ff:fe00:dff6/64 fd66:66:66:e:6a72:51ff:fe00:dff6/64 0 links: name llocalIp viaDev rxRate txRate bestTxLink routes wantsOgms NinuxBoNode-2b19e1 fe80::12fe:edff:fe2b:19e2 wlan0_adhoc-13 72 95 1 1 1 originators: name blocked primaryIp routes viaIp viaDev metric lastDesc lastRef NinuxBoNode-01dff6 0 fd66:66:66:b:6a72:51ff:fe00:dff6 0 :: --- 128G 59 0 NinuxBoNode-2b19e1 0 fd66:66:66:9:12fe:edff:fe2b:19e2 1 fe80::12fe:edff:fe2b:19e2 wlan0_adhoc-13 813M 54 0 tunnels: name net min max hyst rating minBw tunName tunRoute remoteName advNet advBw pathMtc tunMtc dummynodes 192.0.2.0/24 24 128 20 100 960 --- --- --- --- --- --- --- inet6 ::/0 0 0 20 100 960 --- --- --- --- --- --- --- clouds 10.0.0.0/8 8 128 20 100 960 bmxOut_NinuxBo 10.51.25.225/32 NinuxBoNode-2b19e1 10.51.25.225/32 128G 813M 986M clouds 10.0.0.0/8 8 128 20 100 960 bmxOut_NinuxBo 10.51.0.0/16 NinuxBoNode-2b19e1 10.51.0.0/16 960 813M 986M inet4 0.0.0.0/0 0 0 20 100 960 bmxOut_NinuxBo 0.0.0.0/0 NinuxBoNode-2b19e1 0.0.0.0/0 31457K 813M 986M publicv6 2000::/3 3 64 20 100 960 bmxOut_NinuxBo 2001:db8::/64 NinuxBoNode-2b19e1 2001:db8::/64 960 813M 986M --- --- 0 0 0 0 --- --- --- NinuxBoNode-2b19e1 2001:db8::19e1/128 128G 813M ---
per annunciare la rotta con il default gateway:
bmx6 -c tunIn=def4Offer /n=0.0.0.0/0 /b=32000000
(annuncia la rotta 0.0.0.0 cioè tutte le reti per cui non esiste instradamento specifico con una banda d 32megabit, va lanciato sul nodo che ha il default gw), non è sufficiente i pacchetti vanno verso il nodo ma non tornano.....