06-06-2020 02:17 AM
In the attechments you find my whole Network in PacketTracer. Can somebody tell me, if my NAT is working correctly?
It should be very simple, as it is simply about 5 lines of code. The dynamic NAT is working on the R7-Router.
Here the running-config of R7:
R7(config-router)#do show run
Building configuration...
Current configuration : 1030 bytes
!
version 15.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R7
!
!
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0/0
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet0/0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/1/0
ip address 171.16.0.1 255.255.0.0
ip nat inside
!
interface Serial0/1/1
ip address 100.0.0.2 255.0.0.0
ip nat outside
clock rate 2000000
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
router-id 4.4.4.4
log-adjacency-changes
network 171.16.0.0 0.0.255.255 area 0
network 100.0.0.0 0.255.255.255 area 0
!
ip nat pool NAT-POOL 100.0.0.3 100.0.0.40 netmask 255.0.0.0
ip nat inside source list 1 pool NAT-POOL
ip classless
!
ip flow-export version 9
!
!
access-list 1 permit 192.168.2.0 0.0.0.255
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
Here the running-config of R8:
R8(config-router)#do show run
Building configuration...
Current configuration : 918 bytes
!
version 15.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R8
!
!
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0/0
ip address 192.168.2.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/1/0
ip address 171.16.0.2 255.255.0.0
clock rate 2000000
!
interface Serial0/1/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
router-id 5.5.5.5
log-adjacency-changes
passive-interface GigabitEthernet0/0/0
network 192.168.2.0 0.0.0.255 area 0
network 171.16.0.0 0.0.255.255 area 0
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
06-06-2020 05:50 AM
Ok,I have one last question: At the moment I am not able to ping from one IPv6-PC to another IPv6-PC. The packet dies in simulation mode instantly at the PC and does not go further. Does anyone have any suggestion why that is the case and how I can get the PING problem solved?
06-06-2020 04:12 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide