| Brett Glass to the Rescue |
|
Back to the "Brett Glass to the Rescue" Index Back to the
|
Hiding Machines on a LAN from the Internet Roger Leigh A: There are several groups of IP addresses which are considered to be "reserved" and are never actually used on the Internet. They are: 10.0.0.0 to
10.255.255.255
Of these groups, the most commonly used is the first one -- the "Class
A" block that's often called "Subnet 10." (The other blocks are smaller,
so there's no real advantage to using them.) Under normal conditions,
IP routers refuse to pass packets destined for these addresses.
Network Address Translation One of the big advantages of using these reserved addresses on your LAN is that you can selectively grant individual machines on your LAN access to the outside world while protecting them from outside attacks. This is done via a mechanism called Network Address Translation (NAT). (You'll also hear this mechanism referred to as "IP Masquerading.") Here's how NAT works. When one of the machines on your internal LAN wants to communicate with one elsewhere on the Internet, it sends a packet to the router using its invalid "return address." On its way through the router, the packet is altered; its return address is replaced by a legitimate IP address belonging to the router itself. All responses to those packets therefore come back to the router. The router reverses the address swapping process and passes the reply back to the computer for which it is intended. Why is this useful? First, the computer "behind" the firewall doesn't
have a legitimate IP address, so the router can easily screen every packet
it receives and prevent unwanted data from getting through. Also, the router
can let several machines on the LAN share a single legitimate IP address,
so you can put thousands of machines on your LAN and let them share a much
smaller number of outside addresses (which are inreasingly scarece nowadays).
|
| © 1998 by Brett Glass. All rights reserved. | About us | Feedback | Trademarks |