source: debwrt/trunk/debian/rootfs/files/etc/network/interfaces.lan-wlan-bridge @ 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.6 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 dhcp
25#iface eth0_wan inet static
26#    address 192.168.1.1
27#    netmask 255.255.255.0
28
29# eth0_lan: vlan #1 on eth0 - ports: 1,2,3,4
30#
31# part of lanbridge - no ip config needed
32
33# wlan0: wireless lan interface ( Broadcom WLAN - b43 ) - kernel 2.6
34#
35# part of lanbridge - no ip config needed
36
37# wl0: wireless lan interface ( Broadcom WLAN - wl ) - kernel 2.4
38#
39# part of lanbridge - no ip config needed
40
41# lanbridge: eth0_lan ports and wlan0/wl0 bridge
42#
43auto lanbridge
44iface lanbridge inet static
45    bridge-ports eth0_lan wlan0
46    bridge-stp off
47    bridge-maxwait 0
48    address 192.168.1.1
49    netmask 255.255.255.0
50
51#    pre-up /etc/init.d/nas start
52#    pre-down /etc/init.d/nas stop
53#    pre-up /etc/init.d/hostapd-mini start
54#    pre-down /etc/init.d/hostapd-mini stop
55
Note: See TracBrowser for help on using the repository browser.