Systemd-networkd with usb mobile on rpi4

Hi, how do i connect this:

Bus 001 Device 011: ID 1bbb:0195 T & A Mobile Phones Alcatel OneTouch L850V / Telekom Speedstick LTE

using systemd-networkd?

P.S. im tryng to not use networkmanager work

usb0: connected to usb0
“T & A Alcatel OneTouch L850V / Telekom Speedstick”
ethernet (rndis_host), 8A:6D:8F:17:D4:E3, hw, mtu 1500
ip4 default
inet4 192.168.1.186/24
route4 0.0.0.0/0
route4 192.168.1.0/24
inet6 fe80::5b93:f971:d5ff:bba2/64
route6 fe80::/64
route6 ff00::/8

https://wiki.archlinux.org/title/android_tethering#Using_systemd-networkd_with_udev

your link, i can connect, but i have 2 connections

eth0 10.42.0.119
and
enp1s0u1u2u3 192.168.1.144

if i plug eth0, then i get streaming only from there
if unplug eth0 then connection enp1… is allowed,
how do i get 2 connections at the same time? (if i can ask)

What do you mean? You already said you have both devices eth0 and enp1s0u1u2u3 connected.

i plug lan on eth0 and usb mobile on usb
if i type ip a i see:

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether dc:a6:32:7d:21:6e brd ff:ff:ff:ff:ff:ff
inet 10.42.0.119/24 brd 10.42.0.255 scope global dynamic noprefixroute eth0

4: enp1s0u1u2u3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
link/ether aa:af:c2:3f:99:64 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.144/24 brd 192.168.1.255 scope global dynamic noprefixroute enp1s0u1u2u3

but
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 10.42.0.1 icmp_seq=1 Destination Net Unreachable
From 10.42.0.1 icmp_seq=2 Destination Net Unreachable

ping is directed to 10.42.0.1 and not to 192.168.1.144

while i plug only the mobile key:

: enp1s0u1u2u3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
link/ether aa:af:c2:3f:99:64 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.144/24 brd 192.168.1.255 scope global dynamic noprefixroute enp1s0u1u2u3
valid_lft 6877sec preferred_lft 5977sec
inet6 fe80::93e2:1b9c:abb9:27a5/64 scope link
valid_lft forever preferred_lft forever

and ping is:

ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=110 time=57.3 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=110 time=32.8 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=110 time=34.6 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=110 time=32.9 ms
^C
— 8.8.8.8 ping statistics —
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 32.784/39.381/57.295/10.367 ms

This depends on the route and metrics of routes. If eth0 is not connected to the internet, make sure you configure it that way.

For example with metrics like this
How to change the order of the default gateway with systemd-networkd - Unix & Linux Stack Exchange

Or don’t set any routes on eth0.