Hey guys,
I have a controller with a public IP and I can ping and access the controller from any computer... I would like to create a NAT like the Pic below..
If I connect a computer to the controller I have a DHCP IP but no internet.. I'm pretty sure im missing something in the DNS seetings.. Do I have to setup Vlan 10 from scratch with public IP , netmask, gateway? what about DNS should I setup DNS then import DNS on Vlan 20 and use the gateway from vlan 10?
I'm pretty sure is something simple, can you guys please help me?
Thanks!
Gio.
I have 2 Vlans..
vlan 10
vlan 20
vlan-name Default
vlan-name INSIDE
vlan INSIDE 20
vlan-name OUTSIDE
vlan OUTSIDE 10
interface gigabitethernet 1/0
description "GE1/0"
trusted
trusted vlan 1-4094
switchport access vlan 10
!
interface gigabitethernet 1/1
description "GE1/1"
trusted
trusted vlan 1-4094
switchport access vlan 20
!
interface gigabitethernet 1/2
description "GE1/2"
trusted
trusted vlan 1-4094
!
interface gigabitethernet 1/3
description "GE1/3"
trusted
trusted vlan 1-4094
!
!
interface vlan 10
ip address 66.1.131.5 255.255.255.0
!
interface vlan 1
ip address 172.16.0.254 255.255.255.0
!
interface vlan 20
ip address 192.168.1.2 255.255.255.0
ip nat inside
!
ip default-gateway 66.1.131.1
uplink disable
ip dhcp excluded-address 192.168.1.0 192.168.1.10
ip dhcp pool default-pool
dns-server 172.16.0.254
lease 0 0 10 0
no vendor-class-identifier
network 172.16.0.0 255.255.255.0
authoritative
!
ip dhcp pool INTERNAL
default-router 192.168.1.1
dns-server import
domain-name test
lease 0 8 0 0
network 192.168.1.0 255.255.255.0
authoritative
!
service dhcp
#3600