Name
ip broadcast-address — interface
Synopsis
ip broadcast-addressaddressno ip broadcast-addressaddress
Configures
A broadcast address for an interface
Default
Depends on the settings in the config-register
Description
This command specifies the interface’s broadcast address. All hosts on the network to which the interface is connected must use the same broadcast address. Broadcast addresses are usually formed by setting the “host address” portion of the IP address to 1, which is the default for the router and virtually all modern computer systems. Some very old systems may form the broadcast address by setting the host portion to 0, and may be incapable of using the “1” form. In this case, you must explicitly set the broadcast address of the router interface (and all other hosts on the network) to use the older form.
Example
The following code changes the broadcast IP address for
serial
0 to 10.10.10.255:
interface serial 0
ip broadcast-address 10.10.10.255Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access