Community discussions

MikroTik App
 
readycool
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Mon Jan 31, 2011 11:25 pm

Can't ping over VLAN interface

Wed Sep 07, 2011 12:11 pm

I have SXT's that work with settings: on each side IP address over VLAN interface for managment.

Now I try to connect 411AH with SXT and it doesn't work.
- I can connect from switch to 411 over VLAN but can't ping unit2
- If I change interface VLAN into ether1 or wlan1 I can ping unit2 but can't reach unit1 from switch (and I need to).
- In both cases they work on layer 2
- Version 5.6

Do I miss some settings?
Please ask if you need any further info about configuration.
Untitled-1.jpg
You do not have the required permissions to view the files attached to this post.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Can't ping over VLAN interface

Wed Sep 07, 2011 3:48 pm

to have VLAN on both ether1 and wlan1 you need to create two VLAN interfaces (like eth1-VLAN102 and wlan1-VLAN102) and bridge them. then put management IP to that bridge
 
readycool
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Mon Jan 31, 2011 11:25 pm

Re: Can't ping over VLAN interface

Wed Sep 07, 2011 4:23 pm

Hi Chupaka, thx for the answer...
Actually, I don't need/want to have VLAN on ether1 and wlan1 (unless I need to)...
It's working this way (Here is Interface list of working link) :
Untitled.jpg
But in this case it doesn't work..
I can ping gateway if I choose VLAN for interface but can't ping other Mikrotik.
Or I can ping Mikrotik if I choose ether1/wlan1 for interface, but then I can not reach gateway.

Is there some problem because this is SXT/RB411AH combination or I must set them as you describe (if no other way I'll define all VLAN's).
You do not have the required permissions to view the files attached to this post.
 
User avatar
MCT
Member Candidate
Member Candidate
Posts: 158
Joined: Wed Mar 03, 2010 5:53 pm

Re: Can't ping over VLAN interface

Wed Sep 07, 2011 4:47 pm

The first thing that jumps out to me is you mentioned you can't connect from a switch. What kind of switch is it?

If it's an unmanaged switch there's a good chance it won't pass VLAN tagged traffic. If it's a managed switch you may have to configure the port to trunk VLAN traffic.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Can't ping over VLAN interface

Wed Sep 07, 2011 5:02 pm

sounds like some routing confiruration issue...

/ip address print
/ip route print detail
and what addresses you ping
 
readycool
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Mon Jan 31, 2011 11:25 pm

Re: Can't ping over VLAN interface

Wed Sep 07, 2011 5:03 pm

It's a Cisco 4948, and it's managed with trunk port.
Sorry if I confuse you with that. It's not the point about a switch...

Just add to my first picture switch to the left...

With 2 SXT's it work as showed (interface VLAN)...

