X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=config%2Fnetwork;h=6e9d7a609a127ab7ad6fce669e2fa3070a5d4bd8;hp=00c5b511a4d3eecf2b9a9e25eb1885d8f9b9c967;hb=c601d036d6e9efce0c31eecd0fc66a716f41f2a3;hpb=c1692fdcf48ad32217354d5206af31115e562306 diff --git a/config/network b/config/network index 00c5b51..6e9d7a6 100644 --- a/config/network +++ b/config/network @@ -9,20 +9,33 @@ config interface loopback config device option name br-lan option type bridge - option ifname "eth0.1 eth0.2" + list ifname eth0.1 + list ifname eth0.2 option mtu 1500 +config device + option name dummy + config interface lan option ifname 'br-lan' option proto static option ipaddr 192.168.1.1 option netmask 255.255.255.0 +config interface dummy + option ifname eth0.4 + option proto none config interface lan2 - option ifname eth0.3 + option ifname "eth0.3 eth0.5" option type bridge option proto static option ipaddr 192.168.1.1 option netmask 255.255.255.0 + option gateway 192.168.1.2 +config interface wan + option proto pppoe + option ifname br-lan2 + option username foo + option password bar