Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Configuration of static NAT

2025-01-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Static translation refers to the translation of private IP addresses in the internal network to public IP addresses. IP address pairs are one-to-one and are immutable, and a private IP address is only translated into a public IP address. With the help of static conversion, the external network can access some specific devices (such as servers) in the internal network.

Let's do some experiments on the topology diagram.

Experimental goal

Address translated to 12.0.0.3 network segment when PC1 accesses PC3

Address translated to 12.0.0.4 network segment when PC2 accesses PC3

1: set the address and gateway of PC1 PC2 PC3 first

2: configure switch SW

Turn off the router function

Do the duplex matching of interface f1max 0

3: configure router R1

Enter global mode to do the duplex matching IP address of port f0amp 1 and turn it on

Set the IP of port f0max 0 and turn it on

4: configure NAT on the router

Convert 192.168.10.10 address to 12.0.0.3

Convert 192.168.10.20 address to 12.0.0.4

Enable NAT on the port

End exits to privileged mode

Turn on NAT snooping test debug ip nat

5: use PC1 PC2 ping PC3

You can view the details of NAT address translation

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report