O
O
Oleg2021-05-16 19:59:03
PHP
Oleg, 2021-05-16 19:59:03

Why does the DHCP server write that the address has been issued, but the client does not receive it?

60a14ea900d9d597007266.png60a14ef64dc62681834843.png

Greetings gentlemen. I'm trying to bang the lab on VLANs. But there was a blunt at the stage of the DHCP server.
GW gives out the address, but Mikrotik-2 does not receive it. Understand why this is happening.
Thank you.

GW-Config

spoiler

# may/16/2021 17:17:09 by RouterOS 6.48.2
# software id =
#
#
#
/interface bridge
add name=bridge1 vlan-filtering=yes
/interface vlan
add interface=bridge1 name=vlan99 vlan-id=99
add interface=bridge1 name=vlan100 vlan-id=1
add interface=bridge1 name=vlan200 vlan-id=200
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp_pool0 ranges=192.168.100.2-192.168.100.200
add name=dhcp_pool1 ranges=192.168.200.2-192.168.200.200
add name=dhcp_pool2 ranges=192.168.99.2-192.168.99.200
/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface=vlan100 name=DHCP100
add address-pool=dhcp_pool1 disabled=no interface=vlan200 name=DHCP200
add address-pool=dhcp_pool2 disabled=no interface=vlan99 name=DHCP99
/snmp community
set [ find default=yes ] addresses=0.0.0.0/0
/user group
set full policy="local,telnet,ssh,ftp,reboot,read,write,policy,test,winbox,pas\
sword,web,sniff,sensitive,api,romon,dude,tikapp"
/interface bridge port
add bridge=bridge1 hw=no interface=ether2
add bridge=bridge1 hw=no interface=ether3
add bridge=bridge1 hw=no interface=ether4
add bridge=bridge1 hw=no interface=ether5
/interface bridge vlan
add bridge=bridge1 tagged=ether2,ether4,ether5,bridge1 vlan-ids=100
add bridge=bridge1 tagged=ether3,ether4,bridge1 vlan-ids=200
add bridge=bridge1 tagged=ether2,ether3,ether4,ether5,bridge1 vlan-ids=99
/ip address
add address=192.168.100.1/24 interface=vlan100 network=192.168.100.0
add address=192.168.200.1/24 interface=vlan200 network=192.168.200.0
add address=192.168.99.1/24 interface=vlan99 network=192.168.99.0
/ip dhcp-client
add !dhcp-options disabled=no interface=ether1
/ip dhcp-server network
add address=192.168.99.0/24 gateway=192.168.99.1
add address=192.168.100.0/24 gateway=192.168.100.1
add address=192.168.200.0/24 gateway=192.168.200.1
/system identity
set name=GW



Mikrotik-2-CFG
spoiler

# may/16/2021 17:19:18 by RouterOS 6.48.2
# software id =
#
#
#
/interface bridge
add name=bridge1 vlan-filtering=yes
/interface vlan
add interface=bridge1 name=vlan99 vlan-id=99
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/snmp community
set [ find default=yes ] addresses=0.0.0.0/0
/user group
set full policy="local,telnet,ssh,ftp,reboot,read,write,policy,test,winbox,pas\
sword,web,sniff,sensitive,api,romon,dude,tikapp"
/interface bridge port
add bridge=bridge1 interface=ether1
add bridge=bridge1 interface=ether2 pvid=100
add bridge=bridge1 interface=ether3 pvid=100
/interface bridge vlan
add bridge=bridge1 tagged=ether1 untagged=ether2,ether3,ether4 vlan-ids=100
add bridge=bridge1 tagged=ether1 untagged=bridge1 vlan-ids=99
/ip dhcp-client
add disabled=no interface=vlan99
add disabled=no interface=ether4
/system identity
set name=MikroTik-2

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
gracer, 2018-11-28
@gracer

Because you specified a regular expression that matches the entire string "+123(45)678-90-12". Therefore, if you divide this string into parts using a split, you get two empty elements at the output

O
Oleg, 2021-05-17
@VDT2

I reconfigured the Mikrotik-2 point from scratch, and he got the address. Now he does not forward the vlan further behind him on VPC-1 and VPC-2.
It seems more like magic than science)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question