SnapGear 1.7.8 Manuel D’Utilisation

Page de 105
Configuring a new local DHCP or BOOTP server 
If your network has no DHCP or BOOTP server, you can temporarily configure a local 
Linux system as a bootp server using the following steps:  
1. Edit the /etc/inetd.conf file. 
2.  Search for the bootpd line.  Most distributions ship with this feature disabled (i.e.  
the line is commented out with "#" at the front).  Remove the "#" from the start of 
this line. 
3.  Save and exit the file. 
4. Edit the /etc/bootptab file.  At the bottom of the file, add the following new 
line: 
SnapGear appliance:ht=ethernet:ha=00d0cf000101:ip=192.168.0.1 
You need to modify the IP address (tag "ip") to match the addressing for your 
local network and use an address in your local subnet. 
You also need to modify the MAC address (tag “ha”) to match your SnapGear 
appliance hardware.  The MAC address is printed on a label on the underside of 
the SnapGear appliance.  You can optionally include gateway ("gw") and DNS 
("ds" and "dn") tags if required.  See the manual page for bootptab for further 
information. 
5.  Save and exit the file. 
Restart TCP/IP on your system.  If you are unsure how to restart TCP/IP, simply reboot 
the Linux system.  Once the system is running, it will serve the IP address to the 
SnapGear appliance when it is connected to your network. 
Getting started 
After completing the initial network setup, you can use the web pages for the common 
configuration tasks.  
23