39 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			39 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
								 | 
							
								# /etc/conf.d/net:
							 | 
						||
| 
								 | 
							
								# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# Global config file for net.* rc-scripts
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# This is basically the ifconfig argument without the ifconfig $iface
							 | 
						||
| 
								 | 
							
								#
							 | 
						||
| 
								 | 
							
								#iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
							 | 
						||
| 
								 | 
							
								#iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# For DHCP set iface_eth? to "dhcp"
							 | 
						||
| 
								 | 
							
								# For passing options to dhcpcd use dhcpcd_eth?
							 | 
						||
| 
								 | 
							
								#
							 | 
						||
| 
								 | 
							
								iface_eth0="dhcp"
							 | 
						||
| 
								 | 
							
								dhcpcd_eth0="-h lacienega -t 5"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								iface_eth1="dhcp"
							 | 
						||
| 
								 | 
							
								dhcpcd_eth1="-h lacienega -t 5"
							 | 
						||
| 
								 | 
							
								iwconfig_eth1="key 8B9CEAECD3"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# For adding aliases to a interface
							 | 
						||
| 
								 | 
							
								#
							 | 
						||
| 
								 | 
							
								#alias_eth0="192.168.0.3 192.168.0.4"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# NB:  The next is only used for aliases.
							 | 
						||
| 
								 | 
							
								#
							 | 
						||
| 
								 | 
							
								# To add a custom netmask/broadcast address to created aliases,
							 | 
						||
| 
								 | 
							
								# uncomment and change accordingly.  Leave commented to assign
							 | 
						||
| 
								 | 
							
								# defaults for that interface.
							 | 
						||
| 
								 | 
							
								#
							 | 
						||
| 
								 | 
							
								#broadcast_eth0="192.168.0.255 192.168.0.255"
							 | 
						||
| 
								 | 
							
								#netmask_eth0="255.255.255.0 255.255.255.0"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# For setting the default gateway
							 | 
						||
| 
								 | 
							
								#
							 | 
						||
| 
								 | 
							
								#gateway="eth0/192.168.0.1"
							 | 
						||
| 
								 | 
							
								
							 |