Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Trying to configure Cisco 1605 between cable modem and a Hub with 2 PC's

Posted on 2003-03-05
12
Medium Priority
?
577 Views
Last Modified: 2012-08-14
I am a beginer to the Cisco world and I'm trying to configure a 1605 so I can share internet access between 2 PC's.  Right now I have the Hub Uplink connected to Eth0 and the Cable modem connected to Eth1.

I've set the IP that the cable modem gave to me to the Eth1 port and I am able to ping that port but nothing past it.  I've also set the Eth0 port to 192.168.1.1/24.

Can you please help me get connected to the internet via the computers connected to the Hub.

Thanks
0
Comment
Question by:avfc88
[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
  • 4
  • 3
  • 2
  • +2
12 Comments
 

Expert Comment

by:sw1tch_n1nja
ID: 8077452
You have to setup nat on the e1 interface....since your new i recommend you download cisco config maker...
0
 

Expert Comment

by:velimirmkd
ID: 8077567
You will have to NAT the traffic from yuor internal network to the Internet since the adresses you use internaly are not legal routable adresses on the Internet.  To do that firs define nat inside and nat outside interfaces.  The commands are "ip nat inside" and "ip nat outside".  Put your ethernet interface to the cable as outside, and your ethernet interface towards the lan as inside.  The only two more commands that you need in global config mode are:
default route 0.0.0.0 0.0.0.0 interface"the_one_to_cable" and ip nat inside source interface"the_one_to_LAN" overlaod

That is all you need.  Anyway about the cisco config maker.  It is a usefull tool, but if you want to learn how to configure cisco routers than you will have to do it from the command line :-)

Hope this helps
Velimir
0
 

Author Comment

by:avfc88
ID: 8077692
Velimir,
I've input the two NAT commands, thank you. But it does not like the other two commands;
default route 0.0.0.0 0.0.0.0 interface eth1
**it wants default route-map or router not route 0.0....

and
ip nat inside source interface eth0 overlaod
**it wants after source, list or route map or static not the interface
0
ATEN's HDBaseT Presentation at InfoComm 2017

Hear ATEN Product Manager YT Liang review HDBaseT technology, highlighting ATEN’s latest solutions as they relate to real-world applications during her presentation at the HDBaseT booth at InfoComm 2017.

 

Expert Comment

by:velimirmkd
ID: 8077757
Sorry about that I should have done it more clearly. the commands are part descriptive part commands, my bad, here are the commands
ip route 0.0.0.0 0.0.0.0 "the_interface_to_cablemodem"
access-list 1 permit any
ip nat inside source list 1 interface "the_interface_to_LAN" overload

!!!The last two rows are one command

Hope this helps
Velimir
0
 

Author Comment

by:avfc88
ID: 8077923
Those worked, but still nothing to the internet.  The link lights are both green and on the front of the router green lights flashing on both ports.

I've tried pinging various gateways and nothing.  Is there an ipconfig/renew command  for the router?  This is what I have to do everytime I plug the cable modem into a different computer.

Not sure what to try now?
0
 

Expert Comment

by:phatgreenbuds67
ID: 8081454
Are you set up with your provider with DHCP or do you have static IP's? You will need static if you want this NAT to work.  Also the default route statment needs to be the default gateway address of your providers network not your cable modem.  UNLESS this is a cable modem like a linksys or netgear that you have bought yourself.  If that is the case then this changes the picture completely.

0
 

Expert Comment

by:velimirmkd
ID: 8084684
Hi,

I will have to disagree with phatgreenbuds67 on the DHCP, NAT issue.  You dont need a static IP to be able to NAT, that is why you specify your WAN interface.  That way whichever address you get assigned no matter by which DHCP is used as source address for the packets exiting the router.  I agree with the statement about the default gateway address, but it works just fine when you specify your default route throough your interface that is connected to the external network (in your case your ISP).  
avfc88, here is what you shoutd debug next.
First of all there is no ipconfig comand on the Cisco. So you will have to log on the router and try pinging from there both you internal network and internet.  That will give you an idea of where the packets get stuck.  Also you can issue the following command:
sh ip nat trans
That command will show you if your nat is working properly.
The last thing to do is to get on any of the PC's behind the router and try pinging first the internal interface of your router, then external (the one that is connected to the cable provider).  This should help you as well.

Well that is for now, hope I helped
Velimir
0
 

Author Comment

by:avfc88
ID: 8095422
The cable internet provider is set up with DHCP.  When I plug my different PC's into the cable modem they each grab a different ip address and a different default gateway. This is why I would imagine that the router would also grab a different ip and gateway ip and I'm not sure how to figure out what the ip is that would be set to the router after I power cycle the cable modem because the two ip's that are on the dif pc's are not working. (should i be setting the ip address on the outside int to the ip adddress from the cable modem and the default gateway from the cable modem to the defualt ip?)  
0
 

Accepted Solution

by:
velimirmkd earned 360 total points
ID: 8099786
avfc88,

You don't need to know the IP that is assigned to your router by the cable provider, and it can be different and changed every interval or whenever you power your router.  What you need to do is to set up a static private address on the ethernet interface that is connected to your LAN, for example 10.0.0.1/24.  Then since you have only two pc on the LAN set them up with static IPs too from the same range 10.0.0.X/24 and set them go default gateway 10.0.0.1.  Also set the DNS to be the DNS of your Cable provider, you may have to ask them for the IP, or you can find it out from the router.  Next set a NAT translation as explained before.  Set the default route as explained before, and the access list.  That is all you need to get routing and to get connected, nothing more.

Velimir
0
 

Expert Comment

by:phatgreenbuds67
ID: 8103449
velimirmkd is absolutely correct. I have done this in the past but I had very flaky success with it. Often the router simply would not pick up the DHCP address unless I forced it by downing the interface or rebooting all together...granted I did not put a great deal of effort into making it work because 2 days later I had my static IP's assigned and had no use for this method. Nevertheless he is right in what he is telling you.
0
 

Expert Comment

by:CleanupPing
ID: 9153250
avfc88:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

Are You Ready for GDPR?

With the GDPR deadline set for May 25, 2018, many organizations are ill-prepared due to uncertainty about the criteria for compliance. According to a recent WatchGuard survey, a staggering 37% of respondents don't even know if their organization needs to comply with GDPR. Do you?

Question has a verified solution.

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

During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
This article is in regards to the Cisco QSFP-4SFP10G-CU1M cables, which are designed to uplink/downlink 40GB ports to 10GB SFP ports. I recently experienced this and found very little configuration documentation on how these are supposed to be confi…
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…
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…
Suggested Courses

704 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