#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 jeroen.louwes@…):

 Here is my test config. It is very basic:

 {{{
 root@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 'lan'
         option ifname 'eth0.1'
         option type 'bridge'
         option proto 'static'
         option ipaddr '192.168.1.1'
         option netmask '255.255.255.0'

 config interface 'wan'
         option ifname 'eth1'
         option proto 'static'
         option ipaddr '192.168.33.14'
         option netmask '255.255.255.240'
         option gateway '192.168.33.1'
         option dns '8.8.8.8'
         option metric '10'

 config interface 'wan2'
         option ifname 'eth0.2'
         option proto 'static'
         option ipaddr '192.168.49.50'
         option netmask '255.255.255.0'
         option gateway '192.168.49.1'
         option dns '8.8.4.4'
         option metric '20'

 config switch
         option name 'switch0'
         option reset '1'
         option enable_vlan '1'
         option blinkrate '2'

 config switch_vlan
         option device 'switch0'
         option vlan '1'
         option ports '0 1 3 5t'

 config switch_vlan
         option device 'switch0'
         option vlan '2'
         option ports '2 5t'
 }}}

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