#17711: DHCP issue with VLAN
-----------------------+-----------------------------------
 Reporter:  anonymous  |      Owner:  developers
     Type:  defect     |     Status:  new
 Priority:  normal     |  Milestone:  Barrier Breaker 14.07
Component:  packages   |    Version:  Trunk
 Keywords:             |
-----------------------+-----------------------------------
 I've some issues assigning DCHP ipv4 address to my VLAN WAN port ( work
 perfectly on AA )

 Here is the end of my network file :

 config interface 'lan'
         option ifname 'eth0.1'
 ...

 config switch
         option name 'eth0'
         option reset '1'
         option enable_vlan '1'

 config switch_vlan
         option device 'eth0'
         option vlan '1'
         option ports '1 2 3 4 5t'

 config switch_vlan
         option device 'eth0'
         option vlan '2'
         option ports '0 5'

 config interface 'wan'
         option _orig_ifname 'wan'
         option _orig_bridge 'false'
         option ifname 'eth0.2'
         option proto 'dhcp'


 My WAN port is the 0 and is well connected but it can't get a DHCP
 address,

 udhcpc is correctly running : udhcpc -p /var/run/udhcpc-eth0.2.pid -s
 /lib/netifd/dhcp.script -f -t 0 -i eth0.2 -C

 If I run it in command line, I can easily assign an address to eth0 but
 not to eth0.2

 Thanks

--
Ticket URL: <https://dev.openwrt.org/ticket/17711>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to