Community discussions

MikroTik App
 
User avatar
cyon
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 62
Joined: Tue Apr 29, 2014 12:58 pm

couldn't add new DHCP client - can not run on slave interface

Wed Jun 24, 2020 3:55 pm

Good day all

I busy setting up erth3 DHCP Clint but I can't.
"couldn't add new DHCP client - can not run on slave interface"
we on 6.47 firmware on Mikrotik, how do you fix the port not to be a slave anymore?

What can I do?
 
User avatar
eworm
Forum Guru
Forum Guru
Posts: 1082
Joined: Wed Oct 22, 2014 9:23 am
Location: Oberhausen, Germany
Contact:

Re: couldn't add new DHCP client - can not run on slave interface

Wed Jun 24, 2020 4:12 pm

Your port is member of a bridge. Put the dhcp client on the bridge.
 
User avatar
cyon
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 62
Joined: Tue Apr 29, 2014 12:58 pm

Re: couldn't add new DHCP client - can not run on slave interface

Wed Jun 24, 2020 4:34 pm

Your port is member of a bridge. Put the dhcp client on the bridge.
I don't understand. I can do it on Ether 1 but I can't do it with Ether 3?
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 3052
Joined: Mon Apr 08, 2019 1:16 am

Re: couldn't add new DHCP client - can not run on slave interface

Wed Jun 24, 2020 4:42 pm

Your port is member of a bridge. Put the dhcp client on the bridge.
I don't understand. I can do it on Ether 1 but I can't do it with Ether 3?
Look in your "bridge" configuration, to the "ports" tab.
Ether1 is typically not part of the bridge, as it is by default assigned as a WAN standalone interface.
Ether2 and up are by default switched LAN interfaces, and are all connected to the bridge. (One port each).

If you you want to use ether3 as a standalone interface with its own DHCP IP address, remove it from the port (delete the port). It will then be a routed interface.
If you would like to have the DHCP client IP address on all interfaces defined as ports on the bridge, then the DHCP client should be on the bridge. (the interfaces connected to ports on the bridge cannot have IP configurations)
 
User avatar
cyon
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 62
Joined: Tue Apr 29, 2014 12:58 pm

Re: couldn't add new DHCP client - can not run on slave interface

Wed Jun 24, 2020 5:07 pm

Thank you

I have removed the bridge 2 from ether3 and I got it working.

so either 2 network is on 192.168.1.0/24, ether 3 - I have a device that needs to get in the web interface that is in 192.168.0.1.
how can I get on to the web 192.168.0.1 on the client PC that is on 192.168.1.25
I just need to change the device IP to be on the same as the PC.

so how can I get to access to the device from the PC network. ip/firewall or ip/route

This is remote support, can't get to them.
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 3052
Joined: Mon Apr 08, 2019 1:16 am

Re: couldn't add new DHCP client - can not run on slave interface

Wed Jun 24, 2020 6:21 pm

Thank you

I have removed the bridge 2 from ether3 and I got it working.

so either 2 network is on 192.168.1.0/24, ether 3 - I have a device that needs to get in the web interface that is in 192.168.0.1.
how can I get on to the web 192.168.0.1 on the client PC that is on 192.168.1.25
I just need to change the device IP to be on the same as the PC.

so how can I get to access to the device from the PC network. ip/firewall or ip/route

This is remote support, can't get to them.
I bit confusing to me, your text. Please elaborate...
PC is on 192.168.1.25 , connected to an Mkt interface with what IP?
Web interface is 192.168.0.1. The Mikrotik web? Or other web server?

Your Mikrotik is a router with multiple IP addresses. Most services on this Mikrotik are accessible through all the IP addresses of the router.
The Mikrotik will route traffic between 2 interfaces with different subnets. EG. 192.168.0.1/24 and 192.168.1.1/24 are the IP addresses. Devices in both subnets will find each other if the 2 interfaces of the Mikrotik are in the LAN interface list. (Routing is by default, and the "LAN interface list" allows connection in the firewall by default)

If you have a device with the wrong IP address , that you know, you can temporarily add an extra IP address to the router (Mikrotik) in that devices subnet, for the interface it is connected on.
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 3052
Joined: Mon Apr 08, 2019 1:16 am

Re: couldn't add new DHCP client - can not run on slave interface

