Is 192.168.0.1 the same as 127.0.0.1?

Poof

Diamond Member
Jul 27, 2000
4,305
0
0
Are those numbers the same for assigning an IP address on a LAN?

The 127.0.0.1 always refers to the "local" machine. Think of it as the "hidden" or "default" IP on a machine for your network. So if you ping 127.0.0.1, you ping yourself. You can however, assign that machine a unique IP such as 192.168.0.1 for other machines to communicate with it.
 

cchan

Member
Jul 9, 2001
125
0
0
Like everyone else said the 127.0.0.0/8 is only used for diagnostics.

On the other hand 192.168.0.0/16, 172.16.0.0/12, and 10.0.0.0/8 are useable but non-routable "private" IP's specified under RFC1918. In english it means that "big" Internet routers, like ones from Cisco at your ISP will drop packets from those specified IP ranges. So you can use those IPs in a local network, i.e. behind a firewall and/or NAT but it won't work on the Internet.