source: debwrt/trunk/debian/rootfs/files/etc/network/interfaces.seperate-wlan-lan @ 68

Last change on this file since 68 was 68, checked in by amain, 9 years ago

Renumber default network settings to 192.168.1.1

File size: 1.3 KB
Line 
1# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
2# /usr/share/doc/ifupdown/examples for more information.
3
4auto lo
5iface lo inet loopback
6
7# eth0: port 5 on ethernet switch ( Broadcom 44xx/47xx 10/100BaseT Ethernet - b44 )
8#
9# Note: eth0 is the ethernet device connected to the b44 switch.
10#       The switch creates vlan tags for each seperate configured
11#       vlan. robocfg is used to configure the switch. For security
12#       reasen I would advice not to bind an ip-address to eth0 and
13#       make sure you have no services connect to eth0 and/or
14#       create proper firewall rules.
15#
16#       eth0 needs to be enabled, otherwise eth0.wan and eth0.lan
17#       VLAN interfaces will be disabled as well. See
18#       /etc/init.d/network_switch were eth0 is enabled and the
19#       switch and VLAN's interfaces are created.
20
21# eth0_wan: vlan #0 on eth0 - ports: 0
22#
23auto eth0_wan
24iface eth0_wan inet static
25    address 192.168.1.1
26    netmask 255.255.255.0
27
28# eth0_lan: vlan #1 on eth0 - ports: 1,2,3,4
29#
30auto eth0_lan
31iface eth0_lan inet static
32    address 192.168.2.1
33    netmask 255.255.255.0
34
35# wlan0: wireless lan interface (Broadcom WLAN - b43)
36#
37auto wlan0
38iface wlan0 inet static
39    address 192.168.3.1
40    netmask 255.255.255.0
41
42# wl0: wireless lan interface (Broadcom WLAN - wl)
43#
44auto wl0
45iface wl0 inet static
46    address 192.168.3.1
47    netmask 255.255.255.0
48
Note: See TracBrowser for help on using the repository browser.