Wednesday, August 13, 2008

Some Useful Commands in Windows

Display Connection Configuration: ipconfig /all

Display DNS Cache Info Configuration: 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 IP address Route: tracert

Displays the TCP/IP protocol sessions: netstat

Display Local Route: route

Display Resolved MAC Addresses: arp

Display Name of Computer Currently on: hostname

Display DHCP Class Information: ipconfig /showclassid

Tuesday, August 12, 2008

How to find MAC address

MAC address
means Media Access Control address
or Ethernet Hardware Address (EHA), hardware address, adapter address or physical address is a quasi-unique identifier assigned to most network adapters or network interface cards (NICs) by the manufacturer for identification. If assigned by the manufacturer, a MAC address usually encodes the manufacturer's registered identification number.



To find the MAC address in WindowsXP And Newer

* Go to the DOS prompt
o Click on Start button, select Run
o Type cmd and press ENTER
* In the DOS prompt, type ipconfig /all and press ENTER
You should see the MAC address in this format 00:00:00:00:00:00

To find the MAC address in Unix/Linux

* Go to a terminal (you should know how!)
* In the terminal, type ifconfig and press ENTER
You should see the MAC address in this format 00:00:00:00:00:00 following H/W address


To Find the MAC Address on the Macintosh

You can find MAC addresses on the Macintosh in the TCP/IP Control Panel. If the system is running Open Transport, the MAC address appears under the "Info" or "User Mode/Advanced" screens. If the system is running MacTCP, the MAC address appears under the "Ethernet" icon.


so, follow the following summary for your operating system
use command in
  • Windows 95 and newer: winipcfg
  • Windows NT and newer: ipconfig /all
  • Linux and some Unix: ifconfig -a
  • Macintosh with Open Transport: TCP/IP Control Panel - Info or User Mode/Advanced
  • Macintosh with MacTCP: TCP/IP Control Panel - Ethernet icon