You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 years ago | |
|---|---|---|
| SOURCES | 3 years ago | |
| SPECS | 3 years ago | |
| .gitattributes | 4 years ago | |
| .gitignore | 4 years ago | |
| HACKING.md | 3 years ago | |
| README.md | 4 years ago | |
| build.sh | 4 years ago | |
README.md
Patched dhclient for the Orange Fibre ISP
Why ?
The Orange Fibre ISP in France needs DHCP packets to be sent with 802.1Q priority set to "6". The only way to accomplish this is by patching dhclient.
How ?
On a CentOS Stream 8 server that is connected to the ONT, enable this repo.
sudo curl -o https://f003.backblazeb2.com/file/dhclient-orange/dhclient-orange.repo /etc/yum.repos.d/dhclient-orange.repo
And install the patched dhclient.
sudo dnf remove dhcp-client
sudo dnf install dhcp-client-orange-isp
Configure the connection with NetworkManager.
sudo nmcli con add type vlan con-name eno1.832 dev eno1 id 832 egress "0:0,1:0,2:0,3:0,4:0,5:0,6:6,7:0"
Future
In the future, starting with Kernel 5.7, the "egress" netfilter hook might be sufficient and this patch could disappear.
Commit e687ad60af09 ("netfilter: add netfilter ingress hook after handle_ing() under unique static key") introduced the ability to classify packets on ingress.
Allow the same on egress.
This hook is also useful for NAT46/NAT64, tunneling and filtering of locally generated af_packet traffic such as dhclient.