From c1692fdcf48ad32217354d5206af31115e562306 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 5 Apr 2011 03:24:17 +0200 Subject: add low level configuration for devices --- config/network | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'config/network') diff --git a/config/network b/config/network index 35276ab..00c5b51 100644 --- a/config/network +++ b/config/network @@ -6,9 +6,23 @@ config interface loopback option ipaddr 127.0.0.1 option netmask 255.0.0.0 -config interface lan - option ifname 'eth0.1 eth0.2' +config device + option name br-lan option type bridge + option ifname "eth0.1 eth0.2" + option mtu 1500 + +config interface lan + option ifname 'br-lan' option proto static option ipaddr 192.168.1.1 option netmask 255.255.255.0 + + +config interface lan2 + option ifname eth0.3 + option type bridge + option proto static + option ipaddr 192.168.1.1 + option netmask 255.255.255.0 + -- cgit v1.2.3