Archive for October 10, 2009

UNIX IP Commands

Posted: October 10, 2009 in Computer
Tags: , ,

Display Current Config for all NIC’s: ifconfig Display Current Config for dc0: ifconfig dc0 Assign multiple IP’s: ifconfig dc0:0 192.168.1.2 Assign second IP: ifconfig dc0:1 192.168.1.3 Disable network card: ifconfig dc0 down Enable network card: ifconfig dc0 up Assign IP/Subnet: ifconfig dc0 inet 192.168.1.2 netmask 255.255.255.0 Assign Gateway: route delete default && route add default [...]

Linux IP Commands

Posted: October 10, 2009 in Computer
Tags: , ,

Display Current Config for all NIC’s: ifconfig Display Current Config for eth0: ifconfig eth0 Assign IP: ifconfig eth0 192.168.1.2 Ping: ping -c 3 192.168.1.1 Assign multiple IP’s: ifconfig eth0:0 192.168.1.2 Assign second IP: ifconfig eth0:1 192.168.1.3 Disable network card: ifconfig eth0 down Enable network card: ifconfig eth0 up View current routing table: route “or” route [...]

DOS / Windows IP Commands

Posted: October 10, 2009 in Computer
Tags: , , , , ,

Display Connection Configuration: ipconfig /all Display DNS Cache Info: ipconfig /displaydns Clear DNS Cache: ipconfig /flushdns Release All IP Address Connections: ipconfig /release Renew All IP Address Connections: ipconfig /renew Re-Register the DNS connections: ipconfig /registerdns Change/Modify DHCP Class ID: ipconfig /setclassid Network Connections: control netconnections Network Setup Wizard: netsetup.cpl Test Connectivity: ping www.whatismyip.com Trace [...]