Please tell me where I am wrong in the configuration and the bridge has no internet:
2023-10-25 08:19:24 by RouterOS 7.11.2
software id = 9PQM-FIZY
model = RB962UiGS-5HacT2HnT
serial number = HE308W7PYE9
/interface bridge
add name=Bridge
/interface wireless
set [ find default-name=wlan1 ] disabled=no ssid=MikroTik
set [ find default-name=wlan2 ] disabled=no ssid=MikroTik
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp_pool0 ranges=10.1.0.2-10.1.0.254
/ip dhcp-server
add add-arp=yes address-pool=dhcp_pool0 interface=Bridge name=dhcp1
/interface bridge port
add bridge=Bridge interface=wlan1
add bridge=Bridge interface=wlan2
/ip address
add address=10.1.0.1/24 interface=Bridge network=10.1.0.0
/ip dhcp-client
add interface=ether2
/ip dhcp-server network
add address=10.1.0.0/24 dns-server=10.1.0.1 gateway=10.1.0.1
/ip dns
set allow-remote-requests=yes
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether2
/system clock
set time-zone-name=Europe/Sofia
/system note
set show-at-login=no
Hello,
It seems this is configured as router for wireless clients. (I usually call “configured as router” when it is natting and assigning IP addresses to clients)
What do you have connected in ether2?
Is it getting IP address in ehter2? If this is a private IP, please run “ip dhcp-client/print detail” and share the output here
Regards,
Damián
Hello,
It seems this is configured as router for wireless clients. (I usually call “configured as router” when it is natting and assigning IP addresses to clients)
What do you have connected in ether2?
Is it getting IP address in ehter2? If this is a private IP, please run “ip dhcp-client/print detail” and share the output here
Regards,
Damián
Flags: X - disabled, I - invalid, D - dynamic
0 interface=ether2 add-default-route=yes default-route-distance=1
use-peer-dns=yes use-peer-ntp=yes dhcp-options=hostname,clientid
status=bound address=192.168.1.165/24 gateway=192.168.1.1
dhcp-server=192.168.1.1 primary-dns=192.168.1.43 secondary-dns=10.50.12.1
primary-ntp=192.168.1.1 expires-after=27m57s
Please, from the Mikrotik itself, run a ping to the following places and tell me about the outputs:
ping to 192.168.1.1 without interface - 0.5 ms. with interface bridge - timeout. The same is the case with 8.8.8.8 and google.
The DNS is working
Hmmm, not sure about the behavior
I just tested in a Mikrotik, If I do a ping to a LAN IP, using another interface, I get timeout
If you have a computer in the bridge, try to do the following and share the output:
View the IP address of the computer
In the Mikrotik open a new terminal and write: “tool/sniffer/quick ip-address=A.B.C.D ip-protocol=icmp” (Change A.B.C.D for the IP address of the machine)
from the computer run a ping to 8.8.8.8
In the Mikrotik press “q”
Regards,
Damián
Hmmm, not sure about the behavior
I just tested in a Mikrotik, If I do a ping to a LAN IP, using another interface, I get timeout
If you have a computer in the bridge, try to do the following and share the output:
View the IP address of the computer
In the Mikrotik open a new terminal and write: “tool/sniffer/quick ip-address=A.B.C.D ip-protocol=icmp” (Change A.B.C.D for the IP address of the machine)
from the computer run a ping to 8.8.8.8
In the Mikrotik press “q”
Regards,
Damián
I fix the problem with internet on eth1 …