[Babel-users] Fw: Diversity routing configuration help
Balaji .J
bala_realistic at yahoo.com
Wed Jun 7 13:34:10 UTC 2017
Hi Juliusz,
Thanks for your support.
I'm using the following topology to understand the diversity behaviour,
R1(AP mode) -----------> R2( Station mode)
Both R1,R2 having two radio's 2.4 and 5 Ghz.I'm getting following result for with diversity and without diversity. It seems only change i can see that route changes from wlan1(2.4 ghz) to wlan0 (5 ghz) when diversity data added in the babeld config. The channel information remains as 11 and 36 for station mode but ap mode it is 255. Whether it is expecting behavior ? Please help me in this to go further.
Without Diversity in station mode:
---------------------------------
Route Information from /var/log/babeld.log
My id 02:00:79:ff:fe:55:b0:13 seqno 14647
Neighbour fe80::200:79ff:fe55:b014 dev wlan1 reach ffff rxcost 256 txcost 258 rtt 0.000 rttcost 0 chan 11
Neighbour fe80::76da:38ff:fea6:59bf dev wlan0 reach ffff rxcost 256 txcost 256 rtt 0.000 rttcost 0 chan 36
182.168.4.249/32 from ::/0 metric 128 (exported)
192.168.4.200/32 from ::/0 metric 128 (exported)
182.168.4.1/32 from ::/0 metric 256 (256) refmetric 0 id 24:e6:16:b1:f5:40:69:e7 seqno 17841 age 4 via wlan0 neigh fe80::76da:38ff:fea6:59bf nexthop 192.168.4.1 (installed)
182.168.4.1/32 from ::/0 metric 258 (264) refmetric 0 id 24:e6:16:b1:f5:40:69:e7 seqno 17841 age 9 via wlan1 neigh fe80::200:79ff:fe55:b014 nexthop 182.168.4.1(feasible)
192.168.4.1/32 from ::/0 metric 256 (260) refmetric 0 id 24:e6:16:b1:f5:40:69:e7 seqno 17841 age 4 via wlan0 neigh fe80::76da:38ff:fea6:59bf nexthop 192.168.4.1 (installed)
192.168.4.1/32 from ::/0 metric 258 (265) refmetric 0 id 24:e6:16:b1:f5:40:69:e7 seqno 17841 age 9 via wlan1 neigh fe80::200:79ff:fe55:b014 nexthop 182.168.4.1 (feasible)
fd15:dacb:93ea:10::1/128 from ::/0 metric 256 (256) refmetric 0 id 24:e6:16:b1:f5:40:69:e7 seqno 17841 age 1 via wlan0 neigh fe80::76da:38ff:fea6:59bf (installed)
fd15:dacb:93ea:10::1/128 from ::/0 metric 258 (265) refmetric 0 id 24:e6:16:b1:f5:40:69:e7 seqno 17841 age 15 via wlan1 neigh fe80::200:79ff:fe55:b014 (feasible)
fd15:dacb:93ea:20::1/128 from ::/0 metric 256 (256) refmetric 0 id 24:e6:16:b1:f5:40:69:e7 seqno 17841 age 1 via wlan0 neigh fe80::76da:38ff:fea6:59bf (installed)
fd15:dacb:93ea:20::1/128 from ::/0 metric 258 (265) refmetric 0 id 24:e6:16:b1:f5:40:69:e7 seqno 17841 age 15 via wlan1 neigh fe80::200:79ff:fe55:b014 (feasible)
Route Table:
-----------
root at OpenWrt:/# ip route
default via 192.168.4.1 dev wlan0 proto static
182.168.4.0/24 dev wlan1 proto kernel scope link src 182.168.4.249
182.168.4.1 via 192.168.4.1 dev wlan0 proto 42 onlink
192.168.4.0/24 dev wlan0 proto kernel scope link src 192.168.4.200
192.168.4.1 via 192.168.4.1 dev wlan0 proto 42 onlink
Without Diversity in AP mode:
-----------------------------
Route Information from /var/log/babeld.log
My id 24:e6:16:b1:f5:40:69:e7 seqno 17841
Neighbour fe80::200:79ff:fe55:b013 dev wlan1 reach ffff rxcost 256 txcost 256 rtt 0.000 rttcost 0 chan 255.
Neighbour fe80::200:79ff:fe55:a014 dev wlan0 reach ffff rxcost 256 txcost 256 rtt 0.000 rttcost 0 chan 255.
182.168.4.1/32 from ::/0 metric 0 (exported)
192.168.4.1/32 from ::/0 metric 0 (exported)
fd15:dacb:93ea:20::1/128 from ::/0 metric 0 (exported)
fd15:dacb:93ea:10::1/128 from ::/0 metric 0 (exported)
182.168.4.249/32 from ::/0 metric 384 (389) refmetric 128 id 02:00:79:ff:fe:55:b0:13 seqno 14647 age 15 via wlan0 neigh fe80::200:79ff:fe55:a014 nexthop 192.168.4.200 (installed)
182.168.4.249/32 from ::/0 metric 384 (389) refmetric 128 id 02:00:79:ff:fe:55:b0:13 seqno 14647 age 8 via wlan1 neigh fe80::200:79ff:fe55:b013 nexthop 182.168.4.249 (feasible)
192.168.4.200/32 from ::/0 metric 384 (389) refmetric 128 id 02:00:79:ff:fe:55:b0:13 seqno 14647 age 15 via wlan0 neigh fe80::200:79ff:fe55:a014 nexthop 192.168.4.200 (installed)
192.168.4.200/32 from ::/0 metric 384 (389) refmetric 128 id 02:00:79:ff:fe:55:b0:13 seqno 14647 age 8 via wlan1 neigh fe80::200:79ff:fe55:b013 nexthop 182.168.4.249 (feasible)
Route Table:
------------
root at OpenWrt:/etc/config# ip route
182.168.4.0/24 dev wlan1 proto kernel scope link src 182.168.4.1
182.168.4.249 via 192.168.4.200 dev wlan0 proto 42 onlink
192.168.4.0/24 dev wlan0 proto kernel scope link src 192.168.4.1
192.168.4.200 via 192.168.4.200 dev wlan0 proto 42 onlink
With Diversity:
--------------
1 (per-interface diversity with no memory)
------------------------------------------
Route Table for AP mode:
------------------------
root at OpenWrt:/etc/config# ip route
182.168.4.0/24 dev wlan1 proto kernel scope link src 182.168.4.1
182.168.4.249 via 192.168.4.200 dev wlan0 proto 42 onlink
192.168.4.0/24 dev wlan0 proto kernel scope link src 192.168.4.1
192.168.4.200 via 192.168.4.200 dev wlan0 proto 42 onlink
Received changes in kernel tables.
Netlink message: {seq:4659}(ignore),
My id a0:e1:2b:72:5d:4c:b7:55 seqno 17844
Neighbour fe80::200:79ff:fe55:b013 dev wlan1 reach ffff rxcost 256 txcost 341 rtt 0.000 rttcost 0 chan 255.
Neighbour fe80::200:79ff:fe55:a014 dev wlan0 reach ffff rxcost 256 txcost 256 rtt 0.000 rttcost 0 chan 255.
182.168.4.1/32 from ::/0 metric 0 (exported)
192.168.4.1/32 from ::/0 metric 0 (exported)
fd15:dacb:93ea:20::1/128 from ::/0 metric 0 (exported)
fd15:dacb:93ea:10::1/128 from ::/0 metric 0 (exported)
182.168.4.249/32 from ::/0 metric 384 (389) refmetric 128 id 02:00:79:ff:fe:55:b0:13 seqno 14648 age 6 via wlan0 neigh fe80::200:79ff:fe55:a014 nexthop 192.168.4.200 (installed)
182.168.4.249/32 from ::/0 metric 469 (426) refmetric 128 id 02:00:79:ff:fe:55:b0:13 seqno 14648 age 0 via wlan1 neigh fe80::200:79ff:fe55:b013 nexthop 182.168.4.249 (feasible)
192.168.4.200/32 from ::/0 metric 384 (390) refmetric 128 id 02:00:79:ff:fe:55:b0:13 seqno 14648 age 6 via wlan0 neigh fe80::200:79ff:fe55:a014 nexthop 192.168.4.200 (installed)
192.168.4.200/32 from ::/0 metric 469 (428) refmetric 128 id 02:00:79:ff:fe:55:b0:13 seqno 14648 age 0 via wlan1 neigh fe80::200:79ff:fe55:b013 nexthop 182.168.4.249 (feasible)
station:
--------
root at OpenWrt:/etc/config# ip route
default via 192.168.4.1 dev wlan0 proto static
182.168.4.0/24 dev wlan1 proto kernel scope link src 182.168.4.249
182.168.4.1 via 192.168.4.1 dev wlan0 proto 42 onlink
192.168.4.0/24 dev wlan0 proto kernel scope link src 192.168.4.200
192.168.4.1 via 192.168.4.1 dev wlan0 proto 42 onlink
root at OpenWrt:/etc/config#
root at OpenWrt:/etc/config# iw wlan0 info
Interface wlan0
ifindex 18
wdev 0x5
addr 00:00:79:55:a0:14
type managed
wiphy 0
channel 36 (5180 MHz), width: 80 MHz, center1: 5210 MHz
root at OpenWrt:/etc/config# iwconfig
wlan0 IEEE 8[10677.094111] al_eth 0000:00:00.0 eth0: ioctl: phy id 0x0, reg 0x0, val_in 0x0
02.11 ESSID:"LE[10677.102377] al_eth 0000:00:01.0 eth1: ioctl: phy id 0x0, reg 0x0, val_in 0x0
DE5"
[10677.110845] al_eth 0000:00:03.0 eth2: ioctl: phy id 0x0, reg 0x0, val_in 0x0
Mode:Managed Frequency:5.18 GHz Access Point: 74:DA:38:A6:59:BF
Bit Rate=6 Mb/s Tx-Power=23 dBm
RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=70/70 Signal level=-40 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:3 Invalid misc:2311 Missed beacon:0
lo no wireless extensions.
eth0.1 no wireless extensions.
eth0 no wireless extensions.
eth1 no wireless extensions.
eth2 no wireless extensions.
wlan1 IEEE 802.11 ESSID:"LEDE_bayo"
Mode:Managed Frequency:2.462 GHz Access Point: 00:00:79:55:B0:14
Bit Rate=6 Mb/s Tx-Power=30 dBm
RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=70/70 Signal level=-37 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:11 Invalid misc:2094 Missed beacon:0
bond0 no wireless extensions.
My id 02:00:79:ff:fe:55:b0:13 seqno 14648
Neighbour fe80::200:79ff:fe55:b014 dev wlan1 reach ffff rxcost 256 txcost 256 rtt 0.000 rttcost 0 chan 11
Neighbour fe80::76da:38ff:fea6:59bf dev wlan0 reach ffff rxcost 256 txcost 256 rtt 0.000 rttcost 0 chan 36
182.168.4.249/32 from ::/0 metric 128 (exported)
192.168.4.200/32 from ::/0 metric 128 (exported)
182.168.4.1/32 from ::/0 metric 256 (261) refmetric 0 id a0:e1:2b:72:5d:4c:b7:55 seqno 17844 age 13 via wlan0 neigh fe80::76da:38ff:fea6:59bf nexthop 192.168.4.1 (installed)
182.168.4.1/32 from ::/0 metric 256 (261) refmetric 0 id a0:e1:2b:72:5d:4c:b7:55 seqno 17844 age 2 via wlan1 neigh fe80::200:79ff:fe55:b014 nexthop 182.168.4.1 (feasible)
192.168.4.1/32 from ::/0 metric 256 (261) refmetric 0 id a0:e1:2b:72:5d:4c:b7:55 seqno 17844 age 13 via wan0 neigh fe80::76da:38ff:fea6:59bf nexthop 192.168.4.1 (installed)
192.168.4.1/32 from ::/0 metric 256 (261) refmetric 0 id a0:e1:2b:72:5d:4c:b7:55 seqno 17844 age 2 via wlan1 neigh fe80::200:79ff:fe55:b014 nexthop 182.168.4.1 (feasible)
fd15:dacb:93ea:10::1/128 from ::/0 metric 256 (261) refmetric 0 id a0:e1:2b:72:5d:4c:b7:55 seqno 17844 age 11 via wlan0 neigh fe80::76da:38ff:fea6:59bf (installed)
fd15:dacb:93ea:10::1/128 from ::/0 metric 256 (261) refmetric 0 id a0:e1:2b:72:5d:4c:b7:55 seqno 17844 age 19 via wlan1 neigh fe80::200:79ff:fe55:b014 (feasible)
fd15:dacb:93ea:20::1/128 from ::/0 metric 256 (261) refmetric 0 id a0:e1:2b:72:5d:4c:b7:55 seqno 17844 age 11 via wlan0 neigh fe80::76da:38ff:fea6:59bf (installed)
fd15:dacb:93ea:20::1/128 from ::/0 metric 256 (261) refmetric 0 id a0:e1:2b:72:5d:4c:b7:55 seqno 17844 age 19 via wlan1 neigh fe80::200:79ff:fe55:b014 (feasible)
ThanksBalaji
On Tuesday, 30 May 2017 9:32 PM, Juliusz Chroboczek <jch at irif.fr> wrote:
> Unable to find the channel information.
Send the SIGUSR1 signal to babeld (killall -USR1 babeld), then check the
log (using logread if a recent version of LEDE/OpenWRT, in /var/log/babeld.log
if using an older version).
-- Juliusz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/babel-users/attachments/20170607/c0be5ac0/attachment-0001.html>
More information about the Babel-users
mailing list