Page 1 of 1

Vlan basic problem

Posted: Mon Jan 13, 2014 10:12 pm
by bematft
Sorry if this question was....

I have router os v 6.7
I have an MS SBS with DHCP and i need an other via Mikrotik...
I used and configured a simple DHCP on my MikrotikOS. But I can not onto the VLAN interface....

The firs try:
I use simple vlan interface via Ether1
/ip address> print
Flags: X - disabled, I - invalid, D - dynamic 
 #   ADDRESS            NETWORK         INTERFACE                                
 0   192.168.1.100/24   192.168.1.0     Eth1                                     
 1   192.168.10.1/24    192.168.10.0    vlan1                                    
 2   10.1.5.10/24       10.1.5.0        Wan 

/interface> print     
Flags: D - dynamic, X - disabled, R - running, S - slave 
 #     NAME                                TYPE         MTU L2MTU  MAX-L2MTU
 0  R  Eth1                                ether       1500
 1  X  Eth2                                ether       1500
 2  R  Wan                                 ether       1500
 3  R  vlan1                               vlan        1500


My second configure:
I used bridge...
/ip address> print
Flags: X - disabled, I - invalid, D - dynamic 
 #   ADDRESS            NETWORK         INTERFACE                                
 0   192.168.1.100/24   192.168.1.0     Eth1                                     
 1   192.168.10.1/24    192.168.10.0    br2-vl2                                  
 2   10.1.5.10/24       10.1.5.0        Wan 

/interface bridge port> print
Flags: X - disabled, I - inactive, D - dynamic 
 #    INTERFACE               BRIDGE               PRIORITY  PATH-COST    HORIZON
 0    br2-vl2                 br2                      0x80         10       none

/interface bridge> print
Flags: X - disabled, R - running 
 0  R name="br2" mtu=1500 l2mtu=65535 arp=enabled mac-address=00:0E:2E:65:39:CA 
      protocol-mode=none priority=0x8000 auto-mac=yes 
      admin-mac=00:00:00:00:00:00 max-message-age=20s forward-delay=15s 
      transmit-hold-count=6 ageing-time=5m 

/interface bridge port> print
Flags: X - disabled, I - inactive, D - dynamic 
 #    INTERFACE               BRIDGE               PRIORITY  PATH-COST    HORIZON
 0    br2-vl2                 br2                      0x80         10       none


If I used "bridge form" the client get IP address from my DHCP (Mikrotik), but cant ping it and nothing from the client.

Please Help!

Re: Vlan basic problem

Posted: Mon Jan 13, 2014 10:26 pm
by efaden
Post your export. And also what your goal is.

Re: Vlan basic problem

Posted: Tue Jan 14, 2014 7:49 am
by bematft
How can It? I dont know what is in your mind...

Re: Vlan basic problem

Posted: Tue Jan 14, 2014 12:00 pm
by bematft
ohh sorry it was too early...

I have two port in the Mikrotik OS PC
One of the WAN (internet connection) and one of the Eth1 (ethernet)
I have two IP address (192.168.1.100 and 192.168.10.1) on the Eth1.
Beacause The 192.168.1.0/24 clients use static ip, they connectint into a DC (SBS2011)...
In same networtk are some client who are outside the domain, and they use 192.168.10.0/24 ip with static DHCP.
AND sometime there are adhoc client, (phones, notebooks, etc) who are using the dhcp dinamically.

I reinstall my SBS server and I need the SBS's DHCP for The VPN clients.
And the SBS screaming if the DHCP is not active on the server ... If there is an other DHCP in the network the SBS is broke down

Re: Vlan basic problem

Posted: Tue Jan 14, 2014 8:59 pm
by bematft
I used the simpliest way from the Mikrotik viki...
/interface vlan
  add name=VLAN2 vlan-id=2 interface=Eth1 disabled=no
/ip address 
  add address=10.10.20.1/24 interface=VLAN2


Maybe the problem is:
All of my trying are on virtual server?
I Use a virtual server (Hyper-V) this phisical lan address is 192.168.1.9.
And my virtualized Win8.1 virtual(!) lan ip address is 10.10.20.10

The symptome is I can't ping the server from the client (V.Win8.1) neither I can't do that the client from the server (Mikrotik OS).

Re: Vlan basic problem

Posted: Tue Jan 14, 2014 9:11 pm
by plisken
Look this example, maby helps this.
But is not the same what u want.
http://www.wirelessinfo.be/index.php/mi ... pages/vlan

Re: Vlan basic problem

Posted: Tue Jan 14, 2014 9:53 pm
by bematft
Every where I read about Mikrotik VLAN read that it must be work.
Don't forget that aspect I use everytime(!) a Hyper-V virtualized Win8.1

Well I look for the other end:
http://blogs.technet.com/b/chrad/archiv ... per-v.aspx

Tomorrow I go there, and will try on a phisical client.
I hope my problem is it.

Re: Vlan basic problem

Posted: Tue Jan 14, 2014 10:59 pm
by Rudios
Both Router OS 5.x and 6.x are not working on Hyper-V
If you use a legacy network adapter (normal network adapter won't even show up on interfaces) but there will be no traffic reaching the box or leaving the box and reaching destination.
MikroTik also stated several times that Hyper-V is not supported and there will be put no effort into it to do so.
I do have some successful attempts with RouterOS 4.17 which is the latest version that (still unsupported by MT) works with Hyper-V and legacy network interfaces.

Re: Vlan basic problem

Posted: Wed Jan 15, 2014 12:33 am
by lordzar
Well... just from looking at the example in the first post...

I know it's only a test... but I'm a little confused that you are using vlan 1 in the 1st sample and vlan 2 in the second...

anyway... in the bridged version... you want the /ip addr on the BRIDGE and not the vlan interface.

-Dave.