Re: [mpls-linux-general] mpls sniffer
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2002-11-21 15:33:31
|
If you can do any sort of coding try this:
Designate a Linux box as the "test equiptment". Deisignate other boxes
as the "devices under test".
Connect them like this:
------ ------ ------
-------| DUT1 |-------| DUT2 |------| DUT3 |------
| ------ ------ ------ |
| ------ |
----------------------| TEST |--------------------
1 ------ 3
Download and install linux-vrf (virtual routing and forwarding for linux)
from http://sf.net/projects/linux-vrf/ Put interface 1 and 3 on TEST int=
o
seperate VRFs.
Create an application that opens 2 UDP sockets, one bound to the VRF
associated with interface 1 on TEST, and the other bound to the VRF
associated with interface 3 on TEST. Then send packets from one to the ot=
her
via "sendto". You can add whatever level of timing by adding time stamps=
in
the payload of the packets you are sending. Maye sure to calibrate your
test gear (ie figure out how long it takes to send packets through the
application by connecting port 1 and 3 directly to each other).
So, the short answer is: I do not know of any open source software to
do this, but that shouldn't stop you from writing some and turning it
into an open source project of your own :-)
On Thu, Nov 21, 2002 at 01:46:34AM -0800, nitin panjwani wrote:
> Hi James,
>=20
> I am looking for any sniffer which can recognixe the
> MPLS packet as well as meaure the time upto
> microsecond level.
>=20
> I know ethereal can recognize, but it displays the
> time at .1ms level. Do you any other freely available
> sniffer.=20
>=20
> I am trying to measure how much processing mpls LSR
> takes compare to L3, in processing a packate from
> incomming to outgoing interface. Is there any other
> way to do it.=20
>=20
> Thanks,
> Nitin=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus =96 Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>=20
>=20
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> mpls-linux-general mailing list
> mpl...@li...
> https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
--=20
James R. Leu
|