Skip to content

CCIE23050.com CCIE Network blog HTTP://1806971003

CCIE23050.com

  • Home
  • About Me
  • Contact Me

Category: IP

ping with tos – dscp

Posted on November 1, 2016 by admin

dscp 1 (000001) = tos (00000100) = tos decimal 4

Router(config)#access-list 105 deny ip any any dscp 1
Router(config)#access-list 105 permit ip any any
Router(config)#interface ethernet 0/1
Router(config-if)#ip access-group 105 out
Router#show access-list 105

Rack9SW2#ping 200.0.12.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 200.0.12.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/58/60 ms
Rack9SW2#ping
Protocol [ip]:
Target IP address: 200.0.12.2
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: Vlan118
Type of service [0]: 4
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 200.0.12.2, timeout is 2 seconds:
Packet sent with a source address of 192.168.118.8
U.U.U
Success rate is 0 percent (0/5)
Rack9SW2#

Posted in Cisco, IPTagged IP

Windows tracetcp

Posted on November 1, 2016 by admin

Tracetcp
http://tracetcp.sourceforge.net
download:
http://sourceforge.net/projects/tracetcp/files/tracetcp/
http://www.winpcap.org
WinPcap must be installed for tracetcp to work.
From a cmd prompt run the path cmd and put winmtr.exe in one of the locations listed.
C:\Windows should be listed as a path.
copy tracetcp.exe to C:\Windows
C:\Users>tracetcp www.ccie23050.com
Tracing route to 98-65-222-189 [98-65-222-189] on port 80
Over a maximum of 30 hops.
1 2 ms 2 ms 2 ms 10.3.3.3 [di.di.net]
2 4 ms 3 ms 6 ms 122.9.58.12
3 2 ms 2 ms 2 ms 95.20.125.209 [eam.net]
4 4 ms 2 ms 3 ms 95.20.125.181 [eam.net]
5 10 ms 9 ms 10 ms 123.186.240.32 [eam.net]
6 10 ms 9 ms 13 ms 151.55.254.138 [eam.net]
7 10 ms 18 ms 9 ms 4.71.198.25 [xe-8-3-0.edge3.dallas1.level3.net]
8 14 ms 10 ms 9 ms 4.69.145.254 [vlan90.csw4.dallas1.level3.net]
9 10 ms 9 ms 9 ms 4.69.151.158 [ae-83-83.ebr3.dallas1.level3.net]
10 42 ms 42 ms 41 ms 4.69.132.77 [ae-3-3.ebr2.losangeles1.level3.net]
11 41 ms 42 ms 44 ms 4.69.137.22 [ae-72-72.csw2.losangeles1.level3.net]
12 42 ms 41 ms 41 ms 4.69.144.10 [ae-1-60.edge1.losangeles9.level3.net]
13 43 ms 42 ms 42 ms 4.68.63.190 [sbc-level3-xe-1.losangeles1.level3.net]
14 123 ms 166 ms 136 ms 12.83.48.54
15 * * * Request timed out.
16 58 ms 57 ms 55 ms 75.29.128.9
17 58 ms 57 ms 57 ms 98.65.222.189 [98-65-222-189]
18 Destination Reached in 66 ms. Connection established to 98.65.222.189
Trace Complete.
C:\Users>tracetcp www.ccie23050.com:443
C:\Users>tracetcp -?
Usage: tracetcp host [options]
where host = hostName|ipAddress[:portNumber|serviceName]
if portNumber or serviceName is not present then port 80 (http) is assumed.
Options:
-? Displays help information.
-F Disables the Anti-flood timer.
-R Use Raw Sockets to send packets.
-c Select condensed output mode.
-g address Send to remote host using specified gateway.
-h start_hop Starts trace at hop specified.
-m max_hops Maximum number of hops to reach target.
-n No reverse DNS lookups for each node.
-p num_pings # of pings per hop (default 3).
-r p1 p2 Multiple traces from port p1 to p2.
-s p1 p2 Scan ports p1 to p2. Eqiv of: -cnr p1 p2 -h 128 -m 1 -p 1
-t timeout Wait timeout milliseconds for each reply.
-v Displays version information.
Examples:
tracetcp www.microsoft.com:80 -m 60
tracetcp post.sponge.com:smtp
tracetcp 192.168.0.1 -n -t 500
C:\Users>