With RB411/SXT I can ping just RB411 (can't ping after it).
Just when I change interface to ether1 (or wlan1) I can ping from RB411 to SXT (but then I can not reach RB411 from the switch anymore).

Devices are configured as Bridge (411 or left SXT) and Station WDS (client).
 
readycool
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Mon Jan 31, 2011 11:25 pm

Re: Can't ping over VLAN interface

Wed Sep 07, 2011 5:07 pm

sounds like some routing confiruration issue...
/ip address print
/ip route print detail
and what addresses you ping
I ping IP address of the device..

[user@U1] /ip address> print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 10.11.15.36/28 10.11.15.32 vlan100-MGMT

[user@U1] /ip address> print detail
Flags: X - disabled, I - invalid, D - dynamic
0 address=10.11.15.36/28 network=10.11.15.32 interface=vlan100-MGMT
actual-interface=vlan100-MGMT




[user@U1] > ping 10.11.15.37 (client.. must change interface at picture 1 to work)...
HOST SIZE TTL TIME STATUS
10.11.15.37 timeout
10.11.15.37 timeout
10.11.15.37 timeout
10.11.15.37 timeout
10.11.15.37 timeout
sent=5 received=0 packet-loss=100%

[user@U1] > ping 10.11.15.33 (gateway... works until I change interface)...
HOST SIZE TTL TIME STATUS
10.11.15.33 56 255 0ms
10.11.15.33 56 255 0ms
10.11.15.33 56 255 0ms
10.11.15.33 56 255 0ms
sent=4 received=4 packet-loss=0% min-rtt=0ms avg-rtt=0ms max-rtt=0ms
 
User avatar
MCT
Member Candidate
Member Candidate
Posts: 158
Joined: Wed Mar 03, 2010 5:53 pm

Re: Can't ping over VLAN interface

Wed Sep 07, 2011 5:27 pm

It's a Cisco 4948, and it's managed with trunk port.
Sorry if I confuse you with that. It's not the point about a switch...

Just add to my first picture switch to the left...

With 2 SXT's it work as showed (interface VLAN)...

With RB411/SXT I can ping just RB411 (can't ping after it).
Just when I change interface to ether1 (or wlan1) I can ping from RB411 to SXT (but then I can not reach RB411 from the switch anymore).

Devices are configured as Bridge (411 or left SXT) and Station WDS (client).
Ok, just making sure. It's a mistake I see a lot, unmanaged switches, or they forget to configure their switch.
 
readycool
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Mon Jan 31, 2011 11:25 pm

Re: Can't ping over VLAN interface

Fri Sep 09, 2011 11:50 am

Solved...

Following Chupaka suggestion found that Interface of the VLAN was defined over ether1, and not over bridge1 as it should be.

Thanks all.
 
User avatar
Hotz1
Member
Member
Posts: 393
Joined: Tue Oct 09, 2007 6:55 am

Re: Can't ping over VLAN interface

Sat Nov 26, 2011 7:07 pm

to have VLAN on both ether1 and wlan1 you need to create two VLAN interfaces (like eth1-VLAN102 and wlan1-VLAN102) and bridge them. then put management IP to that bridge
I'm running into a similar problem at a client site, and I want to make sure it applies here before I start experimenting.

The installation consists of:

[WAN] <--> RB433 <-- (ether1) --> OmniTik <-- (wlan1/WDS) --> 3 x [SXT <-- (ether1) --> RB711]

On each of the three 711s, wlan1 has two VAPs defined (a hotspot, and another for office use), and ether1 has two VLANs defined. Each VAP is bridged to the corresponding VLAN. Admin traffic is carried on ether1 with no VLAN. Ether1 goes directly to the corresponding SXT, each of which bridges its ether1 and wlan1.

Each SXT connects to the OmniTik, which in turn bridges its wlan1 and ether1, where it arrives at the RB433. Traffic tagged with the hotspot VLAN is bridged to a hotspot interface, traffic tagged with the office VLAN is bridged to a private office LAN, and untagged traffic is handled directly.

This was working when the SXTs and OmniTik were using wds-mode=dynamic-mesh. At some point, I reconfigured it to use wds-mode=dynamic, which led to periodic ARP packet storms that were making the SXTs unreachable. Setting the SXTs to station-wds put an end to the ARP storms, but also seems to have stopped the VLAN traffic from getting through.

It sounds like you are saying that the traffic received by the SXTs cannot be passed between ether1 and wlan1 generically--that the VLANs need to be defined on the SXTs as well as the endpoints (711s and 433). Do I have that right? If so, I'm curious why it was working before. Could this have been due to a change in 5.8? (This wouldn't be the first time that the interaction of VLANs and bridges changed in a new release and broke something.)

I'm also curious about why the ARP storms started happening (does RSTP not work on the WDS interfaces between the three SXTs?), and why station-wds seems to handle VLAN traffic differently from wds-slave, bridge or ap-bridge. Any insight would be most appreciated.
 
User avatar
Hotz1
Member
Member
Posts: 393
Joined: Tue Oct 09, 2007 6:55 am

Re: Can't ping over VLAN interface

Sat Nov 26, 2011 7:58 pm

Sorry, this was a classic case of misdirection. After further investigation, the SXT configuration was fine. The problem was on the 711s all along: the VLANs were assigned to ether1, but ether1 is itself a port on a bridge. Even though it is the only port on that bridge (part of our standard setup), that is evidently enough to strip off the VLAN tags.
 
joefat
just joined
Posts: 7
Joined: Tue Sep 21, 2010 4:32 pm

Re: Can't ping over VLAN interface

Tue Dec 20, 2011 9:25 am

Hi,

I'm having a similar issue with management of my SXTs over a vlan.

I have a large mixed (Mikrotik,Cisco,hp,Motorola,Alvarion) deployment. All devices are managed via a management vlan. This vlan is generally carried to devices on trucked interfaces along with tagged traffic for many other service vlans.

With Mikrotik devices (mostly RB230, RB133/144, I generally have two interfaces bridged together (ether1, wlan1). If necessary I'll use WDS or seudo-bridge methods with wireless links).

To manage the device, I'll create a vlan interface on the bridge and then apply an IP address from the management subnet on the vlan interface.

This method works across the board except with SXTs.

I've tried various different firmware (currently 5.11) but nothing makes a difference.

I've even tried a very simple method - connecting a single SXT device to the network via ether1, adding a vlan interface to ether1 and then addressing that vlan interface on the management vlan.

Do I need to do something different in order to manage an SXT with tagged traffic?

Thanks

Who is online

Users browsing this forum: inteq, yhfung and 26 guests