Page 1 of 1

VLAN problems

Posted: Sun Apr 26, 2009 10:26 pm
by alejot17
Hello to everyone!! :)

I have some problems settings VLANs to an interface.
I want to create 2 VLANs in my Local interface.

[admin@MikroTik] interface vlan> add name=vlan1 vlan-id=1 interface=Local
[admin@MikroTik] interface vlan> enable 0
[admin@MikroTik] ip address> add address=10.0.0.1/24 interface=vlan1
[admin@MikroTik] ip address> /ping 10.0.0.1
10.0.0.1 64 byte ping: ttl=64 time=2 ms
10.0.0.1 64 byte ping: ttl=64 time=1 ms
10.0.0.1 64 byte ping: ttl=64 time=1 ms
10.0.0.1 64 byte ping: ttl=64 time=1 ms
10.0.0.1 64 byte ping: ttl=64 time=2 ms
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 1/1.4/2 ms

When I statically assign an IP: 10.0.0.2/24 to a PC attached to the switch WRT54G I can’t reach the gateway 10.0.0.1

I am using the Mikrotik 2.9.51

Any advice?

Re: VLAN problems

Posted: Mon Apr 27, 2009 1:57 am
by changeip
is your vlan setup on the WRT54G ? Or on the PC directly?

VLAN1 is usually the default vlan on most switches, try another number. Also make sure your NIC supports vlans.

Sam