# MX-NFS =# Requirements =============== 1. ubuntu 10.04 32 bit 1. ubuntu 10.04 64 bit =# Install dhcp server ====================== sudo apt-get install dhcp3-server =# Setup dhcp server interface =# [line number]:[<< - remove] =# [line number]:[>> - add] =# In most cases the interface where we want run =# dhcp server is eth0 or eth1. We should not forget =# that this interface should have static ip address =# setted by for example Network connection application. ============================= sudo gedit /etc/default/dhcp3-server #S----------------------------------------------------------------------------S# << 11 :: INTERFACES="" >> 11 :: INTERFACES="eth0" #E----------------------------------------------------------------------------E# sudo cp /etc/dhcp3/dhcpd.conf{,.back} sudo gedit /etc/dhcp3/dhcpd.conf #S----------------------------------------------------------------------------S# << 20 :: default-lease-time 600; << 21 :: max-lease-time 7200; >> 20 :: default-lease-time 600; >> 21 :: max-lease-time 7200; option subnet-mask 255.255.255.0; option broadcast-address 192.168.0.255; option routers 192.168.0.254; option domain-name-servers 192.168.0.1; option domain-name "voipac.com"; subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.254.100 192.168.254.200; } host vmx25 { hardware ethernet 00:01:02:03:04:05; fixed-address 192.168.0.51; # filename "vmx25/zImage-k35"; # option root-path "/tftpboot/rootfs-bb-mx25"; } host vmx51 { hardware ethernet 00:01:02:03:04:06; fixed-address 192.168.0.52; # filename "vmx51/zImage-k35"; # option root-path "/tftpboot/rootfs-bb-mx51"; } #E----------------------------------------------------------------------------E# =# Restart dhcp server ====================== sudo /etc/init.d/dhcp3-server restart