Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Nat

  • Login to see the comments

  • Be the first to like this

Nat

  1. 1. NAT (Network Address Translation) Bài 1: Static NAT Tại R1: R1(config)#int f0/0 R1(config-if)#ip nat inside R1(config)#int s0/0 R1(config-if)#ip nat outside R1(config)#ip nat inside source static 192.168.1.1 195.168.1.5 Tại R2: R2(config)#int f0/0 R2(config-if)#ip nat inside R2(config)#int s0/0 R2(config-if)#ip nat outside R2(config)#ip nat inside source static 193.168.1.1 195.168.1.10 R1 PC1 R2 PC2 195.168.1.0/24 .1 .2 S0/0 F0/0 S0/0 192.168.0.0/24 193.168.1.0/24 F0/0.2 .1 .2 .1 ServerClient
  2. 2. Bài 2: Dynamic NAT Tại R1: R1(config)#int f0/0 R1(config-if)#ip nat inside R1(config)#int s0/0 R1(config-if)#ip nat outside R1(config)#ip nat pool Nhoc 195.168.1.10 195.168.1.10 netmask 255.255.255.0 R1(config)#ip nat inside source list 1 pool Nhoc overload R1(config)#access-list 1 permit any R1 SW R2 SW 195.168.1.0/24 .1 .2 S0/0 F0/0 S0/0 192.168.0.0/24 193.168.1.0/24 F0/0 .2.1 .2 .1 PC1 PC2 PC3 PC4 .3 .4 PC5 Server .10
  3. 3. Tại R2: R2(config)#int f0/0 R2(config-if)#ip nat inside R2(config)#int s0/0 R2(config-if)#ip nat outside R2(config)#ip nat inside source static 193.168.1.1 195.168.1.10

×