ethernet failure generator
DComTalk.com Forum Index DComTalk.com
Discussion of VoIP, VPN, Video Conferencen, DSL and other data commucations.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web dcomtalk.com
ethernet failure generator

 
Post new topic   Reply to topic    DComTalk.com Forum Index -> Ethernet
Author Message
Colin Cant
Guest





Posted: Fri Dec 24, 2004 3:19 pm    Post subject: ethernet failure generator Reply with quote

hi,

i've got following problem witch i have to simulate. we got a laserlink
connection bedween two buildings. this link often breaks down in winter with
foogy weather. now i want to try the hole thing in a lab. taking two cisco
cats 3500 xl and create a etherchannel. one link is connected thru a vdsl
modem link(for backup) and the other through my simulated laser.

i thought about taking a crossover cable an put a resistor potentiometer
bedween the TX / RX circuits to simulate the link quality dropping and
increasing. and now im not sure if this is gono workout or i'l break one of
my ciscos.

thanks for suggestions

colin
Back to top
Walter Roberson
Guest





Posted: Sat Dec 25, 2004 1:07 pm    Post subject: Re: ethernet failure generator Reply with quote

In article <41cbed35$0$144$fb624d75@newsspool.solnet.ch>,
Colin Cant <colin.cant@solnet.ch> wrote:
:i've got following problem witch i have to simulate. we got a laserlink
:connection bedween two buildings. this link often breaks down in winter with
:foogy weather. now i want to try the hole thing in a lab. taking two cisco
:cats 3500 xl and create a etherchannel. one link is connected thru a vdsl
:modem link(for backup) and the other through my simulated laser.

:i thought about taking a crossover cable an put a resistor potentiometer
:bedween the TX / RX circuits to simulate the link quality dropping and
:increasing. and now im not sure if this is gono workout or i'l break one of
:my ciscos.

I don't -think- it would break the device, but I'm not much of
a hardware person so I don't know.

If you put a variable link between the TX and RX, then it seems
to me that you would be varying the potential Near End CrossTalk (NEXT).
It seems to me that NEXT is a problem when you have signals on the
transmit and receive pairs simultaneously: if you don't, then
the non-transmitting end will get a bit of garbage that
the NIC will just ignore, or else the NIC will receive an "echo"
of the packet... which for the most part it would just ignore
because it wouldn't have the right MAC destination. You might
generate an extra packet in response to a udp broadcast or an
icmp echo to the subnet broadcast, but that packet would go out on
the regular stream, which would not be a problem.

I would tend to think that to simulate fog properly, you would want
to put in something that causes bits to be dropped. I'm not sure that
even introducing noise into the circuit would be good enough, but
that would depend on exactly how bits are encoded over the laser.
If they are encoded with something like phase modulation with
the standard trellis encoding for error correction (e.g., 8/5
encoding), then introducing noise into the ethernet circuit would
not be an equivilent test unless you were to find that the fog had
the effect of shifting phase encoding of light instead of just
absorbing the light.

I am not sure what a good way to simulate dropped bits would be.
*Maybe* something like a variable capacitor, with the idea being
that if the signal voltage is below the catapicense, that the
current would be buffered into the capacitor instead of going
through unchanged. I seem to recall [probably incorrectly] that
pushing a signal through a capacitor tends to round the signal:
perhaps it would round it enough to alter the signal phases,
thus corrupting bits.

My suspicion is thus that a better simulation would involve
capacitors and inductors rather than a varistor bridging between
the receive and transmit. Or maybe just use a transistor to block
the current from flowing...
--
And the wind keeps blowing the angel / Backwards into the future /
And this wind, this wind / Is called / Progress.
-- Laurie Anderson
Back to top
Guest






Posted: Wed Dec 29, 2004 8:48 pm    Post subject: Re: ethernet failure generator Reply with quote

I do like the approach:))

There are free and commercial tools that will drop
packets on some programmed basis. The unit
looks like say a bridge/switch/router but it drops, delays
or otherwise fiddles with packets.

I have never used them but consider

Nistnet (described here)
http://linux.oreillynet.com/lpt/a//linux/2000/06/22/LinuxAdmin.html


http://info.iet.unipi.it/~luigi/ip_dummynet/
nistnet seems to be for free bsd and is free.
"It simulates/enforces queue and bandwidth limitations,
delays, packet losses, and multipath effects."


http://www.csm.ornl.gov/~dunigan/net100/netlinks.html
Has a list of such tools.

"network emulators"

# # # # # # # #
If I wanted a hardware approach to this for some reason
I would try to do it digitally since for me that is easier.

555 timer (OK not digital?) and a tri state driver to
say short out (well maybe with a resistor:) the signal.

The device could be controlled by a computer.

# # # # # # # #
HA! Even easier.

Get a hub. Connect your two end devices to it Half Duplex.
Connect another computer to the hub forced to
Full Duplex. This last device could be programmed to transmit
packets at intervals designed to dissrupt the traffic between
your two end devices.

This aproach is of course no use for Giga Bit Ethernet since
as far as I know no real devices support half duplex.

Good luck.
Back to top
Guest






Posted: Wed Dec 29, 2004 8:48 pm    Post subject: Re: ethernet failure generator Reply with quote

I do like the approach:))

There are free and commercial tools that will drop
packets on some programmed basis. The unit
looks like say a bridge/switch/router but it drops, delays
or otherwise fiddles with packets.

I have never used them but consider

Nistnet (described here)
http://linux.oreillynet.com/lpt/a//linux/2000/06/22/LinuxAdmin.html


http://info.iet.unipi.it/~luigi/ip_dummynet/
nistnet seems to be for free bsd and is free.
"It simulates/enforces queue and bandwidth limitations,
delays, packet losses, and multipath effects."


http://www.csm.ornl.gov/~dunigan/net100/netlinks.html
Has a list of such tools.

"network emulators"

# # # # # # # #
If I wanted a hardware approach to this for some reason
I would try to do it digitally since for me that is easier.

555 timer (OK not digital?) and a tri state driver to
say short out (well maybe with a resistor:) the signal.

The device could be controlled by a computer.

# # # # # # # #
HA! Even easier.

Get a hub. Connect your two end devices to it Half Duplex.
Connect another computer to the hub forced to
Full Duplex. This last device could be programmed to transmit
packets at intervals designed to dissrupt the traffic between
your two end devices.

This aproach is of course no use for Giga Bit Ethernet since
as far as I know no real devices support half duplex.

Good luck.
Back to top
Erik Freitag
Guest





Posted: Fri Dec 31, 2004 7:25 am    Post subject: Re: ethernet failure generator Reply with quote

On Fri, 24 Dec 2004 11:19:53 +0100, Colin Cant wrote:

Quote:
hi,

i've got following problem witch i have to simulate. we got a laserlink
connection bedween two buildings. this link often breaks down in winter with
foogy weather. now i want to try the hole thing in a lab. taking two cisco
cats 3500 xl and create a etherchannel. one link is connected thru a vdsl
modem link(for backup) and the other through my simulated laser.

i thought about taking a crossover cable an put a resistor potentiometer
bedween the TX / RX circuits to simulate the link quality dropping and
increasing. and now im not sure if this is gono workout or i'l break one of
my ciscos.

Why not just use a pair of real lasers? Maybe turn the power down until
the frames start to drop out?
Back to top
 
Post new topic   Reply to topic    DComTalk.com Forum Index -> Ethernet All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Solutions: Telephone Systems Electronics Satellite TV Tech & Gadgets
Powered by phpBB