backport r21307 to backfire
[openwrt-10.03/.git] / target / linux / ar7 / base-files / etc / config / network
index 5fa112cc6ede32ec519012f3edcd2dae170f9d37..9ba0e6d29ccc64b1aaa586636b0664be2720c173 100644 (file)
@@ -7,12 +7,12 @@ config interface loopback
        option netmask  255.0.0.0
 
 config interface lan
-       option ifname   eth0
+       option type     bridge
+       option ifname   "eth0 eth1"
        option proto    static
        option ipaddr   192.168.1.1
        option netmask  255.255.255.0
-
-
+       option nat      1
 
 ## Example for ATM bridging.
 ## Useful for PPPoE or IP over ATM. Will create 'nas${unit}'
@@ -22,6 +22,7 @@ config interface lan
 #      option encaps   llc
 #      option vpi      8
 #      option vci      35
+#      option payload  bridged # some ISPs need this set to 'routed'
 
 
 # config interface wan