Community discussions

MikroTik App
 
User avatar
nichky
Forum Guru
Forum Guru
Topic Author
Posts: 1404
Joined: Tue Jun 23, 2015 2:35 pm

LTE-gw

Wed Jun 26, 2024 3:06 pm

how to see the gateway if it doesn't at /ip/route ?
You do not have the required permissions to view the files attached to this post.
 
phenom988
just joined
Posts: 2
Joined: Sat Jun 29, 2024 4:59 pm

Re: LTE-gw

Sun Jun 30, 2024 6:46 pm

Hi!

The default apn related settings are containing an "add-default-route=yes" option.
Have a nice day!
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 4697
Joined: Sun May 01, 2016 7:12 pm
Location: California
Contact:

Re: LTE-gw

Sun Jun 30, 2024 8:04 pm

OP has the use-default-gateway=yes set... otherwise the /ip/route wouldn't be there.

It's an interface route, and modem knows the destination is the other end of the LTE "session". So there is no IPv4 gateway.

The "actual" routing table is in /routing/route/print (/ip/route is more like a filtered+ordered view of that info). If you look at an LTE default route there, you'll see the routing table knows it "modem" - so gateway is numberless/"other-end of the LTE link", see belongs-to="modem" for an LTE route:
 /routing/route/print detail 
Flags: X - disabled, F - filtered, U - unreachable, A - active; 
c - connect, s - static, r - rip, b - bgp, o - ospf, i - isis, d - dhcp, v - vpn, m - modem, a - ldp-address, l - ldp-mapping, g - slaac>
H - hw-offloaded; + - ecmp, B - blackhole 
 Am   afi=ip4 contribution=active dst-address=0.0.0.0/0 routing-table=main gateway=lte1 immediate-gw=lte1 distance=2 scope=30 
       target-scope=10 belongs-to="modem" 
       debug.fwp-ptr=0x20282120 

But you can use "lte1" as the gateway in any additional routes+tables, as if it had a GW.
 
User avatar
nichky
Forum Guru
Forum Guru
Topic Author
Posts: 1404
Joined: Tue Jun 23, 2015 2:35 pm

Re: LTE-gw

Mon Jul 01, 2024 9:29 am

thx @Amm0

i'm using LTE6 , and i'm not able to see the gw ip-address, i thought that there is some secret door,but it seems that that there is not.