Replying to myself

On Sun, Apr 05, 2015 at 10:04:59PM +0200, Lars Bjørndal wrote:
> Hello list
> 
> On an Barrier breaker installation, I get the log filled up with
> messages like this:
> 
> Sun Apr  5 19:34:16 2015 daemon.warn odhcpd[846]: A default route is
> present but there is no public prefix on br-wlan thus we don't announce
> a default route!
> 
> I've configured separate networks for lan and wlan, so these networks
> are not bridged, as the default configuration does. Hope someone here
> can help me fix the problem. Some details:
> 
> From /etc/config/wireless:
> 
> config wifi-device  radio0
> 
>   ...
> 
> config wifi-iface
>         option device   radio0
>         option network  wlan
>         option mode     ap
>         option ssid     example
>         option encryption none
> 
> config wifi-device  radio1
>   ...
> 
> config wifi-iface
>         option device   radio1
>         option network  wlan
>         option mode     ap
>         option ssid     example
>         option encryption none
> 
> From /etc/config/network
> 
> config interface 'loopback'
>   ...
> 
> config globals 'globals'
>         option ula_prefix 'fda4:f0f0:5137::/48'
> 
> config interface 'lan'
>         option ifname 'eth0.1 tap0'
>         option force_link '1'
>         option type 'bridge'
>         option proto 'static'
>         option ipaddr '10.0.1.1'
>         option netmask '255.255.255.0'
>         option ip6assign '60'
> 
> config interface 'wan'
>    ...
> 
> config interface 'wan6'
>    ...
> 
> config interface wlan
>         option ifname 'wlan'
>         option type 'bridge'
>         option proto 'static'
>         option ipaddr '192.168.2.1'
>         option netmask '255.255.255.0'
>         option ip6assign '60'
> 
> 'brctl show' outputs
> bridge name     bridge id               STP enabled     interfaces
> br-lan          7fff.e8de27ffaf78       no              eth0.1
>                                                         tap0
> br-wlan         7fff.e8de27ffaf79       no              wlan0
>                                                         wlan1
> 
> /etc/config/dhcp
> 
> config dnsmasq
>       option domainneeded '1'
>       option boguspriv '1'
>       option filterwin2k '0'
>       option localise_queries '1'
>       option rebind_protection '1'
>       option rebind_localhost '1'
>       option local '/lan/'
>       #option domain 'lan'
>       option domain 'example.com'
>       option expandhosts '1'
>       option nonegcache '0'
>       option authoritative '1'
>       option readethers '1'
>       option leasefile '/tmp/dhcp.leases'
>       option resolvfile '/tmp/resolv.conf.auto'
> 
> config dhcp 'lan'
>       option interface 'lan'
>       option start '100'
>       option limit '150'
>       option leasetime '12h'
>       option dhcpv6 'server'
>       option ra 'server'
> 
> config dhcp 'wlan'
>       option interface 'wlan'
>       option start '100'
>       option limit '150'
>       option leasetime '12h'
>       option dhcpv6 'server'
>       option ra 'server'
> 
> 
> config dhcp 'wan'
>       option interface 'wan'
>       option ignore '1'
> 
> config odhcpd 'odhcpd'
>       option maindhcp '0'
>       option leasefile '/tmp/hosts/odhcpd'
>       option leasetrigger '/usr/sbin/odhcpd-update'


I can 'ping6 www.get.no' from a machine connected to teh lan
interface, but not from a machine connected to wlan. Hope someone has
a clue.

Lars
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to