public:use_raspberry_4_as_router
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédente | |||
| public:use_raspberry_4_as_router [2025/03/01 07:22] – pcouderc | public:use_raspberry_4_as_router [2025/03/01 11:15] (Version actuelle) – pcouderc | ||
|---|---|---|---|
| Ligne 63: | Ligne 63: | ||
| An now, reboot... | An now, reboot... | ||
| - | === Connect to internet === | + | === Connect to internet |
| You need to connect your box configured to pass all traffic to the pi. This done with an additional physical adapter from USB3 to RJ45. Here we use a subnetwork from the box (with usually double NAT...), but PPPOE is described later. | You need to connect your box configured to pass all traffic to the pi. This done with an additional physical adapter from USB3 to RJ45. Here we use a subnetwork from the box (with usually double NAT...), but PPPOE is described later. | ||
| Ligne 83: | Ligne 83: | ||
| The last line will be explained later. | The last line will be explained later. | ||
| + | |||
| + | === Connect to PPPoE interface === | ||
| + | Install :! | ||
| + | < | ||
| + | apt install | ||
| + | </ | ||
| + | Note vlan is optional, | ||
| + | Add an initial setting for eth1 (eth1.4001 in the example for 4001 vlan : | ||
| + | < | ||
| + | auto eth1.4001 | ||
| + | iface eth1.4001 inet static | ||
| + | </ | ||
| + | Be ready to provide user and passsword provided by your ISP, and recommended mtu : | ||
| + | < | ||
| + | pppoeconf eth1.4001 | ||
| + | ip a | ||
| + | </ | ||
| + | If no problem ppp0 link will show your ip address... | ||
| === Routing === | === Routing === | ||
public/use_raspberry_4_as_router.1740813760.txt.gz · Dernière modification : de pcouderc
