vlan and cisco switch (again)

hi i have read lots of topics about vlans and switches now, still cant get it to work.

here my setup in brief: ROS ether2 is connected to fastethernet0/13 on catalyst 3500XL, the vlan interface has an ip address, have a test laptop in fastethernet0/21 an a ip address from the same ip-network than the vlan interface. i cant ping or access the ROS router. the ROS router has no firewall settings enabled. the ether2 interface has no ip address, only the vlan on the ether2 interface. i am aiming for a setup with multiple vlan interfaces on ether2 which i can then terminate on a remote catalyst switch and have one port per vlan at the remote catalyst. currently i am doing that by using real physical ethernet ports on a router rather than vlans.

here the settings in detail:

ROS:
Flags: X - disabled, R - running

NAME MTU ARP VLAN-ID INTERFACE

0 R ;;; DF
vlan301 1500 enabled 301 ether2

Catalyst:
interface FastEthernet0/13
description ether2
duplex full
speed 100
switchport trunk encapsulation dot1q
switchport mode trunk

interface FastEthernet0/21
description DF
duplex full
speed 100
switchport access vlan 301

any help would be VERY welcome.

regards
Jan

have no 3500XL near… shouldn’t you have something like ‘switchport trunk vlan 301’ on FastEthernet0/13?

hi chupaka,

the line ‘switchport trunk vlan 301’ is not a valid command. but i have tried this as well now:

interface FastEthernet0/13
description ether2
duplex full
speed 100
switchport trunk allowed vlan 1,301,1002-1005
switchport mode trunk

and this

interface FastEthernet0/13
description ether2
duplex full
speed 100
switchport mode trunk

both dont work.

it seems like ‘switchport trunk allowed vlan’ needs also advervisement by IGMP from MT… see manual how to add port to vlan with tag

hmmm…i was reading the section about vlan in the manual, i cant see anything which i need to do to make it a tagged vlan. i was reading here:

http://www.mikrotik.com/testdocs/ros/2.9/interface/vlan.php

if i have missed a point or read the wrong document please post a link to the right documentation. i am using ROS 2.9.46 intel/amd.

regards
Jan

no-no, not Mikrotik but Cisco manual

in ZTE (Cisco analogue) we have following configuration:

vlan 55
!
interface fei_1/1
  negotiation auto
  switchport mode hybrid
  switchport hybrid native vlan 55
  switchport hybrid vlan 55 untag
!
interface gei_7/1
  negotiation auto
  hybrid-attribute copper
  switchport mode hybrid
  switchport hybrid native vlan 1
  switchport hybrid vlan 55 tag
  switchport hybrid vlan 1049-1096 tag
  switchport hybrid vlan 1 untag
!

we use hybrid not trunk because our MT communication is in untagged vlan

now, strange things here now.

this now works, i had it before but now it works fine. only difference, i have rebooted the router in the meanwhile.

interface FastEthernet0/13
description ether2
switchport trunk encapsulation dot1q
switchport mode trunk

interface FastEthernet0/19
switchport access vlan 303

interface FastEthernet0/21
description DF
duplex full
speed 100
switchport access vlan 301

the catalyst i have does not know the mode “hybrid”, only the following:

Test-Switch(config-if)#switchport mode ?
access Set trunking mode to ACCESS unconditionally
multi Set trunking mode to multi-VLAN mode
trunk Set trunking mode to TRUNK unconditionally

i probablt dont have the right software on the switch or its simply because its an old model. but anyway, it works. besides the strange effects on ethernet interfaces i have mentioned in an other topic, this is again a situation which makes me wonder what is going on.

thanks for your help anyway.

regards
Jan

Your Cisco config is correct and fine, nothing wrong there…

If rebooting the MT solved it, then so be it I guess… There may have been a clitch on that side somewhere. FYI what we use:

!
interface GigabitEthernet0/1
 description Router Uplinks
 switchport mode trunk
 switchport nonegotiate
 spanning-tree link-type point-to-point
end

....

!
interface FastEthernet0/15
 description Wireless Access Points
 switchport access vlan 10
 switchport mode access
 storm-control broadcast level 90.00 65.00
 storm-control multicast level 90.00 65.00
 storm-control action shutdown
 spanning-tree portfast
end

...

vlan 10
 name PriorityData