【正文】
: s=, d= [0] NAT*: s=, d= [0] NAT: s=, d= [1] NAT: s=, d= [2] NAT: s=, d= [3] NAT*: s=, d= [1] NAT: s=, d= [4] NAT: s=, d= [5] NAT: s=, d= [6] NAT*: s=, d= [2] Troubleshooting NAT An example address translation insidetooutside. A reply to the packet sent. An example TCP conversation, insidetooutside. * Indicates translation was in the fast path. Clearing NAT Translation Entries All entries are cleared. is cleared. Routersh ip nat trans Pro Inside global Inside local Outside local Outside global tcp :11003 :11003 :23 :23 tcp :1067 :1067 :23 :23 routerclear ip nat trans * router routershow ip nat trans routershow ip nat trans Pro Inside global Inside local Outside local Outside global udp :1220 :1120 :53 :53 tcp :11003 :11003 :23 :23 tcp :1067 :1067 :23 :23 routerclear ip nat trans udp inside 1220 53 53 routershow ip nat trans Pro Inside global Inside local Outside local Outside global tcp :11003 :11003 :23 :23 tcp :1067 :1067 :23 :23 TCP 負(fù)載均衡 ? TCP 負(fù)載均衡:用于將一臺(tái)虛擬的主機(jī)映射到幾臺(tái)真實(shí)的主機(jī)上。 (如下圖 ) TCP 負(fù)載均衡 NAT table Inside Global IP Address: Port :80 :80 :80 Protocol TCP TCP TCP Inside Local IP Address: Port :80 :80 :80 Inter Inside Host B 4 5 SA DA SA DA 1 3 2 Host C Virtual host Real host