configuation arch linux network by dhcp:
add following lines to /etc/rc.conf
eth0=”dhcp”
INTERFACES=(eth0)
ROUTES=(!gateway)
then try /etc/rc.d/network restart
configuation arch linux network by dhcp:
add following lines to /etc/rc.conf
eth0=”dhcp”
INTERFACES=(eth0)
ROUTES=(!gateway)
then try /etc/rc.d/network restart
Kelly Brown is discussing. Toggle Comments
building a PXE boot server in the ubuntu.
1. install dhcp3 server in the ubuntu.
apt-get install dhcp3-server
2. edit /etc/default/dhcp3-server
INTERFACES=”eth0″
3. edit /etc/dhcp3/dhcpd.conf
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.254;
option domain-name-servers 192.168.1.1, 192.168.1.2;
option domain-name "mydomain.example";
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;
}
4. edit /etc/network/interfaces
auto eth0:1
iface eth0:1 inet static
name DHCPserver
address 192.168.1.1
netmask 255.255.255.0
5. restart networking and dhcp3
service networking restart
service dhcp3-server restart
Proudly powered by WordPress. Theme: P2 by Automattic.
Kelly Brown 8:31 pm on June 12, 2009 Permalink
Hi, interest post. I’ll write you later about few questions!