?
Solved

Basic traffice forwarding on 1710 router

Posted on 2004-10-20
8
Medium Priority
?
224 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 43

Assisted Solution

by:JFrederick29
JFrederick29 earned 1000 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
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

 
LVL 79

Accepted Solution

by:
lrmoore earned 1000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

719 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