[Babel-users] Using 2 radios at either different frequencies or using directional antennas

Don Weeks don.l.weeks.jr at gmail.com
Mon May 17 14:30:10 UTC 2010


Sorry for the previous 2 mails. I swear I am hitting reply all but must be
missing it.
       Don
On Sun, May 16, 2010 at 12:12 PM, Juliusz Chroboczek <
Juliusz.Chroboczek at pps.jussieu.fr> wrote:
- Show quoted text -
It seems more that the one system is sending only and the other side is
receiving. IE, the one system with dual 5.8G is sending and I see them
received on the 2.4/5.8 side but no packets are sent from the 2.4/5.8 side
from the 5.8 radio. This is with .098 babel. Also, I am thinking of ripping
out the config/babeld and going with standard babeld.config because I find
the syntax confusing from straight babel.

Current config:
OpenWrt1: 5.8G/5.8G
root at OpenWrt:/# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 no wireless extensions.

bat0 no wireless extensions.

wlan0 IEEE 802.11a ESSID:"mesh"
Mode:Ad-Hoc Frequency:5.18 GHz Cell: F6:F3:67:6B:D1:12
Tx-Power=17 dBm
RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off

wlan1 IEEE 802.11a ESSID:"mesh"
Mode:Ad-Hoc Frequency:5.805 GHz Cell: E6:A3:56:DF:37:81
Tx-Power=30 dBm
RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off


root at OpenWrt:/# cat /etc/config/babeld
package babeld

config general
# option 'multicast_address' 'ff02::cca6:c0f9:e182:5373'
# option 'port' '8475'
option 'state_file' '/var/lib/babel-state'
# option 'hello_interval' '4'
# option 'wired_hello_interval' '20'
# Enable detection of idle networks. This functonality is
# experimental, don't use it unless you know what you are doing.
## option 'idle_hello_interval' '0'
# option 'kernel_priority' '0'
# Do not use this option unless you know what you are doing, as it can
# cause persistent route flapping.
## option 'duplication_priority' '0'
# option 'carrier_sense' 'false'
# option 'assume_wireless' 'false'
# option 'no_split_horizon' 'false'
# option 'parasitic' 'false'
# option 'debug' '0'
# Listen for connections from a front-end, e.g. on port 33123.
## option 'local_server' '33123'
# Use the given kernel routing table for routes inserted by babeld.
## option 'export_table' '0'
# Export routes from the given kernel routing table.
## option 'import_table' '0'
# The configuration file is not necessary since you can do everything
# from this file.
# option 'conf_file' '/etc/babeld.conf'
option 'log_file' '/var/log/babeld.log'

# You can use aliases (like lan, wlan) or real names (like eth0.0).
# If you use an alias, it must be already defined when babeld starts.
# Otherwise, the name is taken literally and the interface can be
# brought up later (useful for tunnels for instance).
config interface wlan
# Remove this line to enable babeld on this interface
option 'ignore' 'false'
# option 'wired' 'auto'
option 'link_quality' 'auto'
# option 'split_horizon' 'auto'
# The default is 96 for wired interfaces, and 256 for wireless ones
option 'rxcost' '256'
# The default is specified with the -h and -H command-line flags.
## option 'hello_interval' '4'
# This can be set to a fairly large value, unless significant
# packet loss is expected. The default is four times the hello
# interval.
## option 'update_interval' '16'

config interface lan
option 'ignore' 'true'

# A filter consists in a type ('in', 'out' or 'redistribute'), an action
# ('allow', 'deny' or 'metric xxx') and a set of selectors ('ip', 'eq',
# etc.). See /etc/babeld.conf for more details.
# Here is a sample filter wich redistributes the default route if its
# protocol number is "boot", e.g. when it installed by dhcp. It is
# disabled by default.
config filter
option 'ignore' 'false'
# Type
option 'type' 'redistribute'
# Selectors: ip, eq, le, ge, neigh, id, proto, local, if
option 'local'
option 'ip' '192.168.4.0/24'

OpenWrt2: 2.4G/5.8G

root at OpenWrt:/# cat /etc/config/babeld
package babeld

