#17953: netifd - hotplug ifdown events and behaving differently in VM (NIC and 
vNIC
link loss)
------------------------+------------------------
  Reporter:  anonymous  |      Owner:  developers
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:
 Component:  packages   |    Version:  Trunk
Resolution:             |   Keywords:  netifd
------------------------+------------------------

Comment (by dedeckeh@…):

 Replying to [comment:14 anonymous]:
 > Before:
 > {{{
 > root@OpenWrt:~# ifstatus wan
 > {
 >         "up": true,
 >         "pending": false,
 >         "available": true,
 >         "autostart": true,
 >         "uptime": 1820,
 >         "l3_device": "eth1",
 >         "proto": "dhcp",
 >         "device": "eth1",
 >         "metric": 10,
 >         "delegation": true,
 >         "ipv4-address": [
 >                 {
 >                         "address": "10.0.3.2",
 >                         "mask": 24
 >                 }
 >         ],
 > ...
 > }}}
 >
 > After
 > {{{
 > root@OpenWrt:~# ifstatus wan
 > {
 >         "up": false,
 >         "pending": false,
 >         "available": true,
 >         "autostart": true,
 >         "proto": "dhcp",
 >         "device": "eth1",
 >         "data": {
 >
 >         }
 > }
 > root@OpenWrt:~#
 > }}}
 Ok this behavior on the x86 VM is as expected but the behavior on the
 WDR4300 differs. As stated in your previous post this could be related to
 eth0.2 and eth0.3 wan devices on the same switch (assuming the protocol
 differs from static). Executing the same ubus command and ifstatus cmds
 should give an indication if the switch propagates the link lost event to
 netifd

--
Ticket URL: <https://dev.openwrt.org/ticket/17953#comment:15>
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