Vlan first setup - help

Hello ,
I’m trying to setup 2 vlans on my RB
this is what I have done :

/ip address
/interface vlan
add interface=ether1 name=Vlan1-Camera vlan-id=100
add interface=ether1 name=Vlan2-Computer vlan-id=200

add address=10.0.0.133/24 interface=ether1 network=10.0.0.0
add address=192.168.100.254/24 interface=Vlan1-Camera network=192.168.100.0
add address=192.168.200.254/24 interface=Vlan2-Computer network=192.168.200.0

do I need to setup something else?

I setup my computer to be 192.168.100.5/24
and I don’t ping to the router
also from the router I don’t have ping to computer
what am I missing?

I’m usuing ubuntu
Thanks ,

Could it be something as simple as:

name=Vlan2-Computer vlan-id=200 address=192.168.200.254/24

computer with 192.168.100.5/24

?

Your best bet is to read this resource, it provides excellent examples and should get you 99.9% of the way.
http://forum.mikrotik.com/t/using-routeros-to-vlan-your-network/126489/1

it’s seem that I need to create a bridge and add ports:
ether1
vlan1
vlan2

now it’s seem to work ,
I have ping and to router and I can go to the internet

It may work but I don’t think it was the reason why it wasn’t working.

Simply you were trying to ping an ip within a vlan from outside of the vlan. You’re PC was not tagged therefore it was not on that network segment.

Bridging the 3 interfaces is literally putting a cable from one network to another so whilst you have achieved what you wanted to, it’s been done with misconfiguration.

is ther any way to tag a computer?
and make it be vlan 100 ?
and then i could check it?

or maybe there is another way yo check it’s working?

Thanks ,

Through the network manager you should be able to create a new interface, select VLAN, input the relevant VLAN ID and then you can choose DHCP client or static setup.
This will tag your computer from the outset so you will “only” see traffic inside your VLAN.