config general
# option 'multicast_address' 'ff02::cca6:c0f9:e182:5373'
# option 'port' '8475'
# option 'state_file' '/var/lib/babel-state'
# option 'hello_interval' '4'
# option 'wired_hello_interval' '20'
# Enable detection of idle networks. This functonality is
# experimental, don't use it unless you know what you are doing.
## option 'idle_hello_interval' '0'
# option 'kernel_priority' '0'
# Do not use this option unless you know what you are doing, as it can
# cause persistent route flapping.
## option 'duplication_priority' '0'
# option 'carrier_sense' 'false'
# option 'assume_wireless' 'false'
# option 'no_split_horizon' 'false'
# option 'parasitic' 'false'
# option 'debug' '0'
# Listen for connections from a front-end, e.g. on port 33123.
## option 'local_server' '33123'
# Use the given kernel routing table for routes inserted by babeld.
## option 'export_table' '0'
# Export routes from the given kernel routing table.
## option 'import_table' '0'
# The configuration file is not necessary since you can do everything
# from this file.
# option 'conf_file' '/etc/babeld.conf'
# option 'log_file' '/var/log/babeld.log'

# You can use aliases (like lan, wlan) or real names (like eth0.0).
# If you use an alias, it must be already defined when babeld starts.
# Otherwise, the name is taken literally and the interface can be
# brought up later (useful for tunnels for instance).
config interface wlan0
# Remove this line to enable babeld on this interface
# option 'ignore' 'true'
# option 'wired' 'auto'
option 'link_quality' 'auto'
# option 'split_horizon' 'auto'
# The default is 96 for wired interfaces, and 256 for wireless ones
## option 'rxcost' '256'
# The default is specified with the -h and -H command-line flags.
## option 'hello_interval' '4'
# This can be set to a fairly large value, unless significant
# packet loss is expected. The default is four times the hello
# interval.
## option 'update_interval' '16'

config interface wlan1
# option 'ignore' 'true'
option 'link_quality' 'auto'

# A filter consists in a type ('in', 'out' or 'redistribute'), an action
# ('allow', 'deny' or 'metric xxx') and a set of selectors ('ip', 'eq',
# etc.). See /etc/babeld.conf for more details.
# Here is a sample filter wich redistributes the default route if its
# protocol number is "boot", e.g. when it installed by dhcp. It is
# disabled by default.
config filter
option 'ignore' 'true'
# Type
option 'type' 'redistribute'
# Selectors: ip, eq, le, ge, neigh, id, proto, local, if
option 'ip' '0.0.0.0/0'
option 'le' '0'
option 'proto' '3'
# Action
option 'action' 'metric 128'

config filter
# option 'ignore' 'true'
# Type
option 'type' 'redistribute'
# Selectors: ip, eq, le, ge, neigh, id, proto, local, if
option 'local'
option 'ip' '192.168.3.0/24'
root at OpenWrt:/# cat /etc/config/network

config 'interface' 'loopback'
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'

config 'interface' 'wan'
option 'ifname' 'eth0'
option 'proto' 'dhcp'

config 'interface' 'lan'
option 'ifname' 'eth1'
option 'proto' 'static'
option 'ipaddr' '192.168.3.1'
option 'netmask' '255.255.255.0'
option 'dns' '8.8.8.8'

config 'interface' 'lan1'
option 'proto' 'static'
option 'ipaddr' '10.200.1.1'
option 'netmask' '255.255.255.0'
root at OpenWrt:/# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 no wireless extensions.

bat0 no wireless extensions.

wlan0 IEEE 802.11bg ESSID:"mesh"
Mode:Ad-Hoc Frequency:2.432 GHz Cell: 5E:08:B2:3A:1B:9E
Tx-Power=27 dBm
RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off

wlan1 IEEE 802.11a ESSID:"mesh"
Mode:Ad-Hoc Frequency:5.18 GHz Cell: F6:F3:67:6B:D1:12
Tx-Power=17 dBm
RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off

On Sun, May 16, 2010 at 12:12 PM, Juliusz Chroboczek <
Juliusz.Chroboczek at pps.jussieu.fr> wrote:

> > Cell IDs show to be the same and I see what appears to be babel
> > packets going between the 5.8G radios
>
> Do you only see sent Babel packets, or do you see received Babel
> packets?  (Look at the source address in your dumps.)
>
> Are you able to ping the link-local IPv6 addresses of your neighbouring
> nodes?
>
>                                        Juliusz
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/babel-users/attachments/20100517/dfb4a23a/attachment.htm>


More information about the Babel-users mailing list