Help with nat & dns

Mar 06, 2006 5 Replies

Hi All,



I have my 1605R routers outside on ether0 and inside on ether1. I have my dsl modem connected in on outside (192.168.0.1 Modem - 192.168.0.2 Ether0). On the inside I have my 2908XL switch connected to Inside Ether1 which is dhcp the range 192.168.1.100 upwards.



On connect up, all is fine. I have 3 macs that get an IP from the given range. However they dont get the DNS IP's sent to them, so I have had to manually type those in.



I can ping my modem on 192.168.0.1 from 192.168.1.103 with out any problems, but I cant get any internet on any of my macs.



Here is my conf !



cisco1605#sh conf Using 1067 out of 7506 bytes ! version 12.2 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname cisco1605 ! enable secret 5 $1$l7iK$k2pWJZE0tCVCzTVlvYsDi1 enable password hello ! ip subnet-zero no ip routing no ip domain-lookup no ip dhcp conflict logging ip dhcp excluded-address 192.168.1.0 192.168.1.101 ! ip dhcp pool home network 192.168.1.0 255.255.255.0 domain-name home.com dns-server 212.23.8.1 212.23.8.6 default-router 192.168.1.50 lease 7 ! ! ! ! interface Ethernet0 description connected to Internet ip address 192.168.0.2 255.255.255.0 ip nat outside no ip route-cache ! interface Ethernet1 description connected to EthernetLAN ip address 192.168.1.50 255.255.255.0 ip nat inside no ip route-cache ! interface Serial0 description connected to Router no ip address encapsulation ppp no ip route-cache shutdown ! ip nat inside source list 101 interface Ethernet0 overload ip classless ip http server ! ! line con 0 exec-timeout 0 0 password hello login line vty 0 4 password hello login ! end


Cheers for the help !



where is access-list 101 ???

access-list 101 permit ip 192.168.1.0 0.0.0.255 any

For DNS, try configuring just one DNS server to see if the MACs will accept

Cheers for the help !

My macs are running 10.4.5 !

I have made both your recommended changes, but still no joy.

Any other ideas ?

cisco1605#sh running Building configuration...

Current configuration : 1098 bytes ! version 12.2 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname cisco1605 ! enable secret 5 $1$l7iK$k2pWJZE0tCVCzTVlvYsDi1 enable password hello ! ip subnet-zero no ip domain-lookup no ip dhcp conflict logging ip dhcp excluded-address 192.168.1.0 192.168.1.101 ! ip dhcp pool home network 192.168.1.0 255.255.255.0 domain-name home.com dns-server 212.23.8.1 default-router 192.168.1.50 lease 7 ! ! ! ! interface Ethernet0 description connected to Internet ip address 192.168.0.2 255.255.255.0 ip nat outside ! interface Ethernet1 description connected to EthernetLAN ip address 192.168.1.50 255.255.255.0 ip nat inside ! interface Serial0 description connected to Router no ip address encapsulation ppp shutdown ! ip nat pool net192 192.168.1.100 192.168.1.254 netmask 255.255.255.0 ip nat inside source list 101 pool net192 overload ip classless ip http server ! access-list 101 permit ip 192.168.1.0 0.0.0.255 any ! line con 0 exec-timeout 0 0 password hello login line vty 0 4 password hello login ! end

Also im trying to figure out what the gateway router address should be. I have it set as 192.168.1.50 in the dhcp section. Should this me the IP of the outside NIC or is that ok ?

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required