22.12.2012 Views

Front cover - IBM Redbooks

Front cover - IBM Redbooks

Front cover - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ecoming increasingly difficult to achieve, because the number of available<br />

address ranges is now severely limited. Also, many organizations have in the<br />

past used locally assigned IP addresses, not expecting to require Internet<br />

connectivity. NAT is defined in RFC1631.<br />

The idea of NAT is based on the fact that only a small number of the hosts in a<br />

private network are communicating outside of that network. If each host is<br />

assigned an IP address from the official IP address pool only when the host<br />

needs to communicate, then only a small number of official addresses are<br />

required.<br />

NAT modifies the IP address of an outgoing packet and dynamically translates it<br />

to an externally routable address. NAT translation applies to the address in the<br />

IP header only; IP data is not altered. For incoming packets, it translates the<br />

external address to an internal address. From the point of view of two hosts that<br />

exchange IP packets with each other, one in a secure, private network and one<br />

in the non-secure external network, NAT looks like a standard IP router that<br />

forwards IP packets between two network interfaces. So typically we employ<br />

NAT wherever possible to hide details of the internal network’s private network<br />

addressing.<br />

It is important to note that only TCP and UDP packets are translated by NAT.<br />

The Internet Control Message Protocol (ICMP) is used for messages and will not<br />

operate in a NAT environment. For example, ping is an ICMP service; when you<br />

ping a host from a non-NAT environment to a NAT environment, you will not get<br />

an answer back because the IP address cannot be resolved.<br />

There is another router function related to NAT called port address translation<br />

(PAT). This allows a specific port coming from a host on one side of a router to<br />

be represented as a different port and IP address on the other side of the router.<br />

PAT is more commonly implemented as part of a session-layer firewall rather<br />

than a network router.<br />

VLANs<br />

Virtual LANs (VLANs) are fairly recent (since around 1998) features incorporated<br />

into the higher end switch products available. Their primary purpose is to provide<br />

flexibility in partitioning switches into multiple LAN broadcast domains and to<br />

facilitate spanning a broadcast domain across multiple switches. VLANs are<br />

frequently used to improve network performance by grouping systems together<br />

that rely on broadcast-intensive protocols such as NetBIOS and IPX. Properly<br />

configured VLANs can be useful in security when they are used for separation<br />

and isolation, and can eliminate the need for large numbers of smaller, dedicated<br />

switches. They also have the advantage of not being limited to the boundaries of<br />

a single switch, allowing the grouping criteria for systems not to be limited by<br />

physical location. And another big advantage is being able to create multiple<br />

Chapter 4. Security components and layers 125

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!