Nortel Networks WEB OS 212777 User Manual

Page 39

Advertising
background image

Web OS 10.0 Application Guide

Chapter 1: Basic IP Routing

n

39

212777-A, February 2002

2.

Define the VLANs.

For simplicity, both default gateways are configured in the same VLAN in this example. The
gateways could be in the same VLAN or different VLANs

.

3.

Define the IP interfaces.

The switch will need an IP interface for each default gateway to which it will be connected.
Each interface will need to be placed in the appropriate VLAN. These interfaces will be used
as the primary and secondary default gateways for the switch.

4.

Enable IP forwarding.

IP forwarding is used for VLAN-to-VLAN (non-BGP) routing. You need to enable IP forward-
ing if the default gateways are on different subnets or if the switch is connected to different
subnets and those subnets need to communicate through the switch (which they almost always
do).

N

OTE

To help eliminate the possibility for a Denial of Service (DoS) attack, the forwarding

of directed broadcasts is disabled by default.

>> # /cfg/vlan 1

(Select VLAN 1)

>> vlan 1# add <

port number

>

(Add a port to the VLAN membership)

>> vlan 1# ena

(Enable VLAN 1)

>> /cfg/ip/rearp 10

(Set re-ARP period for interface to 10)

>> IP# metrc strict

(Set metric for default gateway)

>> IP# if 1

(Select default gateway interface 1)

>> IP Interface 1# ena

(Enable switch interface 1)

>> IP Interface 1# addr 200.200.200.1

(Configure IP address of interface 1)

>> IP Interface 1# mask 255.255.255.0

(Configure IP subnet address mask)

>> IP Interface 1# broad 200.200.200.255

(Configure IP broadcast address)

>> IP Interface 1# vlan 1

(Configure VLAN # for this interface)

>> IP Interface 1# ../ip/if 2

(Select default gateway interface 2)

>> IP Interface 2# ena

(Enable switch interface 2)

>> IP Interface 2# addr 210.210.210.1

(Configure IP address of interface 2)

>> IP Interface 2# mask 255.255.255.0

(Configure IP subnet address mask)

>> IP Interface 2# broad 210.210.210.255

(Configure IP broadcast address)

>> IP Interface 2# vlan 1

(Configure VLAN # for this interface)

>> /cfg/ip/ frwd on

(Enable IP forwarding)

Advertising