arp - list and modify the Linux arp table
IP Route 1 commands:
* ifconfig - configure linux network interface
* route - add routing for a network or host
* netstat -rn this is an alternative to route -n
IP Route 2 commands:
* ip neigh (ip n) - replaces arp. Lists and modifies the Linux arp table
* ip link (ip l) - replaces ifconfig,
-- does not bring the interface up once it is configured
-- does not add default routing for the network that this interface belongs to
* ip address (ip a) - used to add/del ip addresses to/from interfaces
* ip route (ip r) - used to add/del/replace routing rules to a network or host
* ip rule (ip ru) - used to list rule based IP routing
IP Route 2 introduces the logic behind multiple routing tables. The name mappings for those new tables are kept in /etc/iproute2/rt_tables.
If you want to list the routes in a single table you can use the following command:
ip route list table tbl_name
Commands for troubleshooting network issues:
* ping - generates ICMP packets so you can check the connectivity
* traceroute - traces the route a certain packet is traveling
* arping - generates ARP packets on Layer 2 to check if a certain IP is located wihin your physical network
* tcpdump - listens for network traffic on a specified interface
* wireshark/tshark - listen and analize network traffic
IP Route 1 commands:
* ifconfig - configure linux network interface
* route - add routing for a network or host
* netstat -rn this is an alternative to route -n
IP Route 2 commands:
* ip neigh (ip n) - replaces arp. Lists and modifies the Linux arp table
* ip link (ip l) - replaces ifconfig,
-- does not bring the interface up once it is configured
-- does not add default routing for the network that this interface belongs to
* ip address (ip a) - used to add/del ip addresses to/from interfaces
* ip route (ip r) - used to add/del/replace routing rules to a network or host
* ip rule (ip ru) - used to list rule based IP routing
IP Route 2 introduces the logic behind multiple routing tables. The name mappings for those new tables are kept in /etc/iproute2/rt_tables.
If you want to list the routes in a single table you can use the following command:
ip route list table tbl_name
Commands for troubleshooting network issues:
* ping - generates ICMP packets so you can check the connectivity
* traceroute - traces the route a certain packet is traveling
* arping - generates ARP packets on Layer 2 to check if a certain IP is located wihin your physical network
* tcpdump - listens for network traffic on a specified interface
* wireshark/tshark - listen and analize network traffic
Последна модификация: Tuesday, 11 December 2012, 12:48 AM