Pinging to broadcast address

Unanswered Question
Apr 8th, 2010

Hi,


Although there is no host present with broadcast address (192.168.1.255) ping responce is received how can we stop this?


Tried using ip directed broadcast but some how it's still responding to broadcast address.


Please share the experience to stop broadcast replies.


Thanks


Subodh

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Giuseppe Larosa Thu, 04/08/2010 - 05:00

Hello Subodh,


if you want that ping to directed broadcast 192.168.1.255 is not sent out on a router interface you need to use


int type x/y

no ip directed-broadcast


you can check this setting using

sh ip interface typex/y


example:

sh ip int vlan160 | inc irected
  Directed broadcast forwarding is disable


sh run int vlan 160 | inc ip address
ip address 10.54.120.4 255.255.255.0


ping 10.54.120.255                


Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.54.120.255, timeout is 2 seconds:


Reply to request 0 from 10.54.120.5, 4 ms
Reply to request 1 from 10.54.120.5, 1 ms
Reply to request 2 from 10.54.120.5, 1 ms
Reply to request 3 from 10.54.120.5, 1 ms
Reply to request 4 from 10.54.120.5, 1 ms


the answer comes from the companion switch (a pair of C6500 at distribution layer in a campus network)



however, this setting does not stop packets originated at router itself  as shown above


Hope to help

Giuseppe


Rate useful posts to help Haiti

Actions

This Discussion