112
Summit24e3 Switch Installation and User Guide
Network Address Translation (NAT)
IP addresses. The other type of VLAN is configured as outside, which corresponds to the public
(probably Internet) IP addresses you want the inside addresses translated to. The mappings between
inside and outside IP addresses are done via rules that specify the IP subnets involved and the
algorithms used to translate the addresses.
NOTE
The NAT modes in ExtremeWare support translating traffic initiating only from inside addresses.
NAT rules are associated with a single outside VLAN. Multiple rules per outside VLAN are allowed.
The rules take effect in the order they are displayed using the
show
command. Any number of inside
VLANs can use a single outside VLAN, assuming that you have created proper rules. Similarly, a single
inside VLAN can use any number of different outside VLANs, assuming that the rules and routing are
set up properly.
Both TCP and UDP have Layer 4 port numbers ranging from 1 to 65535. These Layer 4 ports, in
combination with the IP addresses, form a unique identifier which allows hosts (as well as the NAT
switch) to distinguish between separate conversations. NAT operates by replacing the inside IP packet’s
source IP and Layer 4 port with an outside IP and Layer 4 port. The NAT switch maintains a connection
table to map the return packets on the outside VLAN back into their corresponding inside sessions.
Internet IP Addressing
When implementing NAT in an Internet environment, it is strongly recommended that you use one of
the reserved private IP address ranges for your inside IP addresses. These ranges have been reserved
specifically for networks not directly attached to the Internet. Using IP addresses within these ranges
prevents addressing conflicts with public Internet sites to which you want to connect. The ranges are as
follows:
•
10.0.0.0/8—Reserved Class A private address space
•
172.16.0.0/12—Reserved Class B private address space
•
192.168.0.0/16—Reserved Class C private address space
Configuring VLANs for NAT
You must configure each VLAN participating in NAT as either an inside or outside VLAN. To configure
a VLAN as an inside or outside VLAN, use the following command:
config nat vlan <name> [inside | outside | none]
When a VLAN is configured to be
inside
, traffic from that VLAN destined for an
outside
VLAN is
translated only if it has a matching NAT rule. Any unmatched traffic will be routed normally and not be
translated. Because all traffic destined for an
outside
VLAN runs through the central processing unit
(CPU), it cannot run at line-rate.
When a VLAN is configured to be
outside
, it routes all traffic destined for
inside
VLANs. Because the
routed traffic runs through the CPU, it cannot run at line-rate.
When a VLAN is configured to be
none
, all NAT functions are disabled and the VLAN operates
normally.
Содержание Summit Summit24
Страница 12: ...12 Contents Summit24e3 Switch Installation and User Guide Index Index of Commands ...
Страница 14: ...14 Figures Summit24e3 Switch Installation and User Guide ...
Страница 24: ...24 Summit24e3 Switch Installation and User Guide Summit24e3 Switch Overview ...
Страница 32: ...32 Summit24e3 Switch Installation and User Guide Switch Installation ...
Страница 78: ...78 Summit24e3 Switch Installation and User Guide Configuring Ports on a Switch ...
Страница 118: ...118 Summit24e3 Switch Installation and User Guide Network Address Translation NAT ...
Страница 132: ...132 Summit24e3 Switch Installation and User Guide Ethernet Automatic Protection Switching ...
Страница 146: ...146 Summit24e3 Switch Installation and User Guide Quality of Service QoS ...
Страница 158: ...158 Summit24e3 Switch Installation and User Guide Status Monitoring and Statistics ...
Страница 204: ...204 Summit24e3 Switch Installation and User Guide Interior Gateway Routing Protocols ...
Страница 212: ...212 Summit24e3 Switch Installation and User Guide Safety Information ...
Страница 216: ...216 Summit24e3 Switch Installation and User Guide Supported Standards ...
Страница 238: ...238 Index Summit24e3 Switch Installation and User Guide ...
Страница 244: ...244 Index of Commands Summit24e3 Switch Installation and User Guide ...