containers / containers/netavark

Add support for classless static routes (options 121 and 249) for DHCP ipam

Open
#1,280 7 comments 0 reactions 0 assignees View on GitHub
kind/feature
Dominant language
Rust
Stars
794
Forks
161
Avg merge
8d 17h
Merged PRs (30d)
3

Description

At the moment DHCP ipam ignores classless static routes (option 121) and Microsoft classless static routes (option 249) options provided from DHCP server.

The workaround to hardcode the routes through podman network create --route does not work either.

The workaround to create the routes from within the container significantly increases complexity and also introduces security risks (CAP_NET_ADMIN required), and especially increases complexity if you are trying to run container PID 1 not from USER root.

As far as I can tell, netavark uses mozim for DHCP, and AFAICan tell mozim does not support classless static routes either.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.