Re: Debian installer refuses to setup IP address if gateway is no in the same subnet
Hi.
On Tue, Oct 31, 2023 at 11:13:04AM +0100, Marco M. wrote:
> > Maybe you need to help the installer along, and set the default route
> > for the machine? Perhaps using an alternate virtual terminal, like
> > FN+F5. I believe the command is `route add default gw {IP-ADDRESS}
> > {INTERFACE-NAME}`.
>
> sudo ip route add <GW-IP> dev <if>
> sudo ip route add 0.0.0.0/0 via <GW-IP>
Actually, you can do it in a single command:
ip ro a default via <GW-IP> dev <if> onlink
Reco
Reply to: