DSL through 1605R

Mar 09, 2006 4 Replies

Hi All,



With the help of a few people I have managed to get the 2 ether ports acting as inside & outside. I can ping my modem and even access the modem web based admin, but I cant get the internet through. I can see that the modem is connected to the web and I can see my external IP.



One thing im not sure about is what should be the default gateway ether0 (192.168.0.2 Outside), ether1(192.168.1.50 inside) or the modem (192.168.0.1)



DCHP is working fine.



Here is my config:-



cisco1605#sh run Building configuration...



Current configuration : 1135 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 * ! 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 route 0.0.0.0 0.0.0.0 192.168.0.1 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 * login line vty 0 4 password * login ! end



Your nat pool does not translate to outside e0 eth address. You should have ip nat inside source list 101 int e0 overload or a pool in the outside intf subnet 192.168.0.0 / 24

boxers999 a écrit :

For the cisco1605 itself it's modem [192.168.0.1]. For DHCP clients it's cisco1605's IP address [192.168.1.50].

While translating IP addresses you're using IPs from the same [non-routable] netblock. Perhaps you should translate everything into cisco1605's IP, and then your "modem" will do another translation, into global IP.

ip nat inside source list 101 interface Ethernet0 overload

And the ACL#101 should describe DHCP-assigned range of addresses.

For the cisco1605 itself it's modem [192.168.0.1]. For DHCP clients it's cisco1605's IP address [192.168.1.50].

Thanks for the help!

Im not sure what you mean by :-

Cheers

If the 192.168.0.2 IP address is indeed the address assigned to cisco1605's external interface, then your DSL "modem" definitely performs address translation. Otherwise nothing will work, as this IP is non-routable in global Internet. See RFC 1597.

Join the Discussion

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

Didn't find your answer?

Ask the community — no account required