Solved

Basic traffice forwarding on 1710 router

Posted on 2004-10-20
8
217 Views
Last Modified: 2013-11-30
int e0 set to 192.168.1.1 255.255.255.0

int fa0 set to 209.40.171.195 255.255.255.224  (ISP Supplied) Also, the ISP said my gateway is 209.40.171.193

I have created an access list:
     access-list 100 permit tcp any any

I assigned this access-list to int e0
     ip access-group 100 out

I still can not ping any "outside" web sites from the router....what is wrong?  What am I supposed to do with the 209.40.171.193 address?
0
Comment
Question by:MCHDMISDEPT
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 43

Assisted Solution

by:JFrederick29
JFrederick29 earned 250 total points
ID: 12360415
I don't think you want only TCP traffic to be allowed out do you?  If you want to allow all traffic, the access-list should be "access-list 100 permit ip any any"  but if you are going to use that access-list, you might as well not even use one.  Get rid of the access-list all together.

The gateway needs to be used in your default route statement:

ip route 0.0.0.0 0.0.0.0 209.40.171.193

Do you have NAT setup on the router?

int e0
ip address 192.168.1.1 255.255.255.0
ip nat inside

int fa0
ip address 209.40.171.195 255.255.255.224
ip nat outside

ip nat inside source list 1 interface fa0 overload

access-list 1 permit 192.168.1.0 0.0.0.255
0
 

Author Comment

by:MCHDMISDEPT
ID: 12360455
question:  Do you have to use NAT any time you setup a router...i mean what happens if you dont use the NAT statement
0
 
LVL 43

Expert Comment

by:JFrederick29
ID: 12360485
You need to use NAT when you are connecting to the Internet and using a private address space on the internal network.

You are using 192.168.1.0 which is a private subnet (not routable on the Internet).

209.40.171.195 is a public address (routable on the Internet).  NAT allows you to connect privately addressed systems to the Internet using the public IP address from your ISP.  Basically, NAT translates the 192.168.1.x address to 209.40.171.195.

You need to use NAT in your situation.
0
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 
LVL 79

Accepted Solution

by:
lrmoore earned 250 total points
ID: 12360493
   > access-list 100 permit tcp any any
>I assigned this access-list to int e0
     ip access-group 100 out

>I still can not ping any "outside" web sites from the router....what is wrong?
Because you did not permit ICMP or UDP (for DNS resolution), only TCP in your acl

Agree with JFrederick29, simply remove the access-group from the interface. you have it applied in the wrong direction anyway.. should be "in" instead of "out", but like JF said, it's not needed at all if you want to permit everything anyway..


0
 

Author Comment

by:MCHDMISDEPT
ID: 12360505
Great!  Finally someone answered my simple question.  Thanks.
0
 
LVL 5

Expert Comment

by:AutoSponge
ID: 12360585
There is an implicit deny at the end of all ACLs and they process line-by-line in order.
0
 
LVL 43

Expert Comment

by:JFrederick29
ID: 12360593
Keep in mind, you may be permitting all the necessary traffic but if you don't have NAT properly configured, you will never be able to ping/access an Internet host from a system on your internal network.
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 12403465
Any progress? Are you still working on this? Do you need more information?
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question