Revision [3922]
Last edited on 2011-03-30 21:43:02 by KenFongAdditions:
===Network speed test with iperf===
On one node, start the server process
iperf -s
On another node, start the client process. -t parameter specifies how many seconds the test should run.
iperf -c 1.2.3.4 -t 60
On one node, start the server process
iperf -s
On another node, start the client process. -t parameter specifies how many seconds the test should run.
iperf -c 1.2.3.4 -t 60
Revision [3903]
Edited on 2011-03-16 19:37:06 by KenFongAdditions:
== Cisco gears ==
[[CiscoSNMP SNMP config]]
[[CiscoSNMP SNMP config]]
Revision [3874]
Edited on 2010-10-25 03:14:19 by KenFongAdditions:
# tcpdump -ennqti eth0 \( arp or icmp \) | grep "00:16:d3:16:38:04"
00:16:d3:16:38:04 > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 192.168.18.1 tell 192.168.18.150, length 46
00:16:d3:16:38:04 > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 192.168.18.50 tell 192.168.18.150, length 46
00:13:21:24:72:90 > 00:16:d3:16:38:04, ARP, length 60: Reply 192.168.18.50 is-at 00:13:21:24:72:90, length 46
00:16:d3:16:38:04 > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 192.168.18.13 tell 192.168.18.150, length 46
00:16:d3:16:38:04 > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 192.168.18.1 tell 192.168.18.150, length 46
00:16:d3:16:38:04 > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 192.168.18.1 tell 192.168.18.150, length 46
00:16:d3:16:38:04 > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 192.168.18.1 tell 192.168.18.150, length 46
00:16:d3:16:38:04 > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 192.168.18.50 tell 192.168.18.150, length 46
00:13:21:24:72:90 > 00:16:d3:16:38:04, ARP, length 60: Reply 192.168.18.50 is-at 00:13:21:24:72:90, length 46
00:16:d3:16:38:04 > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 192.168.18.13 tell 192.168.18.150, length 46
00:16:d3:16:38:04 > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 192.168.18.1 tell 192.168.18.150, length 46
00:16:d3:16:38:04 > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 192.168.18.1 tell 192.168.18.150, length 46
Deletions:
00:1a:4b:c0:6c:c6 > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 192.168.18.50 tell 192.168.18.152, length 46
00:23:7d:26:e2:62 > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 192.168.18.228 tell 192.168.18.15, length 46
Revision [3873]
Edited on 2010-10-25 03:11:04 by KenFongAdditions:
===tcpdump to capture arp converstaion===
# tcpdump -ennqti eth0 \( arp or icmp \)
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
00:1a:4b:c0:6c:c6 > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 192.168.18.50 tell 192.168.18.152, length 46
00:23:7d:26:e2:62 > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 192.168.18.228 tell 192.168.18.15, length 46
# tcpdump -ennqti eth0 \( arp or icmp \)
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
00:1a:4b:c0:6c:c6 > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 192.168.18.50 tell 192.168.18.152, length 46
00:23:7d:26:e2:62 > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 192.168.18.228 tell 192.168.18.15, length 46
Revision [3849]
Edited on 2010-09-20 03:37:45 by KenFongAdditions:
[[NetworkArpcache Arp caching]]
Revision [3820]
Edited on 2010-09-02 07:26:58 by KenFongAdditions:
From http://www.mcmcse.com/cisco/guides/hierarchical_model.shtml
Revision [3819]
Edited on 2010-09-02 07:25:48 by KenFongAdditions:
==Cisco 3-layered network model==
{{image url="images/SG_INT.2.1.gif" title="cisco-network-model" alt="text"}}
{{image url="images/SG_INT.2.1.gif" title="cisco-network-model" alt="text"}}
Revision [3701]
Edited on 2010-04-28 09:11:36 by KenFongAdditions:
[[NetworkOpenVPN OpenVPN]]
Revision [3446]
Edited on 2009-07-24 01:08:27 by WikiAdminAdditions:
[[tcpdump tcpdump]]
Revision [2107]
Edited on 2008-12-08 03:28:06 by WikiAdminAdditions:
[[DefaultGateway Default gateway in different subnet]]
Deletions:
After driver and firmware are installed, use these commands to bring up your wireless NIC. Here is an excellent wiki for [[http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch13_:_Linux_Wireless_Networking#Troubleshooting_Your_Wireless_LAN Linux wireless networking]].
%%(bash)
iwconfig eth1 channel 11
iwconfig eth1 key restricted s:mysecretkey00
iwconfig eth1 mode Managed
ifup eth1
Revision [1999]
Edited on 2008-10-13 08:49:17 by WikiAdminAdditions:
On Solaris:
snoop -d -x0 -v 'ether[20:2] = 0x2000'
snoop -d
Revision [1997]
Edited on 2008-10-13 01:09:53 by WikiAdminAdditions:
== Traffic shaping ==
[[LinuxTC tc]]
[[LinuxTC tc]]
Revision [1908]
Edited on 2008-08-26 02:52:49 by WikiAdminAdditions:
[[NetworkStunnel Stunnel]]
Revision [1818]
Edited on 2008-07-16 18:23:00 by WikiAdminAdditions:
tcpdump -nn -v -s 1500 -c 1 'ether[20:2] == 0x2000' -i eth0
Deletions:
Revision [1817]
Edited on 2008-07-16 07:11:46 by WikiAdminAdditions:
# then do a broadcast ping, possibly on another screen
Revision [1816]
Edited on 2008-07-16 07:11:22 by WikiAdminAdditions:
=== Getting vlan id ===
Need to see what vlan id an interface is connected to?
tcpdump -nn -v -i eth0 -s 1500 -c 1 'ether[20:2] == 0x2000'
Need to see what vlan id an interface is connected to?
tcpdump -nn -v -i eth0 -s 1500 -c 1 'ether[20:2] == 0x2000'
Revision [1454]
Edited on 2008-03-04 06:54:02 by WikiAdminAdditions:
[[DHCP DHCP]]
Revision [1452]
Edited on 2008-03-04 06:53:13 by WikiAdminAdditions:
==Network Services==
Deletions:
Revision [1450]
Edited on 2008-03-04 06:52:35 by WikiAdminAdditions:
==[[NetworkServices Network Services]]==