Community discussions

MikroTik App
 
red6
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 75
Joined: Sun Nov 17, 2013 7:10 pm
Location: Toronto, Canada

What am I missing in my 4G/LTE setup on RB951

Thu Sep 25, 2014 7:44 am

I have an RB912 with a USB Dongle connected to an LTE wireless network with WIFI access working properly but ethernet not passing traffic upstream.

I must be missing something obvious. Do I need to create a bridge?

Here is the important part of my ROS code:
/interface ethernet
set 0 arp=enabled auto-negotiation=yes disabled=no full-duplex=yes l2mtu=1600 mac-address=xx:xx:xx:xx:xx:xx mtu=1500 name=ether1 speed=1Gbps

/ip dhcp-server
add address-pool=dhcp_pool1 authoritative=after-2sec-delay bootp-support=static disabled=no interface=wlan1 lease-time=8w name=dhcp1
add address-pool=dhcp_pool1 authoritative=after-2sec-delay bootp-support=static disabled=no interface=ether1 lease-time=3d name=server1

/interface ppp-client
add add-default-route=yes allow=pap,chap,mschap1,mschap2 apn=xxxxxxx.bell.ca data-channel=0 dial-command=ATDT dial-on-demand=no disabled=no \
    info-channel=1 keepalive-timeout=30 max-mru=1500 max-mtu=1500 modem-init="" mrru=disabled name=ppp-out1 null-modem=no password=xxxxx phone="" \
    pin="" port=usb1 profile=default use-peer-dns=yes user=xxxxxxxxx@xxxxxxx.bell.ca

/interface bridge settings
set use-ip-firewall=no use-ip-firewall-for-pppoe=no use-ip-firewall-for-vlan=no

/ip address
add address=192.168.88.1/24 disabled=no interface=wlan1 network=192.168.88.0

/ip dhcp-client
add add-default-route=yes default-route-distance=0 disabled=no host-name=nebraska interface=ether1 use-peer-dns=no use-peer-ntp=no

/ip dhcp-server network
add address=192.168.88.0/24 dhcp-option="" dns-server=192.168.88.1 gateway=192.168.88.1 ntp-server="" wins-server=""

/ip dns
set allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB max-udp-packet-size=4096 servers=204.101.237.136,207.164.79.249

/ip firewall address-list
add address=192.168.0.0/16 disabled=no list=LAN

/ip firewall connection tracking
set enabled=yes generic-timeout=10m icmp-timeout=10s tcp-close-timeout=10s tcp-close-wait-timeout=10s tcp-established-timeout=1d tcp-fin-wait-timeout=\
    10s tcp-last-ack-timeout=10s tcp-syn-received-timeout=5s tcp-syn-sent-timeout=5s tcp-syncookie=no tcp-time-wait-timeout=10s udp-stream-timeout=3m \
    udp-timeout=10s

/ip firewall nat
add action=masquerade chain=srcnat disabled=no out-interface=ppp-out1

/ip neighbor discovery
set ether1 disabled=no
set wlan1 disabled=no
set ppp-out1 disabled=yes


So as you can see I have the NAT masquerade set up and I have yet to add the usual simple firewall rules.

I do get an IP address when I connect a client on the ethernet port but I cannot ping anything.

I must be getting dumb and dumber :(
 
plisken
Forum Guru
Forum Guru
Posts: 2509
Joined: Sun May 15, 2011 12:24 am
Location: Belgium
Contact:

Re: What am I missing in my 4G/LTE setup on RB951

Thu Sep 25, 2014 12:49 pm

Look at this example.
In dutch but look to the printscreens i made.
http://www.wirelessinfo.be/index.php/mikrotik/pages/3g
 
Rudios
Forum Veteran
Forum Veteran
Posts: 973
Joined: Mon Mar 11, 2013 12:58 pm
Location: The Netherlands

Re: What am I missing in my 4G/LTE setup on RB951

Thu Sep 25, 2014 12:51 pm

If you want ether1 and wlan1 to be in the same network, create a bridge and put the desired ports to that bridge.
Then move the IP address and the DHCP server assignments to the bridge instead of the individual interfaces.
 
red6
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 75
Joined: Sun Nov 17, 2013 7:10 pm
Location: Toronto, Canada

Re: What am I missing in my 4G/LTE setup on RB951

Thu Sep 25, 2014 3:28 pm

Thanks. Really helped. Got it working.
 
plisken
Forum Guru
Forum Guru
Posts: 2509
Joined: Sun May 15, 2011 12:24 am
Location: Belgium
Contact:

Re: What am I missing in my 4G/LTE setup on RB951

Thu Sep 25, 2014 3:55 pm

thanks for giving me karma, i appresiate this.

Who is online

Users browsing this forum: Bing [Bot] and 25 guests