please choosego to mobile | Continue to access the PC version
View: 2095|Reply: 0

Default GW not being set

[Copy link]

1

threads

2

posts

11

credits

Novice

Rank: 1

credits
11
Published in 2021-4-23 03:16:58 | Show all floors |Read mode
I have an OrangePi Zero2 set as a wireless bridge. The bridge itself is working great, my problem is that the default GW for the br0 interface is not being set. When I go in nmtui I can see that the default gateway fot the interface is set, but if I try to ping any address outside of my LAN I get a
Destination Host Unreachable

message which basically there is no default route. So as root I add a default route to the using
  1. route add default gw 192.168.1.1 br0
Copy code

and now everything works fine. Is there a way to dorce the dafault route to stick between reboots?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list