Posted in IPTagged IP

Windows WinMTR

Posted on November 1, 2016 by admin

http://winmtr.net/
http://winmtr.net/winmtr_download/
From a cmd prompt run the path cmd and put winmtr.exe in one of the locations listed.
C:\Windows should be listed as a path.
copy winmtr.exe to C:\Windows
To run double click on the winmtr.exe or from the cmd line execute the following.
C:\Users\chrisk>winmtr.exe www.ccie23050.com
|——————————————————————————————|
| WinMTR statistics |
| Host – % | Sent | Recv | Best | Avrg | Wrst | Last |
|————————————————|——|——|——|——|——|——|
| xe-8-3-0.edge3.dallas1.level3.net – 0 | 24 | 24 | 8 | 10 | 33 | 9 |
| vlan70.csw2.dallas1.level3.net – 0 | 24 | 24 | 9 | 10 | 33 | 9 |
| ae-73-73.ebr3.dallas1.level3.net – 0 | 24 | 24 | 8 | 9 | 12 | 11 |
| ae-3-3.ebr2.losangeles1.level3.net – 0 | 24 | 24 | 40 | 41 | 45 | 43 |
| ae-92-92.csw4.losangeles1.level3.net – 0 | 24 | 24 | 40 | 41 | 45 | 41 |
| ae-4-90.edge1.losangeles9.level3.net – 0 | 24 | 24 | 40 | 48 | 105 | 40 |
| 4.68.62.202 – 0 | 24 | 24 | 41 | 45 | 97 | 97 |
| 12.83.48.54 – 0 | 24 | 24 | 52 | 52 | 55 | 53 |
|________________________________________________|______|______|______|______|______|______|
WinMTR v0.92 GPL V2 by Appnor MSP – Fully Managed Hosting & Cloud Provider

Posted in IP, WindowsTagged IP

Windows ipconfig /displaydns

Posted on November 1, 2016 by admin

To view a Windows host DNS cache.
ipconfig /displaydns
To clear a Windows host DNS cache.
ipconfig /flushdns

Posted in IP, WindowsTagged IP

Windows getmac

Posted on November 1, 2016 by admin

You can use the Windows getmac command to get a MAC address from any Windows box if you have the hostname or IP.
C:\>getmac /s 11.11.11.50
Physical Address Transport Name
=================== ==========================================================
00-13-8B-3E-43-D0 \Device\Tcpip_{EE7D131B-C172-411B-7F12-E81F82057FEC}
N/A Hardware not present
C:\>
Router1#sh arp | i 43d0
Internet 11.11.11.50 0 0013.8b3e.43d0 ARPA Vlan777
If you are on the same IP subnet as a device use the arp command from a windows device.
C:\>ping 11.11.11.50
C:\>arp -a
Interface: 10.11.11.116 — 0xb
Internet Address Physical Address Type
11.11.11.50 00-13-8B-3E-43-D0 dynamic

Posted in IP, WindowsTagged MAC

Windows tracert

Posted on November 1, 2016 by admin

C:\>tracert www.yahoo.com
Tracing route to any-fp.wa1.b.yahoo.com [209.191.122.70]
over a maximum of 30 hops:
1 2 ms 3 ms 3 ms home [192.168.35.254]
2 8 ms 8 ms 7 ms 88.97.225.3.lightspeed.ltrkar.sbcglobal.net [88.97.225.3]
3 8 ms 6 ms 6 ms 20.33.128.50
4 6 ms 6 ms 5 ms 150.164.90.174
5 17 ms 17 ms 16 ms ppp-151-164-52-65.rcsntx.swbell.net [151.164.52.65]
6 18 ms 16 ms 17 ms asn10310-11-yahoo.eqdltx.sbcglobal.net [151.164.250.202]
7 27 ms 18 ms 19 ms ae-2-d100.msr1.mud.yahoo.com [216.115.104.105]
8 18 ms 19 ms 18 ms te-6-1.fab1-a-gdc.mud.yahoo.com [209.191.78.129]
9 19 ms 18 ms 17 ms te-8-2.bas-c2.mud.yahoo.com [209.191.78.175]
10 19 ms 17 ms 18 ms ir1.fp.vip.mud.yahoo.com [209.191.122.70]
Trace complete.
-d option for no names.
C:\>tracert -d www.yahoo.com
Tracing route to any-fp.wa1.b.yahoo.com [209.191.122.70]
over a maximum of 30 hops:
1 3 ms 1 ms 2 ms 192.168.35.254
2 8 ms 5 ms 6 ms 88.97.225.3
3 14 ms 10 ms 6 ms 20.33.128.50
4 7 ms 6 ms 7 ms 150.164.90.174
5 19 ms 17 ms 17 ms 151.164.52.65
6 16 ms 17 ms 16 ms 151.164.250.202
7 19 ms 19 ms 18 ms 216.115.104.101
8 18 ms 19 ms 18 ms 209.191.78.159
9 19 ms 18 ms 18 ms 68.142.193.7
10 19 ms 19 ms 19 ms 209.191.122.70
Trace complete.
C:\>

