Layer 3 routing protocols with gated, Using the s55gatedrip1 script – Znyx Networks bh5700 User Manual

Page 54

Advertising
background image

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.

From:

ifconfig zhp0 10.0.0.43 netmask 255.255.255.0 broadcast

10.0.0.255 up

To:

ifconfig zhp0 193.08.1.1 netmask 255.255.255.0 broadcast
193.08.1.255 up

Adjust the number of zhp interfaces, that are added to the routing tables, 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.

zsync

Reboot the switch.

After rebooting, your switch works from your customized Layer 3 configuration.

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 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
example):

Starts GateD with Rip1 using gated.conf.rip1 as the configuration file:

/usr/sbin/gated –f /etc/rcZ.d/gated.conf.rip1

The GateD conf file specifies the following configuration commands:

Implements the passive function so GateD is prevented from rerouting information to a
different interface if insufficient information is received.

interface 10.0.0.43 passive

Ethernet Switch Blade User's Guide

release 3.2.2j

page 54

Advertising