Hello all,
I set up a router with a Vlan for guests. I have defined in ether5 the PVID the VLANID of the vlan for guests, but the PC conectad to the port does not get an IP. If I remove the PVID, it does get an IP of the normal bridge dhcp server. I started the router from scratch and followed the configuration I saw in this post http://forum.mikrotik.com/t/why-isnt-dhcp-working-on-my-vlan/172252/1 ROS is 7.15.3
What am I missing?
Thanks
This is the configuration:
/interface bridge
add admin-mac=XX:XX:XX:XX:XX:XX auto-mac=no comment=defconf
ingress-filtering=no name=bridge-local port-cost-mode=short
vlan-filtering=yes
/interface vlan
add interface=bridge-local name=vlan-10-guests vlan-id=10
/ip pool
add name=default-dhcp ranges=192.168.88.10-192.168.88.254
add name=dhcp-guests ranges=192.168.10.10-192.168.10.254
/ip dhcp-server
add address-pool=default-dhcp interface=bridge-local lease-time=10m name=
defconf
add address-pool=dhcp-guests interface=vlan-10-guests name=server-guests
/interface bridge port
add bridge=bridge-local comment=defconf ingress-filtering=no interface=ether2
internal-path-cost=10 path-cost=10
add bridge=bridge-local comment=defconf ingress-filtering=no interface=ether3
internal-path-cost=10 path-cost=10
add bridge=bridge-local comment=defconf ingress-filtering=no interface=ether4
internal-path-cost=10 path-cost=10
add bridge=bridge-local comment=defconf ingress-filtering=no interface=ether5
internal-path-cost=10 path-cost=10 pvid=10
add bridge=bridge-local comment=defconf disabled=yes ingress-filtering=no
interface=wlan1 internal-path-cost=10 path-cost=10
add bridge=bridge-local comment=defconf disabled=yes ingress-filtering=no
interface=wlan2 internal-path-cost=10 path-cost=10
/interface bridge vlan
add bridge=bridge-local vlan-ids=10
/interface list member
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridge-local network=
192.168.88.0
add address=192.168.10.1/24 interface=vlan-10-guests network=192.168.10.0
/ip dhcp-client
add comment=defconf interface=ether1
/ip dhcp-server network
add address=192.168.10.0/24 dns-server=8.8.8.8 gateway=192.168.10.1 netmask=
24
add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.88.1 comment=defconf name=router.lan