Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Routing issue

Status
Not open for further replies.

ultramonkey

Technical User
Joined
Jul 25, 2005
Messages
8
Location
GB
Hi,
I am trying to link 2 cisco boxes one which is my gateway with the second thats my isp. I have configured as below and attached my laptop to the lan with an ip of 192.168.69.22. From the router I can ping the internet, but from the LAN I can only ping my f0/0 and not the router beyond (213.140.170.225).

interface VLAN1
ip address 192.168.69.254 255.255.255.0
ip nat inside

interface FastEthernet0/0
ip address 213.140.170.226 255.255.255.240
ip nat outside

ip default-gateway 192.168.69.254
ip route 0.0.0.0 0.0.0.0 213.140.170.225


I have missed something simple, help!!!
 
the fact that you can ping your own interface tells you that the connection is up and good.

i assume there is more nat setup that you have excluded here?
 
the only other NAT config is just the access-list (at the moment this is any to keep the issue simple)
 
i just re-read your statement
you need nat to translate your internal addressing to your publicly routable address

ip nat inside source list 1 interface fa0/0 overload

access list 1 being your access list to permit your lan


so:
access-list 1 permit ip 192.168.69.0 0.0.0.255
ip nat inside source list 1 interface fa0/0 overload



that should do it. of course you can use whatever access list number you want
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top