#18680: Unable to get WAN address
-----------------------+------------------------
Reporter: clauded1 | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: packages | Version: Trunk
Resolution: | Keywords:
-----------------------+------------------------
Comment (by clauded1):
I've just tested r43954 and still have the problem. Here's my network
config:
{{{
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd0c:00ab:2cae::/48'
config interface 'lan'
option ifname 'eth1'
option force_link '1'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.0.1'
config interface 'wan'
option proto 'dhcp'
option ifname 'eth0'
config interface 'wan6'
option ifname 'eth0'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 2 3 4 5'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '1 6'
}}}
And the logs:
{{{
Mon Jan 12 22:18:59 2015 daemon.notice netifd: Network device 'eth0' link
is up
Mon Jan 12 22:18:59 2015 daemon.notice netifd: Interface 'wan' has link
connectivity
Mon Jan 12 22:18:59 2015 daemon.notice netifd: Interface 'wan' is setting
up now
Mon Jan 12 22:18:59 2015 daemon.notice netifd: Interface 'wan6' has link
connectivity
Mon Jan 12 22:18:59 2015 daemon.notice netifd: Interface 'wan6' is setting
up now
Mon Jan 12 22:18:59 2015 kern.info kernel: [ 22.990000] IPv6:
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Mon Jan 12 22:18:59 2015 daemon.notice netifd: wan (1160): udhcpc
(v1.22.1) started
Mon Jan 12 22:19:00 2015 daemon.notice netifd: wan (1160): Sending
discover...
}}}
From there I never receive and IPv4 address until a physical
disconnect/reconnect is done.
--
Ticket URL: <https://dev.openwrt.org/ticket/18680#comment:2>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets