I have a topology like below, wherein 2 subnets with address 192.168.0.0/24 and 192.168.1.0/24 are connected to a single router, Router0.
Now i want to send a directed broadcast from PC0 on subnet 192.168.0.0/24 to subnet 192.168.1.0/24. When i try doing it, it does not work as expected.
When i ping 192.168.1.255 from PC0, below is reply i get. The packet is not going past Router0's interface gigabitethernet0/0 at all!
C:>ping 192.168.1.255
Pinging 192.168.1.255 with 32 bytes of data:
Reply from 192.168.0.1: bytes=32 time=1ms TTL=255
Reply from 192.168.0.1: bytes=32 time<1ms TTL=255
Reply from 192.168.0.1: bytes=32 time<1ms TTL=255
Reply from 192.168.0.1: bytes=32 time=1ms TTL=255Ping statistics for 192.168.1.255: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 1ms, Average = 0ms
I understand that by default directed broadcast is disable on most of the routers. I could confirm the same by executing the below command-
Router#show ip interface gigabitethernet0/0 | include broadcast
Directed broadcast forwarding is disabled
So it needs to be enabled.
I followed few links and understood that i need to execute the command
ip directed-broadcast
So i tried as below-
Router#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface gigabitethernet0/0
Router(config-if)#ip directed-broadcast^ % Invalid input detected at '^' marker.
Router(config-if)#
Looks like the router is not recognizing the command itself.
If I execute the command ip ? to see the supported arguments for ip command, it lists as below-
Router(config-if)#ip ?
access-group Specify access control for packets
address Set the IP address of an interface
authentication authentication subcommands
flow NetFlow Related commands
hello-interval Configures IP-EIGRP hello interval
helper-address Specify a destination address for UDP broadcasts
mtu Set IP Maximum Transmission Unit
nat NAT interface commands
ospf OSPF interface commands
proxy-arp Enable proxy ARP
split-horizon Perform split horizon
summary-address Perform address summarization
And looks like there is no directed-broadcast argument support!
Could someone please help me, how should I go ahead in enabling directed broadcast feature in the router?