When using the IP protocol at some stage you are going to have to perform some troubleshooting. This video looks at the different tools available and how to use them in both IPv4 and IPv6.
Troubleshooting tools
List here are a lot of troubleshooting tools that can be used to troubleshooting network and IP related problems. A lot of these commands support the -4 and -6 switches. This forces the command to only use IPv4 or IPv6.
IPConfig
The ipconfig tool provides general information about the adapters in your system. Without any arguments it will give you the IP address of your computer, subnet mask and gateway. There are also additional switches which will give you a lot more information.
IPConfig /all
This will give you extended information about the network adapter. This includes information like DHCP information, MAC address and DNS servers.
IPConfig /release
Will give back an IP Address that was obtained from a DHCP server.
IPConfig /renew
This command will request a IP address of the local DHCP server or renew a IP address leases that has already been obtained.
IPConfig /flushdns
Any host that you look at using a DNS server will be cached on the local computer. The flush DNS switch will flush these records out from the local cache.
IPConfig /registerdns
This is used with dynamic DNS it registered the hostname of the computer with the DNS server.
Ping command
The ping command sends a packet to anther computer or device. The computer or device if configured to do so will sent a packet back to the host to let it know it has receive the packet. This confirms the other side is receiving packets but also the command can be used to test how long packets are taking to travel over the network.
ping --l (Packet size)
This will sent a packet with the size that you specify. This is useful to test the network with some data to get an idea of latency. Routers can also divide packets up into smaller parts in a process called fragmenting. This can cause problems with VPN's. Performs a ping with this switch can help you determine if your packets are being fragmented in the process of getting to their destination.
ping --t
This will perform a constant ping or a ping will be sent every 1 second. The process will continue until control C is pressed. Constant pings are good for make sure a server reboots correctly. When performing a constant ping on a reboot server, you should see request time out while the server is restarting before a reply is received again when the operating system is finished booting.
TraceRoute
This command will trace the route a packet takes from the host to the destination giving you timing information for each hop the packet travels through to get there.
TraceRoute --d
When trace route runs it will try to perform a reverse DNS lookup for each hop to determine the DNS name for that hop. This can slow TraceRoute down. To disable the reverse look up, add the --d switch.
NetStat
This command shows you the active connection from your computer including the port that they are using.
NetStat --a
Shows all ports that are waiting for a connection to made. For example if you had web server running on port 80 on your computer, it would show that port 80 is waiting for connections on port 80.
See http://YouTube.com/ITFreeTraining or http://itfreetraining.com for are always free training videos. This is only one video from the many free courses available on YouTube.
Troubleshooting tools
List here are a lot of troubleshooting tools that can be used to troubleshooting network and IP related problems. A lot of these commands support the -4 and -6 switches. This forces the command to only use IPv4 or IPv6.
IPConfig
The ipconfig tool provides general information about the adapters in your system. Without any arguments it will give you the IP address of your computer, subnet mask and gateway. There are also additional switches which will give you a lot more information.
IPConfig /all
This will give you extended information about the network adapter. This includes information like DHCP information, MAC address and DNS servers.
IPConfig /release
Will give back an IP Address that was obtained from a DHCP server.
IPConfig /renew
This command will request a IP address of the local DHCP server or renew a IP address leases that has already been obtained.
IPConfig /flushdns
Any host that you look at using a DNS server will be cached on the local computer. The flush DNS switch will flush these records out from the local cache.
IPConfig /registerdns
This is used with dynamic DNS it registered the hostname of the computer with the DNS server.
Ping command
The ping command sends a packet to anther computer or device. The computer or device if configured to do so will sent a packet back to the host to let it know it has receive the packet. This confirms the other side is receiving packets but also the command can be used to test how long packets are taking to travel over the network.
ping --l (Packet size)
This will sent a packet with the size that you specify. This is useful to test the network with some data to get an idea of latency. Routers can also divide packets up into smaller parts in a process called fragmenting. This can cause problems with VPN's. Performs a ping with this switch can help you determine if your packets are being fragmented in the process of getting to their destination.
ping --t
This will perform a constant ping or a ping will be sent every 1 second. The process will continue until control C is pressed. Constant pings are good for make sure a server reboots correctly. When performing a constant ping on a reboot server, you should see request time out while the server is restarting before a reply is received again when the operating system is finished booting.
TraceRoute
This command will trace the route a packet takes from the host to the destination giving you timing information for each hop the packet travels through to get there.
TraceRoute --d
When trace route runs it will try to perform a reverse DNS lookup for each hop to determine the DNS name for that hop. This can slow TraceRoute down. To disable the reverse look up, add the --d switch.
NetStat
This command shows you the active connection from your computer including the port that they are using.
NetStat --a
Shows all ports that are waiting for a connection to made. For example if you had web server running on port 80 on your computer, it would show that port 80 is waiting for connections on port 80.
See http://YouTube.com/ITFreeTraining or http://itfreetraining.com for are always free training videos. This is only one video from the many free courses available on YouTube.
MCTS 70-680: Troubleshooting IP microsoft store | |
76 Likes | 76 Dislikes |
27,782 views views | 148K followers |
Education | Upload TimePublished on 20 Oct 2011 |
Không có nhận xét nào:
Đăng nhận xét