80 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			80 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # This file describes the network interfaces available on your system
 | |
| # and how to activate them. For more information, see interfaces(5).
 | |
| 
 | |
| source /etc/network/interfaces.d/*
 | |
| 
 | |
| 
 | |
| #-----------------------------
 | |
| # lo - The loopback network interface
 | |
| #-----------------------------
 | |
| 
 | |
| auto lo
 | |
| iface lo inet loopback
 | |
| 
 | |
| 
 | |
| 
 | |
| #-----------------------------
 | |
| # eth0 - WLAN
 | |
| #-----------------------------
 | |
| 
 | |
| auto eth0
 | |
| iface eth0 inet static
 | |
|    address 192.168.73.254
 | |
|    network 192.168.73.0
 | |
|    netmask 255.255.255.0
 | |
|    broadcast 192.168.73.255
 | |
| 
 | |
| 
 | |
| 
 | |
| #-----------------------------
 | |
| # eth1 - LAN + WLAN
 | |
| #-----------------------------
 | |
| 
 | |
| auto eth1
 | |
| iface eth1 inet static
 | |
|    address 192.168.72.254
 | |
|    network 192.168.72.0
 | |
|    netmask 255.255.255.0
 | |
|    broadcast 192.168.72.255
 | |
| 
 | |
| auto eth1:0
 | |
| iface eth1:0 inet static
 | |
|    address 192.168.72.1
 | |
|    network 192.168.72.0
 | |
|    netmask 255.255.255.0
 | |
|    broadcast 192.168.72.255
 | |
| 
 | |
| 
 | |
| 
 | |
| #-----------------------------
 | |
| # eth2 - WAN
 | |
| #-----------------------------
 | |
| 
 | |
| auto eth2
 | |
| iface eth2 inet static
 | |
|    address 172.16.72.1
 | |
|    network 172.16.72.0
 | |
|    netmask 255.255.255.0
 | |
|    gateway 172.16.72.254
 | |
|    post-up vconfig add eth2 7
 | |
|    post-up vconfig add eth2 8
 | |
|    post-down vconfig rem eth2.7
 | |
|    post-down vconfig rem eth2.8
 | |
| 
 | |
| #auto eth2.8
 | |
| #iface eth2.8 inet dhcp
 | |
| #   ## - Start igmpprox
 | |
| #   post-up /usr/local/igmpproxy/sbin/igmpproxy  /usr/local/igmpproxy/etc/igmpproxy.conf &
 | |
| #   #post-up /usr/local/igmpproxy/sbin/igmpproxy -d -v /usr/local/igmpproxy/etc/igmpproxy.conf > /var/log/igmpproxy.log 2>&1 &
 | |
| 
 | |
| 
 | |
| #-----------------------------
 | |
| # dsl-provider
 | |
| #-----------------------------
 | |
| 
 | |
| auto dsl-reachout
 | |
| iface dsl-reachout inet ppp
 | |
|    pre-up /sbin/ifconfig eth2 up
 | |
|    pre-up /sbin/ifconfig eth2.7 up
 | |
|    provider dsl-reachout
 |