Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux_router:ipoe [2021-07-10 Sat wk27 05:03] – baumkp | linux_router:ipoe [2023-04-30 Sun wk17 17:43] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
{{tag> | {{tag> | ||
- | =====ISP IPoE DHCP Setup Notes===== | + | =====ISP IPoE DHCP Setup Notes===== |
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. | ||
Line 7: | Line 7: | ||
I investigated this ISP dhcp setup and came up with the other term IPoE. All a bit strange really, as dhcp is used on most networks to allow automatic configuration of network IP addresses and most IP traffic is over Ethernet. | I investigated this ISP dhcp setup and came up with the other term IPoE. All a bit strange really, as dhcp is used on most networks to allow automatic configuration of network IP addresses and most IP traffic is over Ethernet. | ||
- | Thereis | + | 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 66: | Line 96: | ||
++++ | ++++ | ||
- | ===Firewall Modifications=== | + | ====Firewall Modifications==== |
When using pppoe a separate device is created that can be used to filter against. | 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.1.0/ | ||
ip saddr 192.168.6.0/ | ip saddr 192.168.6.0/ | ||
- | + | </ | |
- | + | ||
- | </ | + | |
- | + | ||
< | < |