?
Solved

ethernet level loops

Posted on 2002-04-04
6
Medium Priority
?
258 Views
Last Modified: 2012-05-04
Hi,

Do loops do exist at ethernet level. Are there ways to detect such loops. I want to write a program that would attempt to find out if such loops exist,  but I don't know how to go about it. I would appreciate some pointers.

regards
0
Comment
Question by:bsd_linux
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 6920005
Im not positive that I know what you mean by loops, but I assume you mean a case where data on the wire is circulating and never reaching it's destination. If that's what you mean I don't think it's possible for hardware that is operating properly. At the transport level the data is being send from one NIC to some other NIC on the network, addressed by MAC. That seems to me to mean that the data is going to be accepted by the target NIC or it isn't, so either way the data will make a one-way trip.
0
 
LVL 10

Expert Comment

by:kiranghag
ID: 6922415
loops can occur on switched/bridged lans where u can connect the network physically in a loop. but i think the higher levels employ techniques to prevent this from creating a big problem (for a long time). they are TTL (in ip) or s/w timeouts

0
 
LVL 4

Expert Comment

by:svindler
ID: 6936476
A loop in an ethernet will instantly create a broadcast storm, therefore the way to detect a loop is that the whole network is down ;-)
To experience it yourself:
Put Machine A on Hub A. Put Machine B on Hub B. Ping machine B from machine A. No reply.
Connect the two hubs. Everything is working fine.
Make a second connecting between the two hubs. If the hub has collision lamps they should be constantly on now, as the packets are being sent back and forth between the two hubs.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 40

Expert Comment

by:jlevie
ID: 6936745
Well yes, if the network is physically or logically via a wrong configuration connected if a loop then you've got a problem. But, then I'd consider that to be a case where the hardware wasn't working properly (the network certainly wouldn't be usable for normal traffic). My asumption was that the question related to a normally operating network and in that case I don't believe a loop is possible at the transport (ehternet) layer.

It is easy to have loops at higher layers by mis-configured routing tables.
0
 
LVL 4

Accepted Solution

by:
svindler earned 900 total points
ID: 6936778
I have yet to see an ethernet loop that wasn't created by either physically doing doing something like mentioned above or disabling spanning tree on a switch port.
In every case it was discovered almost instantaneously. Signs to look for:
Excessive broadcasts indicated by LEDs on switches and hubs
No servers accessible from workstations
Lynch mob marching down the hall
0
 
LVL 40

Expert Comment

by:jlevie
ID: 6936918
Don't for get the notification that occurs when the mob of peasants appears outside of your door with pitchforks and torches.

0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question