Good afternoon,
@bls thank you very much for your suggestions, I was able to modify the default route metric with the commands and here is the result :
Unfortunately, I am unable to Ping google from my IT lab
I can delete the ipv4.gateway properties for wired connection and you can find below the .nmconnection files outputs : Maybe I forgot something or my tests are executed wrongly.
Maybe the better solution it to buy a mini-router to not loose time with this (1 month in this subject...)
Can you tell me if I forgot something? Is it possible to describe the steps to make this Raspi as a simple router for my two networks please?
Best regards,
ZeRedDiamond
@bls thank you very much for your suggestions, I was able to modify the default route metric with the commands
Code:
nmcliCode:
default via 192.168.1.1 dev wlan0 proto dhcp src 192.168.1.110 metric 1 10.0.0.0/24 dev eth0 proto kernel scope link src 10.0.0.1 metric 100 192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.110 metric 1 Code:
user@raspberrypi:/etc $ ping 8.8.8.8 -c 4 -I wlan0PING 8.8.8.8 (8.8.8.8) from 192.168.1.110 wlan0: 56(84) bytes of data.64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=12.2 ms64 bytes from 8.8.8.8: icmp_seq=2 ttl=117 time=11.7 ms64 bytes from 8.8.8.8: icmp_seq=3 ttl=117 time=11.8 ms64 bytes from 8.8.8.8: icmp_seq=4 ttl=117 time=11.9 ms--- 8.8.8.8 ping statistics ---4 packets transmitted, 4 received, 0% packet loss, time 3005msrtt min/avg/max/mdev = 11.737/11.908/12.217/0.186 msuser@raspberrypi:/etc $ ping 8.8.8.8 -c 4 -I eth0PING 8.8.8.8 (8.8.8.8) from 10.0.0.1 eth0: 56(84) bytes of data.From 10.0.0.1 icmp_seq=1 Destination Host Unreachable--- 8.8.8.8 ping statistics ---4 packets transmitted, 0 received, +1 errors, 100% packet loss, time 3061mspipe 4Code:
user@raspberrypi:/etc/NetworkManager/system-connections $ sudo cat preconfigured.nmconnection [connection]id=preconfigureduuid=<SECRET>type=wifitimestamp=1743958141[wifi]mode=infrastructuressid=Fleur2021[wifi-security]key-mgmt=wpa-pskpsk=<SECRET>[ipv4]method=autoroute-metric=1[ipv6]addr-gen-mode=defaultmethod=auto[proxy]user@raspberrypi:/etc/NetworkManager/system-connections $ sudo cat Wired\ connection\ 1.nmconnection [connection]id=Wired connection 1uuid=<SECRET>type=ethernetautoconnect-priority=-999interface-name=eth0timestamp=1745242515[ethernet][ipv4]address1=10.0.0.1/24dns=10.0.0.1;method=manual[ipv6]addr-gen-mode=stable-privacymethod=auto[proxy]Maybe the better solution it to buy a mini-router to not loose time with this (1 month in this subject...)
Can you tell me if I forgot something? Is it possible to describe the steps to make this Raspi as a simple router for my two networks please?
Best regards,
ZeRedDiamond
Statistics: Posted by ZeRedDiamond — Mon Apr 21, 2025 1:54 pm