Posted in IP, WindowsTagged IP

Windows ping

Posted on November 1, 2016 by admin

ping [-t] [-a] [-n Count] [-l Size] [-f] [-i TTL] [-v TOS] [-r Count] [-s Count] [{-j HostList | -k HostList}] [-w Timeout] [TargetName]
Parameters
-t : Sends echo request messages to the destination until interrupted by CTRL-C.
-a : Preforms reverse name resolution for the destination IP address.
-n Count : Specifies the number of Echo Request messages sent. The default is 4.
-l Size : Specifies the length, in bytes, of the Data field in the Echo Request messages sent. The default is 32. The maximum size is 65,527.
-f : Specifies that Echo Request messages are sent with the Don’t Fragment flag in the IP header set to 1.
-i TTL : Specifies the value of the TTL field in the IP header for Echo Request messages sent. The default TTL value for the host is typically 128. The maximum TTL is 255.
-v TOS : Specifies the value of the Type of Service (TOS) field in the IP header for Echo Request messages sent. The default is 0. TOS is specified as a decimal value from 0 to 255.
-r Count : Specifies that the Record Route option in the IP header is used to record the path taken by the Echo Request message and corresponding Echo Reply message.
-s Count : Specifies that the Internet Timestamp option in the IP header is used to record the time of arrival for the Echo Request message and corresponding Echo Reply message for each hop. The Count must be a minimum of 1 and a maximum of 4.
-j HostList : Specifies that the Echo Request messages use the Loose Source Route option in the IP header with the set of intermediate destinations specified in HostList.
-k HostList : Specifies that the Echo Request messages use the Strict Source Route option in the IP header with the set of intermediate destinations specified in HostList.
-w Timeout : Specifies the amount of time, in milliseconds, to wait to receive echo reply. The default time-out is 4000 (4 seconds).
TargetName : Specifies the destination, which is identified either by IP address or host name.

Posted in IPTagged ICMP

RFC 5735

Posted on November 1, 2016 by admin

Address Blocks for RFC 5735
——————————————————————
0.0.0.0/8 “This” Network RFC 1122, Section 3.2.1.3
10.0.0.0/8 Private-Use Networks RFC 1918
127.0.0.0/8 Loopback RFC 1122, Section 3.2.1.3
169.254.0.0/16 Link Local RFC 3927
172.16.0.0/12 Private-Use Networks RFC 1918
192.0.0.0/24 IETF Protocol Assignments RFC 5736
192.0.2.0/24 TEST-NET-1 RFC 5737
192.88.99.0/24 6to4 Relay Anycast RFC 3068
192.168.0.0/16 Private-Use Networks RFC 1918
198.18.0.0/15 Network Interconnect
Device Benchmark Testing RFC 2544
198.51.100.0/24 TEST-NET-2 RFC 5737
203.0.113.0/24 TEST-NET-3 RFC 5737
224.0.0.0/4 Multicast RFC 3171
240.0.0.0/4 Reserved for Future Use RFC 1112, Section 4
255.255.255.255/32 Limited Broadcast RFC 919, Section 7
RFC 922, Section 7

Posted in IPTagged IP

Posts navigation

Newer posts

Follow Me

  • YouTube
  • LinkedIn

Location

  • 10809 Executive Center Dr, Little Rock, AR 72211
Proudly powered by WordPress | Theme: micro, developed by DevriX.