Skip to content

Static IP on a DHCP type IPAM. #9438

Answered by mccv1r0
mskarbek asked this question in Q&A
Discussion options

You must be logged in to vote

Yes. To start you really should make sure that the static ip isn't something that the dhcp server is going to hand out.

For podman, you would need 2 .conflist files, each with a different name obviously. One has ipam type: dhcp (like in your example) and the other has ipam type: host-local. They both point to the same Linux bridge.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mskarbek
Comment options

Answer selected by mskarbek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants