Dhcp and bootp, Bootp database, Dhcp and bootp bootp database – GarrettCom Magnum MNS-6K User Manual
Page 37: Igure, Checking the ip settings
M A G N U M 6 K S W I T C H E S , M N S - 6 K U S E R G U I D E
36
To verify the IP address settings, the ‘show ipconfig’ command can be used.
Magnum6K25>
show ipconfig
IP Address : 192.168.1.150
Subnet Mask : 255.255.255.0
Default Gateway : 192.168.1.10
Magnum6K25>
F
IGURE
19
-
Checking the IP settings
Besides manually assigning IP addresses, there are other means to assign an IP address
automatically. The two most common procedures are using DHCP and bootp.
DHCP and bootp
DHCP is commonly used for setting up addresses for computers,
users and other user devices on the network. bootp is the older
cousin of DHCP and is used for setting up IP addresses of
networking devices such as switches, routers, VoIP phones and more. Both of them can
work independent of each other. Both of them are widely used in the industry. It’s best to
check with your network administrator as to what protocol to use and what the related
parameters are. DHCP and bootp require respective services on the network. DHCP and
bootp can automatically assign an IP address. It is assumed that the reader knows how to
setup the necessary bootp parameters (usually specified on Linux/UNIX systems in
/etc/boopttab
).
Bootp Database
Bootp keeps a record of systems supported in a database – a simple text file. On most
systems, the bootp service is not started as a default and has to be enabled. A sample entry
by which the bootp software will look up the database and update the IP address and
subnet mask of the switch would be as follows
M6k25switch:\
ht=ether:\
ha=002006250065:\
ip=192.168.1.88:\
sm=255.255.255.0:\
gw=192.168.1.1:\
hn:\
vm=rfc1048
where
M6k25switch: is a user-defined symbolic name for the switch
1
Note – on Windows systems – the location of the file will vary depending on which software is being used.
j