-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] dhcpcd on a virtual nic for alpine #411
Comments
@rsmarples any idea how to handle such issue? |
Sorry for not replying earlier, this slipped off my radar. So if you add dhcpcd to the boot or default runlevel with it's stock configuation, it will operate on all interfaces, virtual or otherwise. If they are interface types dhcpcd can work with. When leases expire they should renew automatically - some configs are expected to fail renew but then rebind before expiry. In other words I'm not sure how else to handle your issue. Please provide more detail. |
sure, which info do you need? |
Well, lets start with the basics. |
Greetings,
I have an alpine setup running openrc and dhcpcd.
dhcpcd is started on the boot runlevel, on the default runlevel there is a service that boots vms.
one of the vms creates a virtual nic which connects the host with that vm.
if I run dhcpcd on that nic manually, I get ip, the problem is who to make it automatic.
another issue I'm looking to solve is the ip renewal part, it seems that if I leave the system up for the night, the ip lease on that nic expires and I loose network connection between them.
any recommendations how to configure dhcpcd to auto dhcp when the device is created and maintain ip lease if expired?
Thanks
The text was updated successfully, but these errors were encountered: