Changes between Version 6 and Version 7 of adherelinux/KVM/qemu-pxe


Ignore:
Timestamp:
Aug 26, 2011, 2:12:29 PM (13 years ago)
Author:
adherelinux
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • adherelinux/KVM/qemu-pxe

    v6 v7  
    5555}}}
    5656
     57設定dhcp server,讓dhcp只指定到tap0
     58{{{
     59cd /etc/default
     60sudo emacs dhcp3-server
     61修改內容如下  INTERFACES="tap0"
     62}}}
     63
     64設定 dhcpd.conf
     65{{{
     66cd  /etc/dhcp3
     67sudo emacs dhcpd.conf
     68修改內容如下
     69subnet 10.0.0.0 netmask 255.255.255.0 {
     70  range 10.0.0.10 10.0.0.200;
     71  option routers 10.0.0.1;
     72  next-server 10.0.0.1;
     73  filename "pxelinux.0";
     74}
     75}}}