Hello to everybody,
I have 3 Ethernet devices (Schneider1-2-3) that I want to connect to a existing Wifi network.
Wifi mask is 255.255.255.0, gateway 192.168.140.1. Addresses from 192.168.140.10 to 192.168.140.99 are available to static addresses.
I put 3 map lite configured as CPE bridge. Added ethernet and wifi interface to bridge and to interface list LAN, and connected to existing Wifi.
Addresses are:
Mikrotik1 (192.168.140.10) connected by ethernet to Schneider1 (192.168.140.20)
Mikrotik2 (192.168.140.11) connected by ethernet to Schneider2 (192.168.140.21)
Mikrotik3 (192.168.140.12) connected by ethernet to Schneider3 (192.168.140.22)
Subnet Mask is 255.255.255.0, Gateway is 192.168.140.1. Firmware is 7.13.1
Every Mikrotik can ping Schneider connect by cable with no problem.
Problems are when trying to reach devices with wifi.
For example, if I try from Mikrotik1 to ping Mikrotik2, it’s ok, but not Mikrotik3.
Worst is when trying from a Mikrotik to a Schneider not connected directly (like Mikrotik1 with Schneider2)
Here’s the configuration of Mikrotik1:
2024-01-16 11:39:30 by RouterOS 7.13.1
software id = 3LQ7-ANDM
model = RBmAPL-2nD
serial number = HEH08KWYCS2
/interface bridge
add name=bridge1 port-cost-mode=short
/interface wireless
set [ find default-name=wlan1 ] country=italy disabled=no mode=
station-pseudobridge ssid=********
/interface list
add name=WAN
add name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk group-ciphers=
tkip,aes-ccm mode=dynamic-keys supplicant-identity=MikroTik
unicast-ciphers=tkip,aes-ccm
/ip hotspot profile
set [ find default=yes ] html-directory=hotspot
/interface bridge port
add bridge=bridge1 interface=wlan1 internal-path-cost=10 path-cost=10
add bridge=bridge1 interface=ether1 internal-path-cost=10 path-cost=10
/interface list member
add interface=ether1 list=LAN
add interface=wlan1 list=LAN
/ip address
add address=192.168.140.10/24 interface=bridge1 network=192.168.140.0
/ip dns
set servers=8.8.8.8
/system clock
set time-zone-name=Europe/Rome
/system identity
set name=MikroTik_Carroponte1
/system note
set show-at-login=no
I'm sure that something is wrong in configuration, but I can't understand where the problem is.
I’m not expert in RouterOs and Mikrotik, but I want to learn.
Thank you to everybody that will help me
Assuming the Schneider devices have network interfaces and they are connected to different ethernet ports on the MikroTik: you should add all interfaces to the bridge, currently only ether1 is part of the bridge.
There is also room for cleaning up your config, but that is not part of the problem.
At last, I would advise to keep the security-profile in accordance with the wireless network: hoping you dont use both wpa-psk and tkip anymore.
Hello,
thank you for your time.
I have 3 Schneider devices with ethernet port. Everyone is connected to a Mikrotik map lite (I have 3) which has a Ethernet interface and a Wifi interface. My goal is to connect the 3 Schneider devices to wifi. For me, it’s like to “add” a wifi card to them.
I think I can not add other that ether1 to bridge because map lite has only 1 ethernet. Am I wrong?
For security profile and cleaning configuration, I use Quick Set (it’s not very professional, I know… sorry) and it took those parameters. I haven’t problems on connecting to wifi, but I will check.
It is very strange that #1 can ping #2 but not #3, all three should work (or fail to work) in exactly the same way.
How (exactly) do you connect to the one (or the other, or the third) Mikrotiks to do the ping tests?
I mean, from the wi-fi side or from the ethernet port?
And with Winbox or with Webfig (or some other method)?
It is not that you are using a (dumb) ethernet switch and have your PC and one of the Schneider devices connected at the same time to the ethernet port of the map lite? (from what I understand only one device should be connected to the ethernet port of the CPE in station-bridge mode, but the possible issues should only be related to DHCP, while you have static addresses, though it is still possible that somehow your configuration creates a duplicate MAC).
Settings are the same, only ip addresses are different. My problem it’s very similar to one posted. It’s like I have a ethernet printer, that I want to connect to existing wifi, everything with static IP.
I will check better the topic you posted and also similar.
The existing wifi network (the one i would like to connect to with Schneider devices) is part of more extended network. In this network I have a PC and I use Winbox to connect to Mikrotik.
With Winbox, I use ping to check connection.
As you said, only one device is connected to ethernet port.
I will try to reset configuration and restart from zero because I used Quick Set but I read that sometimes can create problems.
I have to check your suggestion about MAC, because I noticed differences between ping and MAC ping, but I didn’t investigate well.
Another option I have thought is:
separate wifi and Ethernet (remove bridge)
assign actual ip address to wifi to connect to existing Wireless network
assign a new ip address to ethernet in another class
assign a static ip in the same new class to Schneider devices
Good.
Personally I would disconnect one of the Schneider and connect the PC with Winbox (with a suitable static IP address) to ethernet 1 of one of the Mikrotik for the ping tests.
Strictly speaking you don’t actually need to assign an ip address to the bridges on the Mikrotik if not to make the tests.
If you use Winbox you should be able to connect to the map lites using their MAC addresses. Ultimately it doesn’t really matter if the Mikrotik can ping anything, what matters is that the Schneiders can access the gateway and that they are visibile/accessibile from the Wi-Fi LAN. You could assign later an address on another subnet only for management via Webfig or Winbox.
It should not be needed, but in the worst case it should do no harm to add in /ip route with 192.168.140.1 as gateway.
From the map lite and from the PC you should be able to ping the gateway and through it ping (say) 8.8.8.8. As well from another PC on the Wi-Fi LAN you should be able to ping the map lite and the PC running Winbox. If all these tests succeed, then replacing the PC with the Schneider, this latter should work, rinse and repeat for the other two.
You can also try using station-bridge-clone but then very likely you will only be able to connect via Winbox through the ip (cannot say if Winbox can see the real Mac in this setup).