Gentoo Archives: gentoo-user

From: "Timothy A. Holmes" <tholmes@×××××××××.net>
To: gentoo-user@l.g.o
Subject: RE: [gentoo-user] Port Tracer Program Needed
Date: Tue, 14 Mar 2006 18:13:57
Message-Id: 17CD9CE4C0FA574A8B29EF02D49B385D0F5318@srvexch-01.mcaschool.local
1 WOW -- that looks great -- Thank you very very much
2
3 I will be trying it shortly
4
5 TIM
6
7 Timothy A. Holmes
8 IT Manager / Network Admin / Web Master / Computer Teacher
9
10 Medina Christian Academy
11 A Higher Standard...
12
13 Jeremiah 33:3
14 Jeremiah 29:11
15 Esther 4:14
16
17 > -----Original Message-----
18 > From: Heiko Wundram [mailto:me+gentoo-user@×××××××××.org]
19 > Sent: Tuesday, March 14, 2006 12:50 PM
20 > To: gentoo-user@l.g.o
21 > Subject: Re: [gentoo-user] Port Tracer Program Needed
22 >
23 > Am Dienstag, 14. März 2006 18:08 schrieb Timothy A. Holmes:
24 > > Hans -- Thank you, I realize that I can make it blink with network
25 > > traffic, the problem is that basically all the ports on the switches
26 > > have traffic running constantly on them, so I need to find a way to make
27 > > it distinctive enough so it can be picked out from the rest of the
28 > > noise.
29 >
30 > Save the following script as floodping.sh, and try it, you should be able
31 > to
32 > notice the traffic from your regular traffic:
33 >
34 > #!/bin/sh
35 > ifconfig $1 10.0.0.1 netmask 255.255.255.0 broadcast 10.0.0.255
36 > while true
37 > do
38 > ping -f -w $2 -b 10.0.0.255
39 > sleep $2
40 > done
41 >
42 > ./floodping.sh eth0 5
43 >
44 > would mean that it does five seconds of intensive traffic (which has
45 > packets
46 > going to the switch in the order of <20ms or so, depending on your laptop,
47 > and the lamp should blink very frequently), then does five seconds of data
48 > sleep, which should be almost completely quiet on the switch (except for
49 > that
50 > occasional broadcast packet from another computer directed at yours).
51 >
52 > Be sure to use a network that isn't on your local net for testing, as my
53 > network is 192.*, I've used 10.* in the example. If you use a network
54 > that's
55 > regularily used on your network, you might get problems discerning the
56 > sleep
57 > phase, as the arp address of your laptop propagates to all other endpoints
58 > on
59 > your net due to the use of a regular network, and this might mean a lot of
60 > ARP queries, depending on your network size.
61 >
62 > I've used a technique like this to check the cabling in a building, and it
63 > worked just fine.
64 >
65 > HTH!
66 >
67 > --
68 > --- Heiko.
69 >
70 > --
71 > gentoo-user@g.o mailing list
72
73
74
75 --
76 gentoo-user@g.o mailing list