Wed Jun 24, 2020 6:25 pm

Thank you

I have removed the bridge 2 from ether3 and I got it working.

so either 2 network is on 192.168.1.0/24, ether 3 - I have a device that needs to get in the web interface that is in 192.168.0.1.
how can I get on to the web 192.168.0.1 on the client PC that is on 192.168.1.25
I just need to change the device IP to be on the same as the PC.

so how can I get to access to the device from the PC network. ip/firewall or ip/route

This is remote support, can't get to them.
I bit confusing to me, your text. Please elaborate...
PC is on 192.168.1.25 , connected to an Mkt interface with what IP?
Web interface is 192.168.0.1. The Mikrotik web? Or other web server?

Your Mikrotik is a router with multiple IP addresses. Most services on this Mikrotik are accessible through all the IP addresses of the router.
The Mikrotik will route traffic between 2 interfaces with different subnets. EG. 192.168.0.1/24 and 192.168.1.1/24 are the IP addresses. Devices in both subnets will find each other if the 2 interfaces of the Mikrotik are in the LAN interface list. (Routing is by default, and the "LAN interface list" allows connection in the firewall by default). Devices must have the router IP address in their own subnet as "gateway" for subnet interconnection.

If you have a device with the wrong IP address , that you know, you can temporarily add an extra IP address to the router (Mikrotik) in that devices subnet, for the interface it is connected on.
 
User avatar
cyon
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 62
Joined: Tue Apr 29, 2014 12:58 pm

Re: couldn't add new DHCP client - can not run on slave interface

Wed Jun 24, 2020 9:21 pm

so the people have put a wireless device in the roof but never done the setup, so its plug in the ether 3 port, and it has a DHCP 192.168.0.1/24.
I want to connect to the Wifi web interface that is on 192.168.0.1. The Mikrotik network is 192.168.1.0/24 where that PC on.
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 3052
Joined: Mon Apr 08, 2019 1:16 am

Re: couldn't add new DHCP client - can not run on slave interface

Wed Jun 24, 2020 10:14 pm

so the people have put a wireless device in the roof but never done the setup, so its plug in the ether 3 port, and it has a DHCP 192.168.0.1/24.
I want to connect to the Wifi web interface that is on 192.168.0.1. The Mikrotik network is 192.168.1.0/24 where that PC on.
OK: I understand PC 192.168.1.25 - Mikrotik 192.168.1.1 (gateway to PC/ DHCP server) - Mikrotik ether3 192.168.0.x - wireless device 192.168.0.1 (DHCP server)

See what IP address is assigned to the Mikrotik ether3 interface. If none is assigned then just give it 192.168.0.2 static.

Now you cannot communicate from the other side of the Mikrotik with that wireless device, because that device is not using the Mikrotik as gateway.

But there are a few ways out, as the Mikrotik can communicate with the device. (they are in the same subnet, no gateway involved)
- You could use Telnet or SSH by using the Telnet tool in the Mikrotik.
- You could set up the web-proxy in the Mikrotik, and define the Mikrotik 192.168.1.1 as proxy server in your PC browser
- After setting up the web-proxy. You could redirect HTTP traffic to the web-proxy port 8080 in the Mikrotik NAT rules. (avoiding the need to define the web proxy in the PC browser)
- You could try proxy-arp in the Mikrotik

Or even just differently. Bridge the interface of the PC with ether3. Now the PC is in the same network as the device. Give or obtain an IP address in the 192.168.0.0/24 range in the PC.
The PC can now communicate with the device as if it was directly connected to the device.
Changing the IP address of the PC will disrupt all other PC connections (so if you are handling this remotely you will loose contact to that PC)

Illustration of the web-proxy + redirect, so you can browse to the device directly connected to the Mikrotik. (I changed my subnet 87 to yours)
Klembord-2.jpg
Klembord-3.jpg
Klembord-4.jpg
You do not have the required permissions to view the files attached to this post.
 
User avatar
cyon
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 62
Joined: Tue Apr 29, 2014 12:58 pm

Re: couldn't add new DHCP client - can not run on slave interface

Wed Jun 24, 2020 10:43 pm

Come Right!

Thank you!

Who is online

Users browsing this forum: Amazon [Bot], CGGXANNX, GoogleOther [Bot], Josephny, satepson and 32 guests