Cisco router trunk concept

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
lemaitre75Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
lrmooreConnect With a Mentor 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...
0
 
lrmooreCommented:
Hello???
0
All Courses

From novice to tech pro — start learning today.