mirror of
				https://gitea.blesmrt.net/mikaela/shell-things.git
				synced 2025-11-04 11:27:38 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			42 lines
		
	
	
		
			1006 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			1006 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# interfaces(5) file used by ifup(8) and ifdown(8)
 | 
						|
 | 
						|
auto lo
 | 
						|
iface lo inet loopback
 | 
						|
 | 
						|
auto eth0
 | 
						|
allow-hotplug eth0
 | 
						|
iface eth0 inet static
 | 
						|
address 172.16.1.
 | 
						|
netmask 255.255.0.0
 | 
						|
gateway 172.16.0.1
 | 
						|
## dns-nameservers is provided by resolvconf so you can specify nameservers
 | 
						|
## there. Remember to install dnsmasq to get over the limit of being able
 | 
						|
## to use only three DNS servers at time!
 | 
						|
dns-nameservers ::1 8.8.8.8 8.8.4.4
 | 
						|
dns-search DOMAIN.TLD
 | 
						|
 | 
						|
iface eth0 inet6 auto
 | 
						|
 | 
						|
## if radvd is announcing prefixes, IPs from them must be in this file
 | 
						|
## see also https://www.sixxs.net/tools/grh/ula/
 | 
						|
 | 
						|
## radvd globally routable address
 | 
						|
#iface eth0 inet6 static
 | 
						|
#address RANGE::1
 | 
						|
#netmask 64
 | 
						|
 | 
						|
## radvd ULA
 | 
						|
#iface eth0 inet6 static
 | 
						|
#address RANGE::1
 | 
						|
#netmask64
 | 
						|
 | 
						|
## Manually adding IPv6 addresses:  ip -6 addr add IPv6_ADDREsS/64 dev eth0
 | 
						|
 | 
						|
## REMEMBER TO CHANGE
 | 
						|
## managed=false
 | 
						|
## to
 | 
						|
## managed=true
 | 
						|
## in /etc/NetworkManager/NetworkManager.conf under "[ifupdown]" !
 | 
						|
## And restart it!
 | 
						|
## service network-manager restart
 |