Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
linux_router:ipoe [2021-07-01 Thu wk26 19:15] – [ISP IPoE DHCP Setup Notes] baumkp | linux_router:ipoe [2022-12-29 Thu wk52 16:37] – [dhclient] baumkp | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{tag> | + | {{tag> |
- | | + | =====ISP IPoE DHCP Setup Notes===== |
- | Preliminary notes on Setting up a Linux router for IPoE DHCP instead of PPPoE. | + | Notes on Setting up a Linux router for IPoE DHCP instead of PPPoE. |
After a few years of reasonable successful use of bridged VDSL modem with Linux Router running pppoe and nftables my ISP informed me that they do not use authentication on the connection with username and password. In fact they mention they used dhcp IPoE instead of PPPoE. | After a few years of reasonable successful use of bridged VDSL modem with Linux Router running pppoe and nftables my ISP informed me that they do not use authentication on the connection with username and password. In fact they mention they used dhcp IPoE instead of PPPoE. | ||
- | I tried to investigate | + | I investigated |
- | I have just started to investigate this and have not been able to find much information on how to make this work. | + | There is not much information on how to make this work. |
I use the RJ45 ethernet interface call eno1. In my netplan configuration file, ''/ | I use the RJ45 ethernet interface call eno1. In my netplan configuration file, ''/ | ||
Line 33: | Line 33: | ||
| | ||
So the networkd builtin dhcpd would seem to be functional. | So the networkd builtin dhcpd would seem to be functional. | ||
- | + | ||
- | ===dhclient=== | + | The '' |
- | The following dhclient commands are used to manual control dhcp connections. | + | ++++-|< |
- | *To remove existing connected dhcp leased connections on eno1: '' | + | Link File: / |
+ | Network File: / | ||
+ | Type: ether | ||
+ | | ||
+ | | ||
+ | Path: pci-0000: | ||
+ | Driver: igb | ||
+ | Vendor: Intel Corporation | ||
+ | | ||
+ | HW Address: 0c: | ||
+ | MTU: 1500 (min: 68, max: 9216) | ||
+ | | ||
+ | IPv6 Address Generation Mode: eui64 | ||
+ | Queue Length (Tx/Rx): 8/8 | ||
+ | Auto negotiation: | ||
+ | | ||
+ | Duplex: full | ||
+ | Port: tp | ||
+ | | ||
+ | 202.7.254.238 (DHCP4 via 202.7.254.1) | ||
+ | fe80:: | ||
+ | | ||
+ | DNS: 8.8.8.8 | ||
+ | 8.8.4.4 | ||
+ | DHCP4 Client ID: IAID: | ||
+ | DHCP6 Client DUID: DUID-EN/ | ||
+ | |||
+ | ====dhclient==== | ||
+ | The following dhclient commands are used to manual control dhcp connections. | ||
+ | ++++tldr:| | ||
+ | *To remove existing connected dhcp leased connections on eno1: '' | ||
*It is under stop the '' | *It is under stop the '' | ||
*To manual request a dhcp lease connection on eno1: '' | *To manual request a dhcp lease connection on eno1: '' | ||
- | ++++ | ||
===dhclient@.service=== | ===dhclient@.service=== | ||
- | '' | + | |
+ | '' | ||
< | < | ||
[Unit] | [Unit] | ||
Line 65: | Line 95: | ||
++++ | ++++ | ||
+ | |||
+ | ====Firewall Modifications==== | ||
+ | When using pppoe a separate device is created that can be used to filter against. | ||
+ | < | ||
+ | ip saddr 192.168.1.0/ | ||
+ | ip saddr 192.168.6.0/ | ||
+ | </ | ||
- | I am using netplan to configure my networks on stary up on Debian. | ||
- | dhclient can be used to manually setup DHCP connections [[https:// | ||
< | < |