Changing the ttl threshold, Enabling forwarding of directed broadcasts – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 79

Advertising
background image

Brocade Virtual ADX Switch and Router Guide

65

53-1003246-01

Configuring IP parameters

4

Forwarding of source-routed packets

Ones-based and zero-based broadcasts

All these parameters are global and thus affect all IP interfaces configured on the Virtual ADX
running router code.

To configure these parameters, use the procedures in the following sections.

Changing the TTL threshold

The TTL threshold prevents routing loops by specifying the maximum number of router hops an IP
packet originated by the Virtual ADX can travel through. Each device capable of forwarding IP that
receives the packet decrements (decreases) the packet’s TTL by one. If a device receives a packet
with a TTL of 1 and reduces the TTL to zero, the device drops the packet.

The default TTL is 64. You can change the TTL to a value from 1– 255.

To modify the TTL threshold to 25, enter the following commands.

Virtual ADX(config)# ip ttl 25

Syntax: ip ttl 1-255

Enabling forwarding of directed broadcasts

A directed broadcast is an IP broadcast to all devices within a single directly-attached network or
subnet. A net-directed broadcast goes to all devices on a given network. A subnet-directed
broadcast goes to all devices within a given subnet.

NOTE

A less common type, the all-subnets broadcast, goes to all directly-attached subnets. Forwarding for
this broadcast type also is supported, but most networks use IP multicasting instead of all-subnet
broadcasting.

Forwarding for all types of IP directed broadcasts is disabled by default. You can enable forwarding
for all types if needed. You cannot enable forwarding for specific broadcast types.

To enable forwarding of IP directed broadcasts, use the following method.

Virtual ADX(config)# ip directed-broadcast

Syntax: [no] ip directed-broadcast

The software makes the forwarding decision based on the router's knowledge of the destination
network prefix. Routers cannot determine that a message is unicast or directed broadcast apart
from the destination network prefix. The decision to forward or not forward the message is by
definition only possible in the last hop router.

To disable the directed broadcasts, enter the following command in the CONFIG mode.

Virtual ADX(config)# no ip directed-broadcast

To enable directed broadcasts on an individual interface instead of globally for all interfaces, enter
commands such as the following.

Virtual ADX(config)# interface ethernet 1

Virtual ADX(config-if-1/1)# ip directed-broadcast

Syntax: [no] ip directed-broadcast

Advertising