cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
221
Views
0
Helpful
5
Replies

destination address is the broadcast address within matched route

Garegin88
Level 1
Level 1

Please see attached pic. In this question, the destination address 10.0.1.15 matches the route in the routing table. But it's the broadcast address within that range. Would the packet still be routed with that route?

what would the next hop be? 192.168.0.7 or 192.168.0.4?

5 Replies 5

Can you more elaborate 

MHM

Hello,

which broadcast address are you trying to route ? 10.0.1.255/24 ? 10.0.1.15/28 ? Either way, the broadcast address for a given subnet will be forwarded using unicast routing based on the destination IP address, rather than forwarding it as a broadcast. In your case, 10.0.1.255 and 10.0.1.15 will both routed out the same interface (GigabitEthernet0/0)...

sorry, yes. It was 10.0.1.15. And you're saying that it will be routed as unicast

Ohh

Now get your Q' 

The broadcast is stop at any l3 device boundary' it not forward unless you use 

Ip direct broadcast' and this not so common excpet case of using dhcp relay.

MHM

There are some complexities in the question of the OP. On its face it is pretty simple. In searching the routing table it would match the /28 and be forwarded to 192.168.0.7. The complexity is in what happens when the packet reaches that device. The destination is the broadcast address of that subnet. As MHM points out the packet would not be forwarded into the subnet unless the ip direct broadcast is configured. For most subnets, where directed broadcast is not configured, the packet would be dropped.

HTH

Rick