← 返回命令列表

Linux command

pppoe-relay 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start PPPoE relay

pppoe-relay -S [eth0] -C [eth1]

Relay with multiple interfaces

pppoe-relay -S [eth0] -C [eth1] -C [eth2]

Run in foreground

pppoe-relay -n -S [eth0] -C [eth1]

说明

pppoe-relay forwards PPPoE discovery and session packets between network interfaces, acting as a relay agent between PPPoE clients and access concentrators on different network segments. This allows clients on one subnet to connect to a PPPoE server on another. The relay listens on both server-side and client-side interfaces, transparently forwarding PPPoE control and data traffic. Multiple client interfaces can be specified to serve several network segments through a single access concentrator.

参数

-S _INTERFACE_
Server-side interface.
-C _INTERFACE_
Client-side interface.
-n
Don't fork to background.
-i
Ignore PADI if no AC.

FAQ

What is the pppoe-relay command used for?

pppoe-relay forwards PPPoE discovery and session packets between network interfaces, acting as a relay agent between PPPoE clients and access concentrators on different network segments. This allows clients on one subnet to connect to a PPPoE server on another. The relay listens on both server-side and client-side interfaces, transparently forwarding PPPoE control and data traffic. Multiple client interfaces can be specified to serve several network segments through a single access concentrator.

How do I run a basic pppoe-relay example?

Run `pppoe-relay -S [eth0] -C [eth1]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -S _INTERFACE_ do in pppoe-relay?

Server-side interface.