Question

Routing and switching

Asked by: hdoolittle

We have a small Linksys router in the 192.168.1.0 network, plugged into a Cisco 2950 Switch, in port 1, port 24 is connected to the primary 2950 in port 24. My Primary switch is our production switch with all the servers and routers connected, with all public IPs, so I don't want to goof it's function up. The only configuration changes made were on ports 24 on both switches to get them talking.
Set port mode to trunk, and turned off STP.

The only VLAN is VLAN1, in the switches.

I want to route the private network, 192.168.1.0 through  the secondary switch to get to the internet. What do I need to do?

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-08-19 at 06:38:26ID24664701
Tags

Cisco Routing

Topics

Network Switches & Hubs

,

Network Routers

Participating Experts
1
Points
250
Comments
15

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. routing vlans and trunking
    Hi, I am a bit of a beginner on Cisco programming and need some help with syntax. I have a moderate knowledge of networking concepts and understand the principles of dot1q and trunking; however here is my situation. I have a Cisco 3550 (L3) switch and two separate 2950 switch...
  2. Vlan trunking - Checkpoint to Cisco
    I am attempting to connect a checkpoint VPN-1 edge x16 to a Cisco 2950 via a VLAN trunk. I have defined the various VLANs on the firewall and set the DMZ/WAN2 port to be a VLAN trunk. This port is connected to the Cisco 2950 port fa0/1, this port is also defined as a trunk w...
  3. Trying to Trunk Vlans across 2 different Switch Vendors i…
    I have a Procurve switch NON poe 24 port .... And I just got a New Linksys 24 port POE and were running out of ports and need a POE for our Mitel phones and replace a data power poe thats using twice of the amount of cables and clean up our rack a bit.... But anyways on mY...
  4. Accessing 2960G cisco switch via VLAN trunk
    hi, I have limited exposure to cisco switching, but have a rough understanding of what is happening, I recently installed a 2960G cisco switch in to our new office space. We created a trunk back to our core swtich that carries all the VLAN's used. I configured all switche...
  5. vlan-trunking
    Hi, When doing trunking between two switches how do we allocate the ips? Say if vlan 1 in one switch has x.x.x.5 and same vlan 1 on another switch should have x.x.x.6? am i correct to say that? further what is the purpose of having two same vlans in two switches with diffe...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: CanalInsPosted on 2009-08-19 at 07:09:19ID: 25132789

You will need to specify an interface in your router for the 192.168.1.0 network. This will be your default gateway for the hosts in the 192.168.1.0 network.

If you are allowing your linksys to do DHCP I would put the router's LAN port in its own vlan. You will also need to put your hosts for that network in that VLAN. This will prevent any accidental DHCP assignments.

You will also need to put the WAN port of your linksys in teh same VLAN as your internet connection. It will need to be assigned a static public address and you will need to get with your ISP for any specific settings needed to get the Linksys talking on the internet.

This setup would give you a standalone LAN that could get to the internet.

 

by: hdoolittlePosted on 2009-08-19 at 08:37:40ID: 25133971

"You will also need to put your hosts for that network in that VLAN." if the hosts are connected to the linksys already assigned to a VLAN, would that not take care of this?

'You will also need to put the WAN port of your linksys in the same VLAN as your internet connection." Will this be the VLAN I am creating above?

What would I need from the ISP?

 

by: CanalInsPosted on 2009-08-19 at 09:01:01ID: 25134197

Ok. Your questions helped me understand your original question better.

If you are plugging your hosts into the Linksys directly all you will need to worry about is the WAN port.

Since your managed switches only have one VLAN I am assuming that your ISP is delivering an ethernet connection and it is patched into one of your switches. Is this the case or do you have your internet connection terminating in a router and the router's internal interface is patched in to your switch?

If the internet connection is patched directly into the switch you would need a static public IP address, the ISP's assigned default gateway, and public DNS servers. Depending on the ISP you may need authentication information such as PPPoE credentials etc.

What type of connection is it and how does it get to your switch?

 

by: hdoolittlePosted on 2009-08-19 at 10:17:00ID: 25135045

I am an ISP, normally someone else does this and I  am trying to take care of it myself instead of outsourcing it and plus I am getting ready to take my CCNA exam. I wanted to setup a VLAN, instead of using the VLAN1, again for training.

I can assign a public IP to the linksys. The router is plugged into a primary switch, with all my other servers, it is patched to my backup/secondary switch. The linksys is plugged into the secondary switch, port 1. I have assigned 192.168.1.250 to VLAN1 in secondary switch, Primary has 192.168.1.200 in VLAN1.

My IP to my router is 12.195.84.1. I have all my DNS too.

 

by: hdoolittlePosted on 2009-08-19 at 10:25:14ID: 25135124

This is in the .4 router............

router rip
network 10.0.0.0
network 12.0.0.0
network 63.0.0.0
!
ip classless
no ip forward-protocol udp tftp
no ip forward-protocol udp domain
no ip forward-protocol udp time
no ip forward-protocol udp netbios-ns
no ip forward-protocol udp netbios-dgm
no ip forward-protocol udp tacacs
ip route 0.0.0.0 0.0.0.0 12.118.65.101
ip route 0.0.0.0 0.0.0.0 12.118.65.57
ip route 0.0.0.0 0.0.0.0 12.118.65.109
ip route 0.0.0.0 0.0.0.0 12.118.65.53
ip route 172.16.0.0 255.240.0.0 Null0
ip route 192.168.0.0 255.255.0.0 Null0                      (is this my route already configured?)
no ip http server

 

by: hdoolittlePosted on 2009-08-19 at 10:29:47ID: 25135151

Do I need to add my 192.168.0.0 network here?

interface FastEthernet4/0
 ip address 12.195.87.1 255.255.255.0 secondary
 ip address 12.195.86.1 255.255.255.0 secondary
 ip address 12.195.84.1 255.255.255.0
 duplex full

 

by: CanalInsPosted on 2009-08-19 at 10:35:01ID: 25135194

OK lets start with getting your Linksys LAN working.

Your 2 switches (Primary and Secondary) are trunked via port 24. Since you have that in place each switch can forward all traffic for each VLAN.

Since you only have VLAN 1 the trunk is not that big of a deal.

On your Linksys the WAN port must be in VLAN1 with your public address etc. This allows the Linksys access to the internet. Unless you are using your switches to do routing you will only need your VLAN1 interfaces in the switch for management.

If you are plugging your hosts into the Linksys directly you are done execpt for routing to the internet.

If you are not plugging the hosts in directly you need to create a VLAN in your secondary switch for your Linksys LAN port. You can do this my going into the interface config of the Cisco port you plugged Linksys LAN port into and typing

switchport mode access
switchport access vlan X  (replace X with your vlan number)

This will create the vlan and assign the port at the same time. You will need to repeat this process for any host you want to add to the Linksys LAN. Assign each host port to the same vlan.

See if that will get your hosts talking with the Linksys and DHCP etc. If that works we will start on the internet routing part.

 

by: CanalInsPosted on 2009-08-19 at 10:43:23ID: 25135275

ip route 0.0.0.0 0.0.0.0 12.118.65.101
ip route 0.0.0.0 0.0.0.0 12.118.65.57
ip route 0.0.0.0 0.0.0.0 12.118.65.109
ip route 0.0.0.0 0.0.0.0 12.118.65.53
ip route 172.16.0.0 255.240.0.0 Null0
ip route 192.168.0.0 255.255.0.0 Null0

This is basically saying route anything with the address of 192.168.0.0 to the Null0 interface. This is there because 192.168 is not a public routable address.

The other routes look like multiple default routes (any host) can be sent to any of these gateways. (12.118.65.x)

I think where the confusion is coming in is you are forgetting that your Linksys is a router. Your 192.168.x.x network only exists behind the Linksys. When a host on 192.168.x.x tries to go to the internet your Linksys is using NAT (Network Address Translation) to make it look like all hosts are a single public IP address. As long as the public IP address is assigned to the Linksys in its config, your WAN port on the Linksys is patched into your VLAN1 and you have allowed that address to be routed on your public network you will get internet for the hosts behind the Linksys.

Does that make sense?

 

by: hdoolittlePosted on 2009-08-19 at 11:05:24ID: 25135519

Yes it makes sense, well crap this just defeated my whole self task. I assigned the public IP to the Linksys gave the new gateway and it came right up. So this was already configured.

 

by: CanalInsPosted on 2009-08-19 at 11:56:11ID: 25136001

If you are wanting to try and get some hands on experience there are some good IOS simulators that you can play with and not worry about breaking things.

I have used Boson (not free but decent)

http://www.boson.com/


Here's snother I have heard good things about and it is opensource:

http://dynagen.org/


I used Boson a lot when I was studying for my CCNA. The hands on is essential to pass your test. Did you have any more questions about what you were working on?

 

by: hdoolittlePosted on 2009-08-19 at 12:10:51ID: 25136159

Canallns, I did purchase a study guide which is all the ICND1 & 2 manuals, plus an IPOD with the lectures on it and it came online time routers, switches for hands on training, but their schedule is in 8 hour shifts and they are central time, so it is difficult to get my time in and work.

I do appreciate the advice and links. I will check them out.

 

by: CanalInsPosted on 2009-08-19 at 12:33:50ID: 25136412

No Problem. Good Luck! Just some advice, know subnetting really well before you sit for the test.

 

by: hdoolittlePosted on 2009-08-19 at 12:41:25ID: 25136511

It took me a while to get it, but I feel good about the subnetting. I am using subnettingquestions.com to work on my timing, on working the problems out now. Do you remember if there were a lot of VLSM problems? I know there'll be questions but was wondering about figuring VLSM classes and such.

 

by: CanalInsPosted on 2009-08-19 at 12:47:19ID: 25136583

I did have a few. A lot of mine that took time were questions where they give you a list of various IP addresses and you have to figure out which one is wrong or you have to assign the most appropriate subnet mask etc.

 

by: hdoolittlePosted on 2009-08-19 at 13:08:49ID: 25136790

Ok, thanks for all, you have been very helpful.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...