Supported Platforms
Related Documentation
Configuring IP Directed Broadcast (CLI Procedure)
![]() | Note: This task uses Junos OS for EX Series switches with support for the Enhanced Layer 2 Software (ELS) configuration style. If your switch runs software that does not support ELS, see Configuring IP Directed Broadcast (CLI Procedure). For ELS details, see Getting Started with Enhanced Layer 2 Software. |
You can use IP directed broadcast on an EX Series switch to facilitate remote network management by sending broadcast packets to hosts on a specified subnet without broadcasting to the entire network. IP directed broadcast packets are broadcast on only the target subnet. The rest of the network treats IP directed broadcast packets as unicast packets and forwards them accordingly.
Before you begin to configure IP directed broadcast:
- Ensure that the subnet on which you want broadcast packets using IP direct broadcast is not directly connected to the Internet.
- Configure an integrated routing and bridging (IRB) interface or routed VLAN interface (RVI) for the subnet that will be enabled for IP direct broadcast. See Configuring Integrated Routing and Bridging Interfaces (CLI Procedure), Configuring Routed VLAN Interfaces (CLI Procedure) , or Configuring VLANs for EX Series Switches (J-Web Procedure).
![]() | Note: We recommend that you do not enable IP directed broadcast on subnets that have a direct connection to the Internet because of increased exposure to denial-of-service (DoS) attacks. |
To enable IP directed broadcast for a specified subnet:
- Add the target subnet’s logical interfaces to the
VLAN:
[edit interfaces]
user@switch# set ge-0/0/0.0 family ethernet-switching vlan members v1user@switch# set ge-0/0/1.0 family ethernet-switching vlan members v1
- Configure the Layer 3 interface on the VLAN that is the
target of the IP directed broadcast packets:
[edit interfaces]
user@switch# set irb.1 family inet address 10.1.2.1/24 - Associate a Layer 3 interface with the VLAN:
[edit vlans]
user@switch# set v1 l3-interface (VLANs) irb.1 - Enable the Layer 3 interface for the VLAN to receive IP
directed broadcasts:
[edit interfaces]
user@switch# set irb.1 family inet targeted-broadcast