Community discussions

MikroTik App
 
ctenney
just joined
Topic Author
Posts: 2
Joined: Mon Jun 15, 2015 8:32 am
Location: Pennsylvania

starlink and static routes

Sun Feb 05, 2023 8:22 pm

I did the bypass mode on starlink and am using my mikrotik to run the network. I saw a video on another brand that he set a static route to 192.168.100.1 to still be able to view the starkink device web page to be able to monitor the dish. I am new to programming. I added an address 192.168.100.1 255.255.255.252 eth1-gateway. I can pin the address dishy.starlink.com and it resolves to 192.168.100.1 and I can also ping 192.168.1.100. I tried the web address or ip address in my browser and it did to work. I tried adding a static route destination address of 192.168.100.1 to the gateway of my router 192.168.0.1 and its subnet is 255.255.255.0

What am I doing wrong? TIA

Christopher
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 2978
Joined: Mon Apr 08, 2019 1:16 am

Re: starlink and static routes

Mon Feb 06, 2023 1:26 am

Don't know how the adresses are with bypass mode.

But in normal mode 192.168.100.1 is for the Starlink dishy. 192.168.1.1 is for the Starlink router.

If you connect the MT to the Starlink router in normal mode , it's connected to the 192.168.1.0/24 network. Then you get an address like 192.168.1.1xx from the Starlink router on the MT router.
A route for 192.168.100.1/24 with 192.168.1.1 as gateway is then needed.
Bypass might give your an address in the 192.168.100.0/24 range (so then that route is not needed)

Using NAT in the MT

For your LAN network adressing that is mostly different , "masquerade" or SRC-NAT can be used on the eth1 interface of the MT, to the Starlink router.
For the default config of a MT in Home gateway (Home AP etc) , adding eth1 to the "WAN interface list" will do the trick. Eth1 is then an internet WAN connection, and has a DHCP client.
The masquerade NAT rule for the WAN interface list members should be there already by default.
Eth1 is not added as port on the LAN bridge. LAN Bridge that usually caries it's own LAN subnet and DHCP server (your 192.168.0.0/24)
The Starlink then only sees the Eth1 address of the MT as connected.

Not using NAT in the MT

If you don't want the NAT used in masquerade on the MT, then all devices must be in the address range of the Starlink LAN. (192.168.100.0) or in a extra subnet set as LAN in the Starlink router . (If this can be done. I have no access to this setting in my Starlink router).

ETH1 can then be a port on the bridge, which carries the DHCP client. There is no routing or NAT in the MT in this bridged case.

So I don't understand what you want with
I tried adding a static route destination address of 192.168.100.1 to the gateway of my router 192.168.0.1 and its subnet is 255.255.255.0
Client devices should use the MT router as default gateway (192.168.0.1?) , or 192.168.100.1/32 should be properly routed to this MT via other gateways.
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3169
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: starlink and static routes

Mon Feb 06, 2023 4:08 am

Don't know how the adresses are with bypass mode.
You get a CGNAT private like 100.64.x.x. is what I've seen. But the terminal does seem to have a 192.168.100.1/24 address too in the various models (square, rectancutar, circle) I've seen.

For by-pass mode, you can generally just add a 192.168.100.100/24 as an /ip/address on the Mikrotik for the interface going to starlink. Since "dishy.starlink.com" is in public DNS as 192.168.100.1, the starlink app etc all should work fine.

If you NAT'ing to the 192.168.1.0/24 used by the starlink router as the Mikrotik WAN, then you just need to add /ip/route on the Mikrotik for 192.168.100.1/32 to 192.168.1.1, as bpwl suggests.

In either case, if you have a more restricted firewall (e.g. no inter-lan routing), you may need to adjust firewall accordingly to allow.
 
frostyjhammer
just joined
Posts: 1
Joined: Wed Apr 19, 2023 5:53 am

Re: starlink and static routes

Sat May 06, 2023 8:06 pm

If you NAT'ing to the 192.168.1.0/24 used by the starlink router as the Mikrotik WAN,
I am using my Starlink router as the Mikrotik WAN.
then you just need to add /ip/route on the Mikrotik for 192.168.100.1/32 to 192.168.1.1, as bpwl suggests.
I'm not skilled with programming my router. I tried this static route [https://i.imgur.com/FYIZ5Ll.png]
and I can ping 192.168.100.1 from the Mikrotik router
but I cannot ping it from my mac connected to the router with IP address 192.168.1.xxx on the LAN.

Can anyone tell give me plain, detailed instructions to add a static route to 192.168.100.1 on my Mikrotik?

Thank you.
 
User avatar
Ca6ko
Member
Member
Posts: 498
Joined: Wed May 04, 2022 10:59 pm
Location: Kharkiv, Ukraine

Re: starlink and static routes

Sun May 07, 2023 12:55 pm

You do not need to add a route separately. Just set the port of the mikrotik to which the Starlink is connected to an additional IP address from the network 192.168.100.0.0/24 any other than .1, the route will be created automatically.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: starlink and static routes

Sun May 07, 2023 4:36 pm

Add also the route for the captive portal ( my.starlink.com ) .... if the IP is not changed....
viewtopic.php?f=2&t=175272&p=871239#p871239
/ip route
add distance=1 dst-address=34.120.255.244/32 gateway=<starlink-interface>
add distance=1 dst-address=192.168.100.1/32 gateway=<starlink-interface>

Who is online

Users browsing this forum: Bing [Bot], carcuevas and 28 guests