05-23-2025, 01:22 AM
The routing process doesn't care about what service or protocol the traffic is using, if the destination IP fits the subnet, it will route it. You are right that the broadcast traffic isn't routed. However, routing is purely prefix-based. If 10.0.1.15 matches 10.0.1.0/28 (longest match which routes via 192.168.0.7). The router would attempt to route the packet, but the actual transmission may fail (e.g., the target won’t respond, or SSH won't work), yet from the RIB/FIB perspective, the next hop is still 192.168.0.7