All pastes #840471 Raw Edit

Miscellany

public text v1 · immutable
#840471 ·published 2007-12-31 22:26 UTC
rendered paste body
####################/etc/dhcp3/dhcpd.conf#######################

authoritative;
default-lease-time 600;
max-lease-time 7200;
log-facility local7;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
option domain-name-servers 66.75.164.90, 66.75.164.89;
option netbios-name-servers 192.168.1.1;

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.100;
range 192.168.1.150 192.168.1.200;
}

############################################################






####################/etc/network/interfaces#######################

# The loopback network interface
auto lo
iface lo inet loopback

# The external network interface
auto eth0
iface eth0 inet dhcp

#The internal network interface
auto eth1
iface eth1 inet static
address 192.168.1.1
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1

############################################################






####################/etc/default/dhcp3-server######################

# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
#       Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="eth1"

#############################################################