mirror of
				https://github.com/flynx/proxmox-utils.git
				synced 2025-11-04 06:00:10 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
		
			494 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			494 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
auto lo
 | 
						|
iface lo inet loopback
 | 
						|
iface lo inet6 loopback
 | 
						|
 | 
						|
auto admin
 | 
						|
iface admin inet static
 | 
						|
	address ${ADMIN_IP}
 | 
						|
	hostname $(hostname)
 | 
						|
 | 
						|
auto lan
 | 
						|
iface lan inet static
 | 
						|
	address ${LAN_IP}
 | 
						|
	hostname $(hostname)
 | 
						|
 | 
						|
auto wan
 | 
						|
iface wan inet static
 | 
						|
	address ${WAN_IP}
 | 
						|
	gateway ${WAN_GATE} 
 | 
						|
	hostname $(hostname)
 | 
						|
 | 
						|
auto br0
 | 
						|
iface br0 inet static
 | 
						|
	pre-up echo 1 > /proc/sys/net/ipv4/ip_forward
 | 
						|
	pre-up brctl addbr br0
 | 
						|
 | 
						|
	bridge-ports lan wan
 | 
						|
	bridge-sip off
 | 
						|
	hostname $(hostname)
 | 
						|
 | 
						|
	post-down brctl delbr br0
 |