日本综合一区二区|亚洲中文天堂综合|日韩欧美自拍一区|男女精品天堂一区|欧美自拍第6页亚洲成人精品一区|亚洲黄色天堂一区二区成人|超碰91偷拍第一页|日韩av夜夜嗨中文字幕|久久蜜综合视频官网|精美人妻一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時(shí)間:8:30-17:00
你可能遇到了下面的問(wèn)題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營(yíng)銷解決方案
通過(guò)eNSP實(shí)現(xiàn)靜態(tài)NAT轉(zhuǎn)換

eNSP是圖形化網(wǎng)絡(luò)仿真平臺(tái),該平臺(tái)通過(guò)對(duì)真實(shí)網(wǎng)絡(luò)設(shè)備的仿真模擬。網(wǎng)絡(luò)轉(zhuǎn)換技術(shù)也叫做NAT技術(shù),他的作用就是實(shí)現(xiàn)私網(wǎng)IP和公網(wǎng)IP 的轉(zhuǎn)換來(lái)達(dá)到網(wǎng)絡(luò)的互通

實(shí)驗(yàn)環(huán)境:

pc:172.16.1.1/24

R1:g0/0/0 172.16.1.254/24 g0/0/1 192.168.1.254/24

server:192.168.1.1/24

pc和server在不同的網(wǎng)段,現(xiàn)在通過(guò)配置靜態(tài)NAT實(shí)現(xiàn)網(wǎng)絡(luò)互通。

網(wǎng)絡(luò)配置

pc端

R1端

[R1]int GigabitEthernet 0/0/0
[R1-GigabitEthernet0/0/0]ip add 172.16.1.254 24
[R1-GigabitEthernet0/0/0]
May 21 2020 14:46:37-08:00 R1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[R1-GigabitEthernet0/0/0]int g0/0/1
[R1-GigabitEthernet0/0/1]ip add 192.168.1.254 24
[R1-GigabitEthernet0/0/1]
May 21 2020 14:46:47-08:00 R1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.

server端

配置NAT

將192.168.1.20(公網(wǎng))與172.16.1.1(私網(wǎng))地址進(jìn)行綁定

[R1-GigabitEthernet0/0/1]nat static global 192.168.1.20 inside 172.16.1.1

測(cè)試

PC>ping 192.168.1.1

Ping 192.168.1.1: 32 data bytes, Press Ctrl_C to break
From 192.168.1.1: bytes=32 seq=1 ttl=254 time=15 ms
From 192.168.1.1: bytes=32 seq=2 ttl=254 time=15 ms
From 192.168.1.1: bytes=32 seq=3 ttl=254 time

由此,NAT轉(zhuǎn)換配置成功!


網(wǎng)站欄目:通過(guò)eNSP實(shí)現(xiàn)靜態(tài)NAT轉(zhuǎn)換
當(dāng)前鏈接:http://www.dlmjj.cn/article/dhhdejo.html