Můžete se prosím někdo podívat na tuto jednoduchou konfiguraci VLAN na bridge? Se zapnutým filtrováním mi DHCP server nedá na portu 3 nebo 4 IP adresu a ani se z těchto portů do routeru nedostanu. Abych mohl udělat jakýkoli zásah do konfigurace, musím to zapojit do portu, který není v tom bridgi. Při konfiguraci jsem postupoval podle návodu na wiki, ale nerozumím tomu, proč to nefunguje. Níže uvedená konfigurace mi vyběhne po příkazu export (na začátku byl proveden reset konfigurace) a na vestavěném switchi jsem nic nenestavoval, přesto je v konfigu uvedený, což taky nevím, proč se to takto děje.
Mám tam něco špatně? Několikrát jsem to kontroloval a pořád jsem nic neobjevil.
# RouterOS 6.46.1
# model = RB4011iGS+
/interface bridge
add name=bridge1 protocol-mode=none vlan-filtering=yes
/interface vlan
add interface=bridge1 name=vlan30 vlan-id=30
/interface ethernet switch port
set 0 default-vlan-id=0
set 1 default-vlan-id=0
set 2 default-vlan-id=0
set 3 default-vlan-id=0
set 4 default-vlan-id=0
set 5 default-vlan-id=0
set 6 default-vlan-id=0
set 7 default-vlan-id=0
set 8 default-vlan-id=0
set 9 default-vlan-id=0
set 10 default-vlan-id=0
set 11 default-vlan-id=0
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp_pool0 ranges=10.0.3.1-10.0.3.40
/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface=vlan30 name=dhcp1
/interface bridge port
add bridge=bridge1 frame-types=admit-only-vlan-tagged interface=ether1
add bridge=bridge1 frame-types=admit-only-vlan-tagged interface=ether2
add bridge=bridge1 interface=ether3 pvid=30
add bridge=bridge1 interface=ether4 pvid=30
/interface bridge settings
set use-ip-firewall=yes use-ip-firewall-for-pppoe=yes
/interface bridge vlan
add bridge=bridge1 tagged=ether1,ether2 untagged=ether3,ether4 vlan-ids=30
/ip address
add address=10.0.3.200/24 interface=vlan30 network=10.0.3.0
/ip dhcp-server network
add address=10.0.3.0/24 gateway=10.0.3.200 netmask=24