ほぼ全ての機能を新サイトへ移行しました

Re: NAT設定について

この質問の投稿一覧へ

なし Re: NAT設定について

msg# 1.6
depth:
1
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2018-11-26 22:57
inagozeixd  長老   投稿数: 31
arashiさん。ありがとうございます。
お恥ずかしいですが、natの設定をしつつ、loopbackだのospfだのと、
途中に他の設定を挟むに挟んで、何度かreloadしているうちに、設定が消えていたようです。
設定はしていたものの、reload前にcopy run staしていなかったことから、設定したつもりだと思いこんでいたことが原因でした。

試しに、再度pool設定をしたところ、ちゃんと動きました。

---PC1からPC2へのping出力結果---

PC-1> ping 192.168.200.1
192.168.200.1 icmp_seq=1 timeout
84 bytes from 192.168.200.1 icmp_seq=2 ttl=62 time=39.002 ms
84 bytes from 192.168.200.1 icmp_seq=3 ttl=62 time=39.003 ms
84 bytes from 192.168.200.1 icmp_seq=4 ttl=62 time=39.002 ms
84 bytes from 192.168.200.1 icmp_seq=5 ttl=62 time=39.002 ms

PC-1>

---natのshowコマンド出力結果---

R1#sh ip nat translation
Pro Inside global Inside local Outside local Outside global
icmp 192.168.0.1:18426 192.168.100.1:18426 192.168.200.1:18426 192.168.200.1:18426
icmp 192.168.0.1:18938 192.168.100.1:18938 192.168.200.1:18938 192.168.200.1:18938
icmp 192.168.0.1:19194 192.168.100.1:19194 192.168.200.1:19194 192.168.200.1:19194
icmp 192.168.0.1:19450 192.168.100.1:19450 192.168.200.1:19450 192.168.200.1:19450
icmp 192.168.0.1:19706 192.168.100.1:19706 192.168.200.1:19706 192.168.200.1:19706
--- 192.168.0.1 192.168.100.1 --- ---
R1#

R1#show ip nat statistics
Total active translations: 1 (0 static, 1 dynamic; 0 extended)
Outside interfaces:
FastEthernet0/0
Inside interfaces:
FastEthernet0/1
Hits: 4 Misses: 5
CEF Translated packets: 9, CEF Punted packets: 0
Expired translations: 5
Dynamic mappings:
-- Inside Source
[Id: 1] access-list natTestToRT2 pool toRT2 refcount 1
pool toRT2: netmask 255.255.252.0
start 192.168.0.1 end 192.168.3.1
type generic, total addresses 769, allocated 1 (0%), misses 0
Queued Packets: 0
R1#


とても助かりました。
ありがとうございます!

投稿ツリー

  >フォーラム検索へ


Copyright (c) 2020 Ping-t All rights reserved.
ログイン
ユーザ名 or E-Mailアドレス:

パスワード:







プレミアムコンテンツ

受験チケット(割引)

Contact

LPI-Japan Logo

LPI Logo