I’m trying to setup my LHG LTE in bridge mode (Ubiquiti Edgerouter acting as router), but I can’t get it to work, and I don’t know what I’m doing wrong.
I’m following the instructions written on this page: https://wiki.mikrotik.com/wiki/Manual:Interface/LTE#Passthrough
I have also done it over the GUI interface. But nothing happen, I lose connection to the LHG web interface (it’s normal) but my real router (Ubiquiti) doesn’t get any internet IP.
There are two types of mobile modems. One of them imitates a network card (Mikrotik manual calls that “direct IP mode”), and that one can be used in bridge mode. The other one imitates a serial modem, and for that one, bridge mode was not possible at least recently. You can find out which modem type you have by setting it up in the usual mode (not in bridge) - if an /ip dhcp-client is automatically created, it’s the one imitating the network card. But as the manual states, the DirectIP mode may just be disabled by command, so check that setting first.
That’s probably important but I’ve never tested one, so I can’t say anything based on that fact alone.
It must be no in order that the Direct IP mode could work if supported by the modem. So it’s not important what’s the default, it’s important what /port firmware print says. If it says ignore-directip-modem: yes, set it to no.
No. PPP is used along with the serial line emulator mode, DirectIP is used along with the network card emulator mode.
You have ONE ethernet and you not must create a Bridge.
Just create two VLAN’s at Ether1.
*) vlan id 2 as management
*) vlan id 3 as lte passthrough
Enable RoMon.
Set InterfaceList the LAN additional vlan id 2 “mgmt”
At your RB2=RouterBoard_SecondOne create both vlan at ethernet port who is going to LHGR.
*) at vlan id 2 add it to bridge-local
*) at vlan id 3 create a dhcp-client to receive LTE IP from LHGR.
Create dhcp-client at vlan id 2 as mgmt interface - now you have IP from your LAN and can manage device by IP. By RoMon etc.
Set APN passthrough to vlan id 3 and your RB2 receive LTE IP from LHGR via dhcp client.
Well, I found the error and totally my fault…
I forget to set up the DHCP on the WAN port of the Edegrouter…
Now it wrong.
Thanks for your help
Interesting, I will test it later. Having access to the LHG LTE’s management interface in bridge mode would be interesting indeed.
But I need to check how to create VLAN on a WAN port on Edgerouter.
I will probably come back later.
Problem is at MikroTik site, when you mix ether1 and vlan2@ether1 then traffic at ether1 is not work properly, special when the ether1 is a port in bridge-lan. I don’t know your setup.
Setup VLANs are always in few method differ to hardware what you have got. This easy topic can be done by few ways.
MikroTik give us info that SXTR & LHGR are on chip QCA9531 but we haven’t a “Block Diagram” and not know how it’s internal connections look.
At my SXTR in WinBox > Switch I can see the switch1 on chipset Atheros 8227. I have got 2xFE means that I can reach ~195Mbps on two ports but this Atheros 8227 can be connected with QCA9531 by 100Mb bus and this will be my limit of receiving internet - this will be testing by me in future. Q: What you can see Ethernet Switch at your LHGR?
The best way is to use two vlans at ether1 and not use ether1/bridge-lan itself. Just simple vlans at ether1 directly.
VLAN2 as mgmt with static IP or dhcp-client
VLAN3 as passthrough who is a specific dhcp-server.
At new v6.46:
*) lte - fixed band setting on R11e-4G;
*) lte - fixed network registration on R11e-LTE-US;
*) lte - fix “operator” names not being displayed properly;
*) lte - improved modem initialization;
*) lte - show “primary-band” only for LTE modems;
Please upgrade and remember to do boot firmware upgrade too.
@Sib : thank you so much for your valuable posts about the LHGR configuration.
It took me only a couple of hours to get the configuration done : LHG LTE6 + RB962
Which one of Passthrough and CPE configs is your favorite?
In few words what would be the pro and cons?
Thanks again!
When I use sim-a with apn=internet.cp (who give me a PublicIPv4) then I use Passthrough mode. Next router has other WAN policy then is better to not duplicate all WAN stuff.
When I use sim-b with apm=internet (Private IPv4) then I use normal NAT.
This way is a “general way by SiB”
Passthrough Pro:
you not duplicate the WAN stuff - just migrate/delegate Public IP to main router who do it a NAT’s because he is a main router with other WAN’s
Passthrough Cons = requirements:
you disable management if you not use a RoMON or separate vlan to still have a connection via IPv4 WinBox
when in interface is more then one device you must provide a mac-address of target machine who receive via dhcp the PublicIPv4
you not have internet and must do a dhcp-client from main router to do a ros/boot/modem firmware upgrade - again, separate vlan with mgmt and passthrough are good way.
NO Recursive Routing because gateway=lte1 (interface, not IPv4/6)
And one additional stuff. Without passthrough you use NAT and next main router can use Recursive Routing via your LTE device. Double NAT give you a RR and this is biggest “Pro” of 2xNAT.
P.S.) Remember to check what size of package are incomming from your ISP at lte1 interface because your ISP can clear DF, send you MTU smaller then you have setting at lte1 itself. MTUPath are one directional. Be aware of it.
P.S.2) Do a script who give notice you when the modem firmware v22 will be publish because he give many greate fix and anyone with LTE6 need it :).