0 Replies Latest reply on Jun 30, 2016 7:46 PM by mohamedshaharris_intel

    How to set all LAN ports to get dynamic IP in MI3.1

    mohamedshaharris_intel

      You can configure this in network configurationn file "/etc/config/network". In this file you can see the dynamic setup for eth0 is:

       

       

      config interface 'wan'

             option ifname 'eth0'

             option proto 'dhcp'

       

       

      You create this one for other eth1 also.

       

       

      But before that, at the part of "config interface 'lan", you need to remove eth1 from bridged. Check at this line:

      "option ifname 'eth1 wlan0'

       

       

      Then you need to add dhcp config for these eth1.

       

       

      config interface 'wan1'

             option ifname 'eth1'

             option proto 'dhcp'

       

       

      Then you can save the file and restart the network service by command "systemctl restart netifd".