Hello everybody so as you can see from the title of this thread I have some problems with dynamic NAT'ing in a subnet and I just can't get it to work.
So I have a subnet of 20 pc's and want to dynamicaly NAT these pc's IP's to different set of IP's.
Here is the router configuration:
Router#sh run
Building configuration...
Current configuration : 1194 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
ip dhcp excluded-address 190.56.8.150 190.56.8.158
!
ip dhcp pool dhcp_1
network 190.56.8.128 255.255.255.224
default-router 190.56.8.129
dns-server 192.168.0.4
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
ip ftp username admin
ip ftp password ftp
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 190.56.8.129 255.255.255.224
ip nat inside
duplex auto
speed auto
!
interface FastEthernet1/0
ip address 192.168.0.1 255.255.255.248
ip nat outside
duplex auto
speed auto
!
interface Serial2/0
no ip address
clock rate 2000000
shutdown
!
interface Serial3/0
no ip address
clock rate 2000000
shutdown
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
router rip
!
ip nat pool grup1 195.10.1.1 195.10.1.20 netmask 255.255.255.0
ip nat inside source list 1 pool grup1
ip classless
ip route 170.100.5.0 255.255.255.248 192.168.0.5
!
ip flow-export version 9
!
!
access-list 1 permit 190.56.8.128 0.0.0.31
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
So I have a subnet of 20 pc's and want to dynamicaly NAT these pc's IP's to different set of IP's.
Here is the router configuration:
Router#sh run
Building configuration...
Current configuration : 1194 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
ip dhcp excluded-address 190.56.8.150 190.56.8.158
!
ip dhcp pool dhcp_1
network 190.56.8.128 255.255.255.224
default-router 190.56.8.129
dns-server 192.168.0.4
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
ip ftp username admin
ip ftp password ftp
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 190.56.8.129 255.255.255.224
ip nat inside
duplex auto
speed auto
!
interface FastEthernet1/0
ip address 192.168.0.1 255.255.255.248
ip nat outside
duplex auto
speed auto
!
interface Serial2/0
no ip address
clock rate 2000000
shutdown
!
interface Serial3/0
no ip address
clock rate 2000000
shutdown
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
router rip
!
ip nat pool grup1 195.10.1.1 195.10.1.20 netmask 255.255.255.0
ip nat inside source list 1 pool grup1
ip classless
ip route 170.100.5.0 255.255.255.248 192.168.0.5
!
ip flow-export version 9
!
!
access-list 1 permit 190.56.8.128 0.0.0.31
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end