10-16-2013 02:01 AM - edited 03-04-2019 09:19 PM
I am trying to setup my lab so that I can have internet access. I am having a little problem configuring my router to allow it.
Here is what I have going on:
Dlink Router connected to the Internet Modem
Cisco 2821 connect to LAN port on back of Dlink Router
Dlink
192.168.1.1
Cisco 2821
Gigabit ethernet 0/0 192.168.1.119 ----> connection to Dlink Router
Gigabit ethernet 0/1 192.168.0.119 ---> connection to Lab Switch
interface GigabitEthernet0/0
ip address 192.168.1.119 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 192.168.0.119 255.255.255.0
duplex auto
speed auto
!
!
ip nat source list 101 interface GigabitEthernet0/1 overload
ip route 0.0.0.0 0.0.0.0 192.168.1.1
!
access-list 101 permit ip any any
What do I have wrong?
10-16-2013 03:07 AM
Hi,
Few things, could you try:
ip nat inside source list 10 interface GigabitEthernet0/0 overload
access-list 10 permit 192.168.1.0 0.0.0.255
Sent from Cisco Technical Support iPhone App
10-16-2013 03:21 AM
Got, after staring it for a few more moments I figured it out. Had my NAT and DNS messed up.
10-16-2013 04:44 AM
I am glad that you figured it out. Thank you for posting back to the forum to tell us that it is solved and what the problem was.
HTH
Rick
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