Znyx Networks bh5700 Manuale Utente

Pagina di 359
(10.0.0.42-10.0.3.42), assigns the netmask and brings them up. 
ifconfig zhp0 10.0.0.42 netmask 255.255.255.0 broadcast 10.0.0.255 up
ifconfig zhp1 10.0.1.42 netmask 255.255.255.0 broadcast 10.0.1.255 up
ifconfig zhp2 10.0.2.42 netmask 255.255.255.0 broadcast 10.0.2.255 up
ifconfig zhp3 10.0.3.42 netmask 255.255.255.0 broadcast 10.0.3.255 up
Runs the OpenArchitect zl3d command. The zl3d application monitors the Linux 
routing tables and updates the switch routing tables for each interface configured above.
/usr/sbin/zl3d zhp0..3
zhp0 zhp1 zhp2 zhp3
The zl3d application initially creates and adds each zhp interface (VLAN) to the switch routing 
tables.
 To Modify the Layer 3 Multivlan Script 
Modify the example script you copied into the /etc/rcZ.d directory. Adjust and assign 
the number of IP addresses as applicable.  In the example below, the IP address is changed 
for the interface in the ifconfig command line of the script.
ifconfig zhp0 10.0.0.42 netmask 255.255.255.0 up
ifconfig zhp0 193.08.1.1 netmask 255.255.255.0 up
Adjust the number of zhp interfaces depending on the number of VLANs you are adding 
for your network.
Include any other details, as applicable.
Run the OpenArchitect zsync command to save your changes.
Reboot the switch. 
After rebooting, your switch works from your customized Layer 3 configuration with 
multiple VLANs per port.
Layer 3 Routing Protocols with GateD 
An advanced networking configuration may require using the GateD software platform for 
deployment of Routing Information Protocols (RIP 1 or RIP 2) and Open Shortest Path First 
(OSPF) protocols. Once you’ve configured your Layer2 and Layer3 devices, start gated.
Using the Provided S55gatedRip1 Script
To use GateD protocol with the switch, you need to copy two files into the same directory as your 
Layer 3 configuration file. From the /etc/rcZ.d/examples folder, copy the example script file 
and its corresponding GateD configuration file (for example, S55gatedRip1 and 
gated.conf.rip1).
The example startup script executes the following commands (S55gatedRip1 is used as an 
Ethernet Switch Blade User's Guide
release  3.2.2j
page 102