I’m trying to get connected on the WiFi (2.4Ghz) and get internet access through my LTE connection.
Right now I only get access from the wired port.
Is there a basic or default config I can load to accomplish this? Winbox has a different window for each individual component but nothing to configure it all in one place. Perhaps CLI would be easier?
normis
July 25, 2013, 11:11am
2
Sounds like you need the correct SRC-NAT rule.
Post output of this command from console:
/export compact
Rudios
July 25, 2013, 11:24am
3
Or maybe you are missing a bridge port membership?
normis
July 25, 2013, 11:29am
4
Yes, could be. Depends on how device is confgured, therefore we need output of the above command. /
I’ll run the export when I get into the lab this morning.
Thanks for the quick response!
See output below:
[admin@Maxxwave3G] > /export compact
jan/02/1970 00:31:58 by RouterOS 5.25
software id = KCEW-JLRK
/interface bridge
add name=bridge1
/interface wireless
set 0 band=2ghz-b/g/n country="united states" default-authentication=no
disabled=no distance=indoors frequency=2437 l2mtu=2290 mode=ap-bridge ssid=
"WgenLab Y" wireless-protocol=802.11
/interface lte
set 0 apn="" mac-address=F2:CE:7F:03:01:07 modem-init="" name=lte1 network-mode=
auto password="" pin="" user=""
/interface wireless security-profiles
set [ find default=yes ] eap-methods=passthrough mode=static-keys-optional
/ip dhcp-server
add add-arp=yes disabled=no interface=wlan1 lease-time=12h name=server1
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m
/port
set 0 name=usb1
/interface ppp-client
add apn=internet name=ppp-out1 port=usb1
/ip address
add address=172.16.201.1/32 interface=wlan1 network=172.16.201.0
/ip dhcp-client
add add-default-route=no disabled=no host-name=mk2.4ghz interface=ether1
/ip dhcp-server network
add address=172.16.201.0/24 dns-server=4.2.2.2,4.2.2.1 gateway=172.16.201.1
netmask=24
/ip neighbor discovery
set lte1 disabled=yes
set wlan1 disabled=yes
/system identity
set name=Maxxwave3G
/system leds
set 0 interface=wlan1
/system routerboard settings
set cpu-frequency=600MHz
[admin@Maxxwave3G] >
/export compact output below:
[admin@Maxxwave3G] > /export compact
jan/02/1970 00:31:58 by RouterOS 5.25
software id = KCEW-JLRK
/interface bridge
add name=bridge1
/interface wireless
set 0 band=2ghz-b/g/n country="united states" default-authentication=no
disabled=no distance=indoors frequency=2437 l2mtu=2290 mode=ap-bridge ssid=
"WgenLab Y" wireless-protocol=802.11
/interface lte
set 0 apn="" mac-address=F2:CE:7F:03:01:07 modem-init="" name=lte1 network-mode=
auto password="" pin="" user=""
/interface wireless security-profiles
set [ find default=yes ] eap-methods=passthrough mode=static-keys-optional
/ip dhcp-server
add add-arp=yes disabled=no interface=wlan1 lease-time=12h name=server1
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m
/port
set 0 name=usb1
/interface ppp-client
add apn=internet name=ppp-out1 port=usb1
/ip address
add address=172.16.201.1/32 interface=wlan1 network=172.16.201.0
/ip dhcp-client
add add-default-route=no disabled=no host-name=mk2.4ghz interface=ether1
/ip dhcp-server network
add address=172.16.201.0/24 dns-server=4.2.2.2,4.2.2.1 gateway=172.16.201.1
netmask=24
/ip neighbor discovery
set lte1 disabled=yes
set wlan1 disabled=yes
/system identity
set name=Maxxwave3G
/system leds
set 0 interface=wlan1
/system routerboard settings
set cpu-frequency=600MHz
[admin@Maxxwave3G] >
Rudios
July 31, 2013, 7:51pm
8
You should configure your IP address on your bridge, and make both our ether ports and wlan port member of that bridge.
Also configure your DHCP server on the brdige.
If you do that, all devices connected to the bridge, either via wlan or cable, will get a valid IP and will be able to reach the internet.
Maybe you also shoud configure a NAT masquerade rule