From 213af309ab7e03be502d59d71e26298e6008e5b4 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 30 Nov 2025 16:52:32 +0100 Subject: ... --- hosts/vidhar/network/pppoe.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'hosts/vidhar') diff --git a/hosts/vidhar/network/pppoe.nix b/hosts/vidhar/network/pppoe.nix index 52151d87..a891e269 100644 --- a/hosts/vidhar/network/pppoe.nix +++ b/hosts/vidhar/network/pppoe.nix @@ -86,8 +86,7 @@ in { execer = [ "cannot:${lib.getExe' pkgs.iproute2 "ip"}" ]; } '' ip addr add "$4" peer "$5"/32 dev "$1" - ip route add "$5" dev "1" - ip route add default via "$5" dev "1" metric 512 + ip route add default dev "$1" metric 512 ''; "ppp/ip-down".source = pkgs.resholve.writeScript "ip-down" { interpreter = pkgs.runtimeShell; -- cgit v1.2.3