]> git.ozlabs.org Git - ppp.git/commit
pppd: add VRF (Virtual Routing and Forwarding) binding support on Linux (#566) master
authorMartin Olivier <martin.olivier@live.fr>
Fri, 3 Oct 2025 09:16:54 +0000 (11:16 +0200)
committerGitHub <noreply@github.com>
Fri, 3 Oct 2025 09:16:54 +0000 (19:16 +1000)
commit7a4571660a5b6e44cd75326459fb1698385f06ef
tree793154cbef1b0da9372a86e3836b7b23aac6b530
parenta839700f353f2ebc4d3d926282365a11362bb4e3
pppd: add VRF (Virtual Routing and Forwarding) binding support on Linux (#566)

Add 'vrf' option to bind a PPP interface to a specific VRF, so that
routes are installed in the VRF's routing table rather than the main
routing table.

This allows PPP sessions to operate in separate routing domains,
providing isolation of traffic and routes.

When this option is used, pppd sets the 'VRF' environment variable for
ip-{up,down} scripts.

Signed-off-by: Martin Olivier <martin.olivier@live.fr>
pppd/main.c
pppd/options.c
pppd/pppd-private.h
pppd/pppd.8
pppd/sys-linux.c