All pastes #982250 Raw Edit

Someone

public text v1 · immutable
·published 2008-04-12 12:08 UTC
rendered paste body
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#allow-hotplug eth0
iface eth1 inet dhcp
auto eth1

iface eth2 inet dhcp 
iface eth3 inet dhcp 
iface eth4 inet dhcp 
	pre-up ifconfig eth4 hw ether <CUSTOM HW ADDR>

auto eth0
iface eth0 inet static 
	name eth0-lan
	address 192.168.100.1
	broadcast 192.168.100.255
	netmask 255.255.255.0
	network 192.168.100.0



---------- DHCLIENT ----
interface "eth3" {
}
interface "eth4" {
        send dhcp-client-identifier <CUSTOM HW ADDRESS>;
        request subnet-mask, broadcast-address, time-offset,
		netbios-name-servers, netbios-scope, interface-mtu;
	require subnet-mask;
	#supersede routers 0.0.0.0;
	supersede domain-name-servers 192.168.100.1;	
        supersede domain-name "mydom.home";
        script "/etc/dhcp3/custom-dhcp";
}