60 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			1.2 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 - loopback interface
 | |
| #-----------------------------
 | |
| 
 | |
| auto lo
 | |
| iface lo inet loopback
 | |
| 
 | |
| 
 | |
| 
 | |
| #-----------------------------
 | |
| # eth0 - (W)LAN
 | |
| #-----------------------------
 | |
| 
 | |
| auto eth0
 | |
| iface eth0 inet static
 | |
|    address 192.168.103.254
 | |
|    network 192.168.103.0
 | |
|    netmask 255.255.255.0
 | |
| 
 | |
| 
 | |
| 
 | |
| #-----------------------------
 | |
| # eth1 - LAN
 | |
| #-----------------------------
 | |
| 
 | |
| auto eth1
 | |
| iface eth1 inet static
 | |
|    address 192.168.102.254
 | |
|    network 192.168.102.0
 | |
|    netmask 255.255.255.0
 | |
|    broadcast 192.168.102.255
 | |
| 
 | |
| auto eth1:ns
 | |
| iface eth1:ns inet static
 | |
|    address 192.168.102.1
 | |
|    network 192.168.102.0
 | |
|    netmask 255.255.255.0
 | |
|    broadcast 192.168.102.255
 | |
| 
 | |
| 
 | |
| #-----------------------------
 | |
| # eth2 - WAN
 | |
| #-----------------------------
 | |
| 
 | |
| allow-hotplug eth2
 | |
| iface eth2 inet static
 | |
|    address 172.16.102.1
 | |
|    netmask 255.255.255.0
 | |
|    network 172.16.102.0
 | |
|    broadcast 172.16.102.255
 | |
|    gateway 172.16.102.254
 | |
|    # dns-* options are implemented by the resolvconf package, if installed
 | |
|    dns-nameservers 127.0.0.1
 | |
|    dns-search flr.netz
 |