What happens if you ping a broadcast address




















It had been unplugged for a few weeks when I recently wanted to use it again. So I plugged it in, only to realize that I had no idea what its IP address was. Other than that, it was perfectly useful! Short of resetting it to the factory defaults, I thought there must be a way to find its address on my network. After some digging, I found that the Unix command ping offers a solution. You can see this for yourself in Terminal by typing this command:.

This will repeat until you tell it to stop by pressing Control-C. Note that many websites will block ping requests, so you may not get any response at all. Hi , If your subnet is Comment Show 0. Did you have any updates on this question? Yes, I think so if you can get a full response from arp -a and get full list of devices.

If the Answer is helpful, please click " Accept Answer " and upvote it. Related Questions. NO collision occurred. Even in your language if Its just I pinged broadcast address i. You can say if the ip assigned to a system is last, that system is farthest!!! How do you quote by the way? I've been trying to figure it our for a while on here.

I do get wild in my mind. Sorry, Joshua. I really didn't mean to sound like a I see HUB and think antiquated system. So without any info, I'm thinking it's something different. Is this wrong? From what I understand Hubs work on the physical layer. It's just about the only hardware that does, if I understand correctly? I'm sorry y'all. I think it's just packet tracer. If anyone has a real hub and a few host they should try it and see what the real results are.

This is one caveat of not working with real equipment. You'll run into weird bugs that don't happen in the real world. I've included a simple PKT incase anyone wan't to give it a go. Edit: I think carrie was on to something. I unplugged the last host and tried it aggain. So maybe it is a CSMA where only a few packets are getting through. Dude thanks for trying it and confirming it, though I also tried it in the office Real Systems and Switch.

Here is what I did. First ran arp -a, that listed the arp table and I was able to see all the systems connected in the same subnet. Then I pingged the broadcast IP of my subnet and Bingo, only the last device responded To all other guys, end systems were windows one and the Interconnecting device this time was a switch.

I'd run wireshark on all the computers and see if you see the ICMP packet on all of them. This is engineer level stuff IMO. But hey I love learning so let's play detectives.

Not sure what "last line" you are referring to, but I hope I was on to something. Thanks for the smile. He means that instead of a hub he used a switch which breaks up collision domains. I didn't get that either until I re-read it a few times. Which further leads me to believe Carrie was right or at least on to something. Yeah, but he should have been able to do this with a HUB.

It shouldn't be that difficult. There are still other commands. He said Windows 1, which was still primarily DOS. You had to get into windows with the command, "win. So, based off of that, we have a split in commands. I would say show commands, show connect I can't remember.

It was so long ago. Carrie, what do you mean criss crossing the connections? Routers and PCs connect to a hub via straight-through. I was talking about IPs on each physical straight through connections vs. XX on the Hub. It's the PCs that are configured, right?

Not the HUB? Another way, and what I have done not saying it's the best method was configure the computers, and then criss cross the literal cables in order to have a LAN. So, pin 1 goes to pin 3, etc. I don't really know anymore. I swear you have to criss cross wires and IP's.

These aren't great examples for the HUBs of yester year. I still say. I don't know why. I honestly have probably no clue what I'm talking about, except the math is right. I don't have a port and computers here to play with.

I just swear I remember doing this. They have to criss-cross. It's something like that. As always, I'm sure I've confused myself and everyone else potentially. This is what I think of when I think of a 4-port hub.

I want to know more about what you were talking about with the pinouts? That's only if you use straight through cables, then you have to actually criss cross the cables. With crossover cables, that's already done in the pins. That's why I said these weren't great examples of HUBs of yester year. You used to have to criss cross them. Now, if your wildly nostalgic enough to use a HUB, then it's probably a better one, so you probably use a crossover cable. Honestly, and again I'm probably wrong But a straight throught is 11, and the other is I think that's right, but probably not.

I was thinking of a telephone wire HUB vs. I can't explain this anymore. Clearly I'm off track again. So this is how it goes: Devices of the same pinouts must use a crossover cable to communicate. However, when using a hub between devices of the same pintouts, you use a straight-through cable to connect to the hub; the wiring is crossed internally. Who said, aside from me that they were the same devices? I'm super trying to get ready for the test and even trying to catch myself as much as possible.

You promised you would forgive me Carrie you've done nothing wrong. I'm here to help you. Interesting, a telephone hub?

I'll have to look that up! That's how they started, with the 11's. I swear they did. You even had to put a card into the CPU. Plus, I'm not very old so surely I'm not the only person that remembers this??? I'm not that old. Someone has to remember this. Life of LAN before switches Telephones are analog. A hub wouldn't really work the same way. Sort of. I think the most you could get then was , because it was half duplex.

You either had those or the big giant ones that looked kind of like your printer cable. Also, I'm not saying they worked well at all. That needs to be clearly stated. That's why HUBs are antiquated. Alright, I really have to go to bed.

However, since I call my Hubs, "Hubs", I'm going to being in trouble if he thinks I'm telling you all he is antiquated. I don't think he knows a Hub from a Switch, and that sounds even worse But what does the "new" even mean if you don't acknowledge your past?

You always have to have a point, right? I get that you can't change a network if you only use show commands, but that network won't be proper in configuration unless you explore the history behind it.

If that means expanding on something, that's fine. This is just advice for getting your cert, that's all. Test subjets? What are those? Things like what wires are telephone or ethernet? Which can be used where? And if you tell me to focus on subnetting I really do like your penguin.

I won't go there. This is all test subjects. For instance, I now know the definition of a PoE hub, and what it does. I also know that today, this is why we don't use this model anymore, and if you go back to my original post on this thread I've been learning.

Right now I'm in Chapter 18, and I've been working backwards. So, I've been learning things backwards which let's be honest, it's probably forwards for me. I've learned a lot of the new stuff. Look at this thread. I was the first one to say "arp -a". But it doesn't hurt to tie it back to the why?

Why is it that way? I think we all learn more that way. You're not old Kev. Not at all. Do you just have it set to when At least I know your "batcall" word Like Batman The signal I'm calling for you Bruce!!! I'm also sure I didn't make it up. It's a normal word. So we have a new batman now No, we will call him Kev. Old only when desparate. Cycles just happen.

I'm sure you've all watched quite a few of us go through this by now. We're growing up!!! I love how the conversation slowly changed to superheros. I don't remember well but I think that spots has been claimed already by xmarksthespot The difficult part is that I want to tell him about the Urban D Both Carrie and Daniel, I thank you for your continuous replies and I appreciate them.

I will take a break here, will be back after 6 Hours and I wish you guys all the best with your efforts and if you figure it out please share it. I copied my initial network and had 1 with a switch in the middle while the other had a hub in the middle.

It was the same for both but what I did notice was I got way more replies from the switch side than the hub side. I also noticed that in IOS the pings are timed unlike windows where it send 4 and calls it quiets. This just my be a bandwidth issue. In a hub environment everyone has to politely wait to broadcast. Okay, let's not call Hubs "Routers", because that is very different.

I am conceding that this is just a case of a hub being a hub doing hub like things. I've included an update to the PKT file. It was very interesting to see how dramatically a hub affects the evirnoment. I guess a hub is like a room full of people. That's why you criss-cross the connections! Here's a visual example. I'm going to get in so much trouble! Networking overall usually makes sane people want to jump. But criss cross only solves the problem of half duplexing.

We still get collisions when more than 1 host tries to transmit. Arp -a really should be the only command needed from the windows side to look at all the MACs you've collected. That's my point though.



0コメント

  • 1000 / 1000