255.255.255.255 VS Subnet Broadcast Address & IP Direct Broadcast

All CommunityThis categoryThis boardKnowledge baseUsers cancel Turn on suggestions Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. Showing results for  Search instead for  Did you mean:  All Community Networking This board Results: cancel Start a conversation
  • Cisco Community
  • Technology and Support
  • Networking
  • Switching
  • 255.255.255.255 VS Subnet Broadcast Address & IP Direct Broadcast
Options 12350 Views 25 Helpful 7 Replies

255.255.255.255 VS Subnet Broadcast Address & IP Direct Broadcast

Go to solution Iluvnetwork Iluvnetwork Level 1 Level 1 Options

‎11-13-2017 04:57 AM - edited ‎03-08-2019 12:43 PM

I am lost :( I don't get when to use 255.255.255.255 as a broadcast ip address and when to use subnet broadcast ip address. I don't get why RIPv1 uses 255.255.255.255 instead of subnet broadcast ip... If you can explain to me the differences between them, Please help me!

In addition, if you know about the ip direct broadcast, please let me know. I did google it, but couldn't understand :(

Solved! Go to Solution.

I have this problem too Labels:
  • Other Switching
0 Helpful Reply
  • All forum topics
  • Previous Topic
  • Next Topic
2 Accepted Solutions Accepted Solutions Go to solution Flavio Miranda VIP Flavio Miranda VIP Options

‎11-13-2017 05:31 AM

Hi @Iluvnetwork

For network configuration purpose we need to worry about Directed broadcast address to avoid put then as a host IP address.

Let´s say for the classic network 192.168.0.0/24 we have:

192.168.0.1 up to 192.168.1.254 as valid hosts and 192.168.1.255 is the directed broadcast and should not be part of host range.

The broadcast address 255.255.255.255 is called Limited Broadcast commonly used by application like DHCP for example.

The main different between then is that you can route Directed Broadcast if you tell your router to do so.

Limited Broadcast can be used on the local segment only by some applications.

-If I helped you somehow, please, rate it as useful.-

View solution in original post

10 Helpful Reply Go to solution paul driver VIP paul driver VIP Options

‎11-13-2017 05:34 AM - edited ‎11-13-2017 05:35 AM

Hello

My understanding is:Lets say I am aware of a network 192.168.1.0 /24 = which Provides a Broadcast address of 192.168.1.255 - And I ping that address, I can use it as a direct broadcast towards that particular subnet and if ip directed broadcast was enabled for the interface connected to that subnet then broadcast traffic would be flooded within that network

You can also ping 192.168.1.255 if your inside the network ( without directed broadcast) and again you send traffic to all hosts in that subnet.

255.255.255.255 equates the all in this network ( the network your residing in) and would be used by the likes of dhcp hosts requesting address allocation.

resPaul

Please rate and mark as an accepted solution if you have found any of the information provided useful. This then could assist others on these forums to find a valuable answer and broadens the community’s global network.Kind RegardsPaul

View solution in original post

5 Helpful Reply 7 Replies 7 Go to solution Flavio Miranda VIP Flavio Miranda VIP Options

‎11-13-2017 05:31 AM

Hi @Iluvnetwork

For network configuration purpose we need to worry about Directed broadcast address to avoid put then as a host IP address.

Let´s say for the classic network 192.168.0.0/24 we have:

192.168.0.1 up to 192.168.1.254 as valid hosts and 192.168.1.255 is the directed broadcast and should not be part of host range.

The broadcast address 255.255.255.255 is called Limited Broadcast commonly used by application like DHCP for example.

The main different between then is that you can route Directed Broadcast if you tell your router to do so.

Limited Broadcast can be used on the local segment only by some applications.

-If I helped you somehow, please, rate it as useful.-

10 Helpful Reply Go to solution paul driver VIP paul driver VIP In response to Flavio Miranda Options

‎11-13-2017 05:36 AM

Apologies Flavio

Didnt noticed you posted.

res

paul

Please rate and mark as an accepted solution if you have found any of the information provided useful. This then could assist others on these forums to find a valuable answer and broadens the community’s global network.Kind RegardsPaul 0 Helpful Reply Go to solution Iluvnetwork Iluvnetwork Level 1 Level 1 In response to Flavio Miranda Options

‎11-13-2017 05:38 AM

One more question! What is the difference between no ip direct broadcast and ip direct broadcast? If I command no ip direct broadcast on the router's serial interface, every incoming packets with the destination of direct broadcast ip gets dropped? 0 Helpful Reply Go to solution Flavio Miranda VIP Flavio Miranda VIP In response to Iluvnetwork Options

‎11-13-2017 05:48 AM

'no ip directed broadcast' , which is currently the default policy for Cisco IOS ,means that the device will not permit Directed Broadcast pass through it.

Let´s say you want to know who is up on a specific segment. Then, you ping let´s say 192.168.0.255 address. If "ip directed broadcast" is configured, the router will send this packet on the segment and all devices under this will respond to the ping. You can see that this is a security problem.

With 'no ip directed broadcast' the router will not forward this ping and will prevent you from discovering who is up

.

-If I helped you somehow, please, rate it as useful.-

5 Helpful Reply Go to solution paul driver VIP paul driver VIP Options

‎11-13-2017 05:34 AM - edited ‎11-13-2017 05:35 AM

Hello

My understanding is:Lets say I am aware of a network 192.168.1.0 /24 = which Provides a Broadcast address of 192.168.1.255 - And I ping that address, I can use it as a direct broadcast towards that particular subnet and if ip directed broadcast was enabled for the interface connected to that subnet then broadcast traffic would be flooded within that network

You can also ping 192.168.1.255 if your inside the network ( without directed broadcast) and again you send traffic to all hosts in that subnet.

255.255.255.255 equates the all in this network ( the network your residing in) and would be used by the likes of dhcp hosts requesting address allocation.

resPaul

Please rate and mark as an accepted solution if you have found any of the information provided useful. This then could assist others on these forums to find a valuable answer and broadens the community’s global network.Kind RegardsPaul 5 Helpful Reply Go to solution Iluvnetwork Iluvnetwork Level 1 Level 1 In response to paul driver Options

‎11-13-2017 05:40 AM

What might happen if ip directed broadcast is disabled and I ping 192.168.1.255 outside of that subnet? 0 Helpful Reply Go to solution paul driver VIP paul driver VIP In response to Iluvnetwork Options

‎11-13-2017 05:45 AM - edited ‎11-13-2017 05:48 AM

Hello

@Iluvnetwork wrote:What might happen if ip directed broadcast is disabled and I ping 192.168.1.255 outside of that subnet?

it would get dropped and safe guard you against DDOS like a smurf attack in which the attacker spoofs the ip address of the victims pc and trys flood it with hosts responses from the broadcast request it initiated resPaul

Please rate and mark as an accepted solution if you have found any of the information provided useful. This then could assist others on these forums to find a valuable answer and broadens the community’s global network.Kind RegardsPaul 5 Helpful Reply Post Reply Learn, share, save

Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.

New here? Get started with these tips. How to use Community New member guide

Log in to Community

Quick Links Knowledge Articles Nexus Devices Developer Forum Customers Also Viewed These Support Documents

Tag » What Is 255.255.255.255