lioncub Posted January 25, 2016 Не работает 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, почему не работает? Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
ShyLion Posted January 25, 2016 ! 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. Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
Andrei Posted January 25, 2016 ip nat inside source list 20 interface GigabitEthernet0/1.110 overload Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...