Skip to content

Conversation

@aojea
Copy link
Collaborator

@aojea aojea commented May 19, 2025

Allow to pass device configuration to configure network interface attribute and Pod namespace routing

Change-Id: I8676f2a2f7ed2fb08d6281e397ed317a4dbf7f9e
@aojea aojea force-pushed the interface_config branch from a366689 to 20d43c5 Compare May 19, 2025 22:44
Change-Id: Icf6d7baf5eacdd35db7ed7b6a0dc2c3e069cd68e
@aojea aojea force-pushed the interface_config branch from 20d43c5 to 2afe069 Compare May 19, 2025 22:51
Change-Id: I3bbd5df0fd6414b2c41f3ed240f1c1e3bcec2532
@aojea aojea merged commit 25db764 into google:main May 19, 2025
6 checks passed
@gauravkghildiyal
Copy link
Member

I'm curious if this is a purely hypothetical use case, or are we thinking of some what to pic one IP out of CIDR "169.254.169.13/32"?

@aojea
Copy link
Collaborator Author

aojea commented May 19, 2025

I'm curious if this is a purely hypothetical use case, or are we thinking of some what to pic one IP out of CIDR "169.254.169.13/32"?

it is not ipam, is the ip assigned to the interface

5: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 02:42:82:4a:d5:11 brd ff:ff:ff:ff:ff:ff
    inet 192.168.9.1/24 brd 192.168.9.255 scope global docker0
       valid_lft forever preferred_lft forever
    inet6 fe80::42:82ff:fe4a:d511/64 scope link proto kernel_ll
       valid_lft forever preferred_lft forever

@gauravkghildiyal
Copy link
Member

Sorry, misread the /32 as some smaller number. So it's like some static config. Gotcha

@aojea
Copy link
Collaborator Author

aojea commented May 20, 2025

Sorry, misread the /32 as some smaller number. So it's like some static config. Gotcha

yes, it is the minimum necessary for boostrap the network as defined in one of the 100s comments here opencontainers/runtime-spec#1271

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants