|
Posted by Al Dykes on April 30, 2005, 1:03 pm
If you were Registered and logged in, you could reply and use other advanced thread options
>:We have a private network consisting of 10/100 switches that have 1
>:gigbit input and output. The switches are daisy chained using fiber
>:connections between switches. For very short distances, the connection
>:between switches might be copper. The communications will be using IP.
>
>:We want to develop an automated method of assigning fixed IP addresses
>:to nodes on the switches based on their location in the daisy chain.
>:For example, a node on the second switch would be assigned a
>:192.168.2.x address. Is there a way of determining the switch location
>:at startup so an IP address can be assigned in such a way?
>
>You could possibly figure out the switch location by examining
>the spanning tree negotiations. The hard part would be in assigning
>the IP address based upon that. Most switches don't have that
>kind of flexibility, and you can't do it from outside via IP because
>the switches don't have an IP until you assign one.
>
>
>:One thought
>:was using the TTL in an IP frame similar to what tracert does but I
>:don't think switches are considered as a hop and so don't decrement the
>:TTL.
>
>That's correct.
>
>:This would be done from a master node that is connected to the
>:first switch via a 1 GB link. Another thought was using a round trip
>:propagation delay for a packet to determine their distance from the
>:master node. Is this possible? The thought was that the switch nodes
>:would come up with a random address and would notify the master node
>:who then would assign them a new address. We have complete control of
>:the software running on the switch nodes as far as changing IP
>:addresses.
>
>Total software control? Ah, you have a chance then. Does the control
>extend as far as sending custom packets between the switches?
>If not then you might be able to figure something out based upon
>the spanning tree results.
>
>:Another question I have is what the limitations are on the number of
>:switches in this daisy chain.
>
>Spanning tree is nominally restricted to 7, but that 7 is due to
>timing factors that apply less when you have gigabit links, so you
>might be able to get away with a longer chain.
>--
> "Mathematics? I speak it like a native." -- Spike Milligan
What problem are you trying to solve with your IP numbering scheme ?
--
a d y k e s @ p a n i x . c o m
Don't blame me. I voted for Gore.
|