03-01-2005 05:37 AM - edited 03-02-2019 09:56 PM
I'm looking for a configuration example for a 2621xm Router. The internet will be fed in E0 with a static public IP address, and I want to have static private IP addressing on E1 to allow users access to the internet. Can anyone help me with an example configuration file?
03-01-2005 06:18 AM
Hi,
In a nutshell you can use similar to:
!external (iSP) interface
!
interface Ethernet 0
ip address
description Connection to
no shutdown
!
!internal interface
!
interface Ethernet 1
ip address
description Connection to
no shutdown
!
!Route to internet
!
ip route 0.0.0.0 0.0.0.0
You should now be able to ping you ISP's gateway address and ping clients on your internal network, and thus pull web pages from the internet.
**Make sure that your internal clients default gateway matches your E1 interface on your router**
You may have other routers on your internal network with LANs hanging off them, this will require additional routing statements, let me know if this is the case?
Good luck!
Paddy
03-01-2005 03:30 PM
Thank you very much for the example I was missing 1 little line that made all the difference.
03-02-2005 03:34 AM
No problem
Rgds
PD
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide