We help IT Professionals succeed at work.

Cisco router trunk concept

lemaitre75
lemaitre75 asked
on
Medium Priority
1,441 Views
Last Modified: 2008-02-01
Hello all,

i had found in the past a web site that explains the difference between trunk concept on cisco switches and cisco router. In my case, between a catalyst 3550 and a cisco router 3600 with fast ethernet interfaces

In fact, as far as i remember, you cannot configure a cisco router interface as a trunk port like you do it on a cisco switch.

Any comment or information about that will help a lot.

thanks
Comment
Watch Question

Sr. Systems Engineer
CERTIFIED EXPERT
Top Expert 2008
Commented:
You're half right. You can't use the same 'set port trunk' type of commands, but you can still connect a router to a switch's trunk port and create sub-interface for each VLAN. The whole idea of a trunk is to pass vlan data, and of course data across the vlans.

Example:
Switch:

  interface fast 0/12
   switchport access vlan 2

  interface fast 0/14
   switchport access vlan 4

  interface Fast0/28
   description uplink to router
   switchport mode trunk
 
Router:
 interface Fast0/0  <== one physical interface, multiple VLAN's
  Description this is VLAN1 <== physical interface is always switches' native vlan (vlan1 by default)
  ip address 1.2.1.1 255.255.255.0
 interface Fast 0/0.2  <== logical interface for VLAN2
  Description VLAN2
  encap dot1q 2  <== look for vlan2 tags
  ip address 1.2.2.1 255.255.255.0
 interface Fast 0/0.4
  Description VLAN4
  encap dot1q 4  <== look for vlan4 tags
  ip address 1.2.4.1 255.255.255.0

Etc...

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Les MooreSr. Systems Engineer
CERTIFIED EXPERT
Top Expert 2008

Commented:
Hello???
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.