Hello!
I’m trying to add option82 on wireless interface via dhcp-relay.
configuration of dhcp-relay:
[admin@MikroTik] > ip dhcp-relay print detail
Flags: X - disabled, I - invalid
0 name=“relay” interface=br0 dhcp-server=10.10.250.9 delay-threshold=none local-address=10.10.250.10 add-relay-info=yes
configuration of interfaces:
[admin@MikroTik] > interface bridge port print detail
Flags: X - disabled, I - inactive, D - dynamic
0 interface=v520 bridge=br0 priority=0x80 path-cost=10 edge=auto point-to-point=auto external-fdb=auto horizon=none
[admin@MikroTik] > interface print detail
Flags: D - dynamic, X - disabled, R - running, S - slave
0 R name=“ether1” default-name=“ether1” type=“ether” mtu=1500 l2mtu=1598 max-l2mtu=2028 mac-address=00:0C:42:ED:96:F6
1 RS name=“wl-test” type=“wlan” mtu=1500 l2mtu=2290 mac-address=02:0C:42:ED:96:F7
2 name=“wl-test2” type=“wlan” mtu=1500 l2mtu=2290 mac-address=02:0C:42:ED:96:F8
3 name=“wlan1” default-name=“wlan1” type=“wlan” mtu=1500 l2mtu=2290 mac-address=00:0C:42:ED:96:F7
4 R name=“br0” type=“bridge” mtu=1500 l2mtu=1594 mac-address=00:0C:42:ED:96:F6
5 R name=“mgmt” type=“vlan” mtu=1500 l2mtu=1594 mac-address=00:0C:42:ED:96:F6
6 R name=“v296-relay” type=“vlan” mtu=1500 l2mtu=1594 mac-address=00:0C:42:ED:96:F6
7 RS name=“v520” type=“vlan” mtu=1500 l2mtu=1594 mac-address=00:0C:42:ED:96:F6
[admin@MikroTik] > ip address print detail
Flags: X - disabled, I - invalid, D - dynamic
0 address=10.255.255.199/24 network=10.255.255.0 interface=mgmt actual-interface=mgmt
1 address=10.10.250.10/29 network=10.10.250.8 interface=v296-relay actual-interface=v296-relay
If dhcp-relay configured at bridge interface (bridging wireless ap + vlans from ethernet interface)
i get:
Agent Circuit id = mac-address of bridge interface(mac-address of interface that configured as dhcp-relay);
Agent Remote id = mac-address of customer that send DHCPREQUEST.
If i reconfigure dhcp-relay on wirless ap interface it will marked by flag “I”-ignore and no one dhcp packet will be relayed to server
.
[admin@MikroTik] > ip dhcp-relay print d
Flags: X - disabled, I - invalid
0 X name=“relay” interface=br0 dhcp-server=10.10.250.9 delay-threshold=none local-address=10.10.250.10 add-relay-info=yes
1 I name=“relay1” interface=wl-test dhcp-server=10.10.250.9 delay-threshold=none local-address=10.10.250.10 add-relay-info=yes
If i remove wireless ap interface from bridge and turn on dhcp-relay on wireless ap interface, dhcp-relay will be worked and add mac-address of wirelss virtual ap as “Agent circuit id” and customer mac-address will be in field “Agent Remote id”
This is normal befevior of dhcp-relay+option82 ?
And one more question:
how i can “connect” vlan from ethernet with virtual wireless interface without creating bridge interface?
Sorry for my english ![]()
Thanks!