Tagged: dhcp RSS Toggle Comment Threads | Keyboard Shortcuts

  • liduan 10:10 pm on May 16, 2009 Permalink | Reply
    Tags: , , dhcp, , network,   

    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 8:31 pm on June 12, 2009 Permalink

      Hi, interest post. I’ll write you later about few questions!

  • liduan 4:36 pm on April 20, 2009 Permalink | Reply
    Tags: , dhcp, ,   

    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

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel