Solved

IP ROUTING and TRUNK ports

Posted on 2013-01-12
6
256 Views
Last Modified: 2013-01-13
In the case where I have 2 layer3 switches connected with only one cable.
I configure both connecting ports with "No Switchport".
Switch1 and Switch2 have different vlans configured and Vlan interfaces configured.
Now, do I still need a Trunk port between both switches in order to allow all vlans from both switches to talk to each other, OR the port that has been configured as "No Switchport" will be enough to do the job.

Thanks
0
Comment
Question by:jskfan
[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
  • 3
6 Comments
 
LVL 50

Assisted Solution

by:Don Johnston
Don Johnston earned 500 total points
ID: 38769989
Since the switches have different VLANs, there is no need for a trunk. Is this case you would create a routed link (no switchport) between the two switches.
0
 

Author Comment

by:jskfan
ID: 38770642
I said different..right but not completly different:

SW1 has Vlan10,20,30,40
SW2 has Vlan30,40,60,70
0
 
LVL 50

Assisted Solution

by:Don Johnston
Don Johnston earned 500 total points
ID: 38770653
Nice try. But until you apply the qualifier, different is an absolute. :-)

If there are ANY (see what I did there?) VLANs which are common to both switches, you will need a trunk.

Since VLANs 30 and 40 are common, you'll need a trunk.

Now because were obviously a jailhouse lawyer in a previous life, I'll add this: Just because the VLAN numbers are the same, doesn't mean that they are common. Granted, it would be extremely bad practice, but it could be. So I'll qualify my statement to be:

If there are any VLANs (that represent the same IP network) which are common to both switches, you will need a trunk.

How's that? ;-)
0
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 

Author Comment

by:jskfan
ID: 38770733
there is "No Switchport Trunk " command too. what would this do ?
0
 
LVL 50

Accepted Solution

by:
Don Johnston earned 500 total points
ID: 38770748
That's only the first part of a command.

"no switchport trunk native vlan" would remove the native vlan configuration of a trunk. Which would return the native VLAN to the default.

You can also remove encapsulation commands (dot1q, isl) and other parameters. Or you could simply set them to whatever value you want. "switchport trunk native vlan 1" for example would do the same thing as "no switchport trunk native vlan".
0
 

Author Closing Comment

by:jskfan
ID: 38773376
Thanks
0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

I see many questions here on Experts Exchange regarding switch port configurations and trunks. This article is meant for beginners in the subject to help to get basic knowledge about Virtual Local Area Network (VLAN (http://en.wikipedia.org/wiki/Vir…
Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
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
Course of the Month8 days, 19 hours left to enroll

617 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