Jump to content
Калькуляторы

NAT в CISCO 1941/K9 Не работает NAT

Не работает NAT на cisco:

 

!interface GigabitEthernet0/0no ip addressduplex autospeed auto!interface GigabitEthernet0/0.153encapsulation dot1Q 153ip address 192.168.9.254 255.255.255.252ip nat insideip virtual-reassembly in!interface GigabitEthernet0/1no ip addressduplex autospeed auto!interface GigabitEthernet0/1.110encapsulation dot1Q 110ip address 77.77.77.77 255.255.255.0ip nat outsideip virtual-reassembly in!ip nat inside source list 20 interface GigabitEthernet0/1 overloadip route 0.0.0.0 0.0.0.0 77.77.77.1ip route 192.168.10.0 255.255.255.0 192.168.9.253!access-list 20 permit 192.168.10.77!

 

Пингую с адреса 192.168.10.77:

 

$ ping 8.8.8.8PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.From 192.168.9.254 icmp_seq=1 Destination Host UnreachableFrom 192.168.9.254 icmp_seq=2 Destination Host UnreachableFrom 192.168.9.254 icmp_seq=3 Destination Host Unreachable^C--- 8.8.8.8 ping statistics ---3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 1998ms

 

Пингую с cisco:

 

#ping 8.8.8.8Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 24/24/24 ms

 

 

Что забыл прописать в Cisco, почему не работает?

Share this post


Link to post
Share on other sites

!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
!
interface GigabitEthernet0/1.110
encapsulation dot1Q 110
ip address 77.77.77.77 255.255.255.0
ip nat outside
ip virtual-reassembly in
!
ip nat inside source list 20 interface GigabitEthernet0/1 overload

 

Семен-семеныч... на Gi0/1 даже ip нет, не говоря о nat.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.