| Windows / DOS |
Linux |
Unix |
|
ipconfig /all
Display full configuration information.
|
ifconfig
Display current configuration for all NIC's.
|
ifconfig
Display current configuration for all NIC's.
|
|
ipconfig /release [adapter]
Release the IP address for the specified adapter.
|
ifconfig eth0
Display current configuration for eth0.
|
ifconfig dc0
Display current configuration for dc0.
|
|
ipconfig /renew [adapter]
Renew the IP address for the specified adapter.
|
ifconfig eth0 192.168.1.2
Assign IP address 192.168.1.2 to eth0.
|
ifconfig dc0 inet 192.168.1.2 netmask 255.255.255.0
Assign IP/Subnet to dc0.
|
|
ipconfig /flushdns
Purge the DNS Resolver cache.
|
ifconfig eth0:0 192.168.1.2
Assign multiple IP's to eth0.
|
route delete default && route add default 192.168.1.1
Assign default gateway.
|
|
ipconfig /registerdns
Refresh all DHCP leases and re-register DNS names.
|
ifconfig eth0:1 192.168.1.3
Assign second IP address to eth0:.
|
ifconfig dc0:0 192.168.1.2
Assign multiple IP's to dc0.
|
|
ipconfig /displaydns
Display the contents of the DNS Resolver Cache.
|
route add default gw 192.168.1.1
Assign default gateway.
|
ifconfig dc0:1 192.168.1.3
Assign second IP to dc0.
|
|
ipconfig /showclassid adapter
Display all the DHCP class IDs allowed for adapter.
|
ifconfig eth0 down
Disable network interface card.
|
ifconfig dc0 down
Disable network card.
|
|
ipconfig /setclassid adapter [classid]
Modify the DHCP class id.
|
ifconfig eth0 up
Enable network interface card.
|
ifconfig dc0 up
Enable network card.
|
|
control netconnections
Launch "Network Connections".
|
ifconfig eth0 192.168.1.2 netmask 255.255.255.0
Assign IP/Subnet to eth0.
|
|
|
netsetup.cpl
Launch "Network Setup Wizard".
|
route / route -n
View current routing table.
|
|
|
ping www.ip2location.com
Send ping packet to www.ip2location.com to test network connectivity.
|
arp / arp -n
View arp cache
|
|
|
tracert www.ip2location.com
Trace network route from desktop to www.ip2location.com.
|
ping -c 3 www.ip2location.com
Send ping packet to www.ip2location.com to test network connectivity.
|
|
|
route
Display and manipulate network routing tables.
|
traceroute www.ip2location.com
Trace network route from desktop to www.ip2location.com.
|
|
|
netstat
Displays the TCP/IP protocol sessions
|
tracepath www.ip2location.com
Trace network path from desktop to www.ip2location.com.
|
|
|
arp
Display resolved MAC addresses.
|
host www.ip2location.com
DNS test using www.ip2location.com.
|
|
|
hostname
Display name of computer currently on.
|
host 44.11.22.33
Reverse host lookup by IP address.
|
|
| |
dig www.ip2location.com
Advanced DNS test using www.ip2location.com.
|
|
| |
dig -x 44.11.22.33
Advanced reverse DNS lookup by IP address.
|
|