Znyx Networks bh5700 Manuale Utente

Pagina di 359
Enter new password:
Re-enter new password:
Password changed.
ZX7100-OA<release no.># zsync
ZX7100-OA<release no.>#
Setting up a Default Route
If you wish to access the switch from some place other than a directly attached network, you may 
want to setup a default route. Use the route command to set a default gateway.
route add default gw 10.0.0.254
Put the entry into the /etc/init.d/rcS startup script to automatically set a default route upon 
reboot. 
Name Service Resolution
Name service lookups will be done locally using /etc/hosts. You can also tell the switch 
which name server to use by including an entry in /etc/resolv.conf. 
DHCP Client Configuration
A utility is included to dynamically determine the  IP address of the OpenArchitect switch 
interfaces. To set the the IP address dynamically, execute the command,
dhclient zhp0
The default device name, zhp0, works with the default configuration of the OpenArchitect 
switch and will attempt to obtain an IP address from the local DHCP server. To use DHCP to 
set your IP addresses automatically on boot up, uncomment the the following line in 
/etc/init.d/rcS by removing the # sign
/usr/sbin/dhclient zhp0
DHCP Server Configuration
The OpenArchitect switch includes a DHCP server. To start the DHCP server, configure 
/etc/dhcpd.conf for your network, and run
Ethernet Switch Blade User's Guide
release  3.2.2j
page 74