22-20
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-03
Chapter22 Configuring IP Unicast Routing
Configuring IP Addressing
Establishing an IP Broadcast Address
The most popular IP broadcast address (and the default) is an a ddress c onsis ting of a ll on es
(255.255.255.255). However, the switch can be configured to generate any form o f IP broadcast address.
Beginning in privileged EXEC mode, follow these steps to set the IP broadcast address on an interface:
To restore the default IP broadcast address, use the no ip broadcast-address interface configuration
command.
Flooding IP Broadcasts
You can allow IP broadcasts to be flooded throughout your internetwork in a controlled fashion by using
the database created by the bridging STP. Using this feature also prevents loops. To support this
capability, bridging must be configured on each interface that is to participate in the flooding. I f bridging
is not configured on an interface, it still can receive broadcasts. However, the interface never forwards
broadcasts it receives, and the router never uses that interface to send broadc asts rece ived on a
differentinterface.
Packets that are forwarded to a single network address using the IP helper-address mechanism can be
flooded. Only one copy of the packet is sent on each network segment.
To be considered for flooding, packets must m eet th ese cr iteria . (No te th at thes e ar e the same c ondition s
used to consider packet forwarding using IP helper addresses.)
The packet must be a MAC-level broadcast.
The packet must be an IP-level broadcast.
The packet must be a TFTP, DNS, Time, NetBIOS, ND, or BOOTP packet, or a UDP specified by
the ip forward-protocol udp global configuration command.
The time-to-live (TTL) value of the packet must be at least two.
A flooded UDP datagram is given the destination address specified with the ip broadcast-address
interface configuration command on the output interface. The destination addre ss can be set to an y
address. Thus, the destination address might change as the da tagra m propa ga tes t hro ugh t he n etw or k.
The source address is never changed. The TTL value is decremented.
When a flooded UDP datagram is sent out an interface (and the destination address possibly changed),
the datagram is handed to the normal IP output routines and is, therefore, subject to access lists, if they
are present on the output interface.
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 interface interface-id Enter interface configuration mode, and specify the interface to
configure.
Step3 ip broadcast-address ip-address Enter a broadcast address different from the defa ult, for exampl e
128.1.255.255.
Step4 end Return to privileged EXEC mode.
Step5 show ip interface [interface-id] Verify the broadcast address on the interface or all interfaces.
Step6 copy running-config startup-config (Optional) Save your entries in the configuration file.