?
Solved

config file for cisco

Posted on 2005-03-15
5
Medium Priority
?
199 Views
Last Modified: 2010-04-17
Hi,

I have this cisco router what needs to be reconfigured.

The configuration is simple :

The wan ip adress should be : 80.200.46.100 (255.255.255.192)

The lan ip address should be : 192.168.99.16 (255.255.255.0)

dns1 : 195.238.2.21
dns2 : 195.238.2.22

he should forward everything to 192.168.100.16

Hope this is clear

Ps. can you also tell me how to upload this into the router (or what to do)
0
Comment
Question by:xylios
[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
5 Comments
 
LVL 79

Expert Comment

by:lrmoore
ID: 13544216
you can type these commands in line-by-line just as they are here. There are other ways that I will explain at the end.
This example assumes that your "WAN" interface is Ethernet 0 and your LAN interface is Ethernet 1.
You did not specify your router model or wan interface type. Interface numbering is slightly differenet depending on model.
You did not specify that you need Internet access - I will assume that you do
You did not specify your default gateway - I will use a placeholder that you can substitute the correct entry.

>he should forward everything to 192.168.100.16
That does not make sense. Please explain.

router>enable
Password:xxxxxxxx
router#config term
router(config)#  < all of the following commands will be entered here>


interface Ethernet 0
  ip address 80.200.46.100 255.255.255.192
  no shut
  ip nat outside
interface Ethernet 1
  ip address 192.168.99.16 255.255.255.0
  no shut
  ip nat inside
ip route 0.0.0.0 0.0.0.0 80.200.46.X  <== substitute the correct IP
ip nat inside source list 1 interface Ethernet0 overload
access-list 1 permit 192.168.99.0

That's pretty much all you need to get it functional. There are lots of things to make it more secure, but lets work on function first..


 
0
 

Author Comment

by:xylios
ID: 13545226
all trafic from the wan-side (internet) should be rerouted to 192.168.99.15 (sorry for the mistake)
0
 

Author Comment

by:xylios
ID: 13545257
oh by the way its a cisco router 800
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 13550312
>all trafic from the wan-side (internet) should be rerouted to 192.168.99.15
Still a bit confused on what your goal is here. Is this host another router, or is it a firewall, or what?
Do you have another public IP address that you can use in the same IP subnet as your WAN interface?
0
 
LVL 79

Accepted Solution

by:
lrmoore earned 2000 total points
ID: 13688177
Do you need more information? Can you close this question?
http://www.experts-exchange.com/help.jsp#hs5

Thanks!
0

Featured Post

Independent Software Vendors: 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

I have seen some questions on problems with SSH/telnet access to Cisco routers that may occur despite the fact that from a PC connected to your LAN, Internet connectivity is in place and users can access Internet sites without any issues.  There are…
There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

777 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