summaryrefslogtreecommitdiffhomepage
path: root/config/network
blob: fa8ef383ccd2d68de225a25f8a0a40f9ac88facb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright (C) 2006 OpenWrt.org

config interface loopback
	option ifname	lo
	option proto	static
	option ipaddr	127.0.0.1
	option netmask	255.0.0.0

config device
	option name		br-lan
	option type 	bridge
	option ifname	"eth0.1 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 type		bridge
	option proto	static
	option ipaddr	192.168.1.1
	option netmask	255.255.255.0
	option gateway	192.168.1.2