Community discussions

MikroTik App
 
punn
newbie
Topic Author
Posts: 34
Joined: Sun Jun 14, 2009 4:48 pm
Location: Prague

VLAN between two mikrotiks

Wed Oct 14, 2009 2:36 pm

Hi.

I've been trying to create VLAN connection between two mikrotiks.

Followd the example from the documentation part.
But unfortunatelly I was not able to ping from one to the other.

Had anyone same problem ?

Thanks
 
yancho
Member Candidate
Member Candidate
Posts: 207
Joined: Tue Jun 01, 2004 3:04 pm
Location: LV

Re: VLAN between two mikrotiks

Wed Oct 14, 2009 11:40 pm

No:) Can you post vlan and ip configuration from the both routers!? As I remember in some earlier RouterOS versions you need to change MAC of the VLAN interface. Because default values was the same.
 
User avatar
THG
Member
Member
Posts: 472
Joined: Thu Oct 15, 2009 1:05 am

Re: VLAN between two mikrotiks

Thu Oct 15, 2009 1:34 am

I followed the example from the document, and it works for me (version 2.9.x & 3.x). Maybe your network interfaces do not support receiving/transmitting of full size Ethernet packets with VLAN header added (1500 bytes data + 4 bytes VLAN header + 14 bytes Ethernet header). In this situation MTU 1496 can be used, but note that this will cause packet fragmentation if larger packets have to be sent over the network interface. At the same time remember that MTU 1496 may cause problems if path MTU discovery is not working properly between source and destination.
 
punn
newbie
Topic Author
Posts: 34
Joined: Sun Jun 14, 2009 4:48 pm
Location: Prague

Re: VLAN between two mikrotiks

Thu Oct 15, 2009 4:06 pm

Thanks for the replies.

my configurations on mikrotiks are:
add arp=enabled comment="" disabled=no interface=lan5 l2mtu=1518 mtu=1482 \
    name=vlan1 use-service-tag=yes vlan-id=33

add address=192.168.70.1/24 broadcast=192.168.70.255 comment="" disabled=no \
    interface=lan5 network=192.168.70.0
add address=192.168.70.11/24 broadcast=192.168.70.255 comment="" disabled=no \
    interface=vlan1 network=192.168.70.0
add arp=enabled comment="" disabled=no interface=ether1 l2mtu=1522 mtu=1482 \
    name=vlan1 use-service-tag=yes vlan-id=33

add address=192.168.70.2/24 broadcast=192.168.70.255 comment="" disabled=no \
    interface=ether1 network=192.168.70.0
add address=192.168.70.12/24 broadcast=192.168.70.255 comment="" disabled=no \
    interface=vlan1 network=192.168.70.0
both running on RouterOS v3.30. one is RB450, the other is RB433


what can cause the problem ?
 
yancho
Member Candidate
Member Candidate
Posts: 207
Joined: Tue Jun 01, 2004 3:04 pm
Location: LV

Re: VLAN between two mikrotiks

Thu Oct 15, 2009 9:08 pm

Wrong IP addressing. Ethernet and VLAN cant share same ip subnet (192.168.70.0/24)
 
User avatar
THG
Member
Member
Posts: 472
Joined: Thu Oct 15, 2009 1:05 am

Re: VLAN between two mikrotiks

Thu Oct 15, 2009 10:20 pm

I also wonder if he really need to use service tag (IEEE 802.1ad)?
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: VLAN between two mikrotiks

Thu Oct 15, 2009 10:31 pm

Service tag should be turned off for straight 802.1q
 
punn
newbie
Topic Author
Posts: 34
Joined: Sun Jun 14, 2009 4:48 pm
Location: Prague

Re: VLAN between two mikrotiks

Fri Oct 16, 2009 4:17 pm

Wrong IP addressing. Ethernet and VLAN cant share same ip subnet (192.168.70.0/24)
i've disabled the same ip subnet for ethernet and vlan.
but it didn't helped.

also tried to turn off the service tag, but it didn't helped either.

any other suggestions ?
 
User avatar
THG
Member
Member
Posts: 472
Joined: Thu Oct 15, 2009 1:05 am

Re: VLAN between two mikrotiks

Fri Oct 16, 2009 6:35 pm

If you use ping tools in winbox, make sure that you ping from correct interface. If LAN interface is attached to a bridge, ping from the bridge.

Who is online

Users browsing this forum: Bing [Bot], harisir18, jaclaz, McSee, r0nzzibb, Thisced1952 and 199 guests