P
P
Pontius712019-12-16 14:24:06
Mikrotik
Pontius71, 2019-12-16 14:24:06

Internet access via Wi-Fi bridge Miktorik?

Colleagues, I ask for help.
I have 2 rbsxtsqg-5acd devices between which a bridge is configured.
The essence of the problem is that the network behind the bridge client does not go online.
The network has its own gateway with dhcp.
From the "client" device pings go. from computers behind the client is not present.
I tried two methods:
1) I turned on getting the address and gateway via dhcp everywhere (on the client access point, I turned on the bridge between eth and wlan) - computers received addresses, but pings do not go to the gateway.
2) on the client access point, the eth1 dhcp server was raised, wlan receives the address from a third-party dhcp server. Specified routes, turned on nat - computers received addresses from the new pool, but pings are not selected outside the network.
Config of the 1st point, which is connected by wire to the general structure:

/interface bridge
add name=bridge1
/interface ethernet
set [ find default-name=ether1 ] speed=100Mbps
/interface wireless
set [ find default-name=wlan1 ] band=5ghz-a/n/ac channel-width=20/40mhz -eC country=russia3 disabled=no frequency=auto guard-interval=long mode=bridge nv2-cell-radius=10 nv2-preshared-key=*** nv2-security=enabled ssid=Server tdma-period-size=1 tx-power=2 tx-power-mode=all-rates-fixed \
wds-default-bridge=bridge1 wds-mode=dynamic wireless-protocol=nv2
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity =MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/interface bridge port
add bridge=bridge1 interface=wlan1
add bridge=bridge1 interface=ether1
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=bridge1
/system clock
set time-zone-name=Europe/Moscow
/system identity
set name=Expert_AIR_server
/system package update
set channel=long-term

Config of the 2nd point, beyond which devices do not see anything.
/interface ethernet
set [ find default-name=ether1 ] speed=100Mbps
/interface wireless
set [ find default-name=wlan1 ] band=5ghz-a/n/ac channel-width=20/40mhz-eC disabled=no frequency= auto nv2-preshared-key=*** nv2-security=enabled ssid=Server
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory =flash/hotspot
/ip pool
add name=pool1 ranges=192.168.81.10-192.168.81.50
/ip dhcp-server
add address-pool=pool1 disabled=no interface=ether1 name=dhcp1
/ip address
add address=192.168.81.1 interface =ether1 network=192.168.81.0
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=wlan1
/ip dhcp-server network
add address=192.168.81.0/24 dns-server=8.8.8.8 gateway=192.168.81.1 netmask=24
/ip dns
set allow-remote -requests=yes servers=8.8.8.8
/ip firewall nat
add action=masquerade chain=srcnat
/system clock
set time-zone-name=Europe/Moscow
/system identity
set name=Expert_AIR_Client
/system package update
set channel=long-term

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pontius71, 2019-12-16
@Pontius71

The mistake was trivial. mode-station.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question