Chapter 4 Tutorials
4.3 Using NAT with Multiple Public IP Addresses
This chapter shows you examples of how to set up your ZyXEL Device if you have
more than one fixed (static) IP address from your ISP.
4.3.1 Example Parameters and Scenario
The following table shows the public IP addresses from your ISP and your ZyXEL
Device's LAN IP address.
Public IP Addresses
ZyXEL Device's LAN IP
Address
The following figure shows the network you want to set up in this example.
• Assign the first public address (1.2.3.4) to the ZyXEL Device's WAN port.
• Map the second and third public IP addresses (1.2.3.5 and 1.2.3.6) to the web
and mail servers (192.168.1.12 and 192.168.1.13) respectively for traffic in
both directions.
• Map the first public address (1.2.3.4) to outgoing traffic from other local
computers.
• Map the first public address (1.2.3.4) to incoming traffic from the WAN.
• Forward FTP traffic using port 21 from the WAN to a specific local computer
(192.168.1.39).
• The last public IP address (1.2.3.7) is not mapped to any device and is reserved
for future use.
Figure 24 Tutorial Example: Using NAT with Static Public IP Addresses
LAN
192.168.1.39
192.168.1.12
To set up this network, we are going to:
54
1.2.3.4 to 1.2.3.7
192.168.1.1
FTP
192.168.1.39
192.168.1.1
Web
Mail
192.168.1.13
Mapping rules:
192.168.1.12 <---> 1.2.3.5 (1-1)
192.168.1.13 <---> 1.2.3.6 (1-1)
Other outgoing LAN traffic ---> 1.2.3.4 (M-1)
Incoming traffic <--- 1.2.3.4 (Server)
FTP
1.2.3.4
1.2.3.5
1.2.3.6
1.2.3.7
WAN
Internet
P-2612HW-F1 User's Guide