【文章內(nèi)容簡(jiǎn)介】
復(fù)用 (PAT) 端口復(fù)用的特征是內(nèi)部多個(gè)私有地址通過不同的端口被映射到一個(gè)公網(wǎng)地址, Overloading, or Port Address Translation (PAT), maps multiple private IP addresses to a single public IP address. Multiple addresses can be mapped to a single address because each private address is tracked by a port number. 理想狀況下,一個(gè)單一的 IP地址可以使用的端口數(shù)為4000個(gè)。 Realistically, the number of ports that can be assigned a single IP address is around 4000. NAT分類( NAT Class) 169。 2020, Shenzhen Polytechnic. All rights reserved. 13 PAT特征( PAT Features) 169。 2020, Shenzhen Polytechnic. All rights reserved. 14 配置 NAT (Configuring NAT) 169。 2020, Shenzhen Polytechnic. All rights reserved. 15 靜態(tài) NAT配置實(shí)例 (Static NAT Example) 169。 2020, Shenzhen Polytechnic. All rights reserved. 16 靜態(tài) NAT配置實(shí)例 (Static NAT Example) r1(config)ip nat inside source static r1(config)ip nat inside source static r1(config)interface f0/0 r1(configif)ip nat inside r1(config)int s0/0 r1(configif)ip nat outside 169。 2020, Shenzhen Polytechnic. All rights reserved. 17 靜態(tài) NAT配置實(shí)例 (Static NAT Example) r1 debug ip nat IP NAT debugging is on 00:11:09: NAT: s=, d= [40936] 00:11:09: NAT*: s=, d= [40936] 00:11:10: NAT*: s=, d= [40938] r1 sh ip nat translations Pro Inside global Inside local Outside local Outside global