Beryl routing.

Post Reply
SteveXXX
Posts: 3
Joined: Wed Apr 13, 2022 1:37 pm
Has thanked: 0
Been thanked: 0

Beryl routing.

Post by SteveXXX »

Hi all,

First, new here so if I make any faux pas don't hesitate to tell me...

I am setting up the following system:

netgear M5 192.168.1.0 <USB tether> 192.168.8.4 beryl 192.168.8.1 <ether cable> 192.168.8.2 Unifi DreamMachine 10.11.12.2 <ether cables...>

I have a Pi3 connected via ether to the beryl @ 192.168.8.20. I can see it from a local box:
$ traceroute 192.168.8.20
traceroute to 192.168.8.20 (192.168.8.20), 64 hops max
1 10.11.12.2 0.126ms 0.114ms 0.109ms
2 192.168.8.1 0.898ms 0.372ms 0.348ms
3 192.168.8.20 0.833ms 0.623ms 0.556ms

But I can't see the local box from the Pi3:
$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.8.1 0.0.0.0 UG 202 0 0 eth0
0.0.0.0 192.168.8.1 0.0.0.0 UG 303 0 0 wlan0
192.168.8.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0
192.168.8.0 0.0.0.0 255.255.255.0 U 303 0 0 wlan0
ngm:~ $ traceroute 10.11.12.69
traceroute to 10.11.12.69 (10.11.12.69), 30 hops max, 60 byte packets
1 console.gl-inet.com (192.168.8.1) 0.691 ms 0.565 ms 0.445 ms
2 192.168.1.1 (192.168.1.1) 1.963 ms 1.930 ms 2.129 ms
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 *^C

It tries to go out to the inet, instead of to my local net. I know I need routes for 10.11.12.0 on the Pi3, and I suspect the beryl,
but everything I try fails to solve the problem.

So the question is:
What routes do I have to setup on the Pi3 and/or beryl to allow a path from the Pi3 to my local net?

tia,
Steve
User avatar
Didneywhorl
Posts: 3635
Joined: Fri Mar 23, 2018 5:37 pm
Location: USA
Has thanked: 1369 times
Been thanked: 761 times
Contact:

Re: Beryl routing.

Post by Didneywhorl »

Is your Beryl connected to the Unifi as a WAN, on a WAN port? Otherwise you have a mismatched subnet at the ethernet unifi interface.

Lest I misunderstand.


Side note, love my Dream Machine Pro. Got the Dream Machine regular for my father in law. Good machines as long as you disable automatic update, lol.
SteveXXX
Posts: 3
Joined: Wed Apr 13, 2022 1:37 pm
Has thanked: 0
Been thanked: 0

Re: Beryl routing.

Post by SteveXXX »

Yes.

The Beryl WAN port is cabled to the UDM WAN port

The Beryl is tethered to the netgear @ 192.168.1.4
The Beryl is setup @ 192.168.8.1
The UDM WAN router is set to 192.168.8.1 and its address is set to 192.168.8.2

All internet functions work as expected.
SteveXXX
Posts: 3
Joined: Wed Apr 13, 2022 1:37 pm
Has thanked: 0
Been thanked: 0

Re: Beryl routing.

Post by SteveXXX »

Forgot to mention ...

Decided to do some thru-put testing. In this configuration speedtest.com
freezes the netgear M5!!! No front-panel, no pings, even the app can't see it.
Tried different cables, no luck. Repeated the experiment 3-4 times, always the same:
tethered Beryl, speedtest hangs.
direct ethernet from netgear to udm, no hang.
So this may be academic (but am still interested in figuring it out!)

Oh, and I have been looking at that little notice about "updates are available" for months now!
I'm too chicken to try... if it ain't broke, don't fix it
User avatar
Didneywhorl
Posts: 3635
Joined: Fri Mar 23, 2018 5:37 pm
Location: USA
Has thanked: 1369 times
Been thanked: 761 times
Contact:

Re: Beryl routing.

Post by Didneywhorl »

UDM updates are too scary for me, lol

You have me cornfused. LAN to WAN is how I run router to router. You likely are way ahead of me in the network setup knowledge but I've typically seen the WAN port to be a dhcp client to the connected serving router. If your getting internet through it to the UDM I guess it works but I've never seen a WAN port on one router used to serve the WAN to another routers WAN port.

Also, I would expect the WAN port of the UDM to be in the subnet of the beryl, but the UDM to have a separate subnet itself unless you completely shut its dhcp server off. Otherwise you have two routers with competing dhcp servers.

Maybe I misunderstand
Post Reply

Return to “GL.iNet”