Table of ContentsView in Frames

Specifying a broadcast address

You can use a broadcast address to send a message to all the machines on a subnet. You can specify a broadcast address by using the ifconfig command.

About this task

IPv6 does not support broadcast addresses.

Step

  1. To specify a broadcast address, enter the following command:
    ifconfig interface_name broadcast address

    interface_name is the name of the network interface.

    address is the broadcast address.

    Example

    To set a broadcast address of 192.0.2.25 for the network 192.0.2.10 with subnet mask 255.255.255.0, enter the following command:

    ifconfig e3a broadcast 192.0.2.25