Repository navigation
network: dhcp renew - #11883
network: dhcp renew#11883
Conversation
|
@poettering Thank you for commenting such a quite early version. |
22fa1bb to
ba530d0
Compare
|
@yuwata you working on this ? |
|
This is almost completed. But I have no way to test this PR... If you are interested in, please test this. |
|
this works fine |
|
Thank you for testing this PR. I will try to add a test case later. |
|
OK but please remove the WIP . I think it's works fine and much needed feature . @keszybz Please take a final look. |
|
@ssahani Which software for DHCP server do you use? It seems DHCP servers of dnsmasq and systemd-networkd do not support RENEW command. I'd like to implement a test for this. |
ba530d0 to
308e7df
Compare
|
@ssahani I missed your comment in #13181 (comment). Still I am not sure why the test does not work on veth. But if it is true, then it seems hard to implement a test for this... Do you have any idea for testing this and SendRelease? |
|
we can't test this on a veth but I have tested on real interface this works . we can capture packets on Wireshark and can see release packet been sent over interface. If in veth interface one end goes down then packet is not transmitted. While testing I found this and is correct. If you try sen to a VM in your laptop that should work. |
|
LGTM |
|
@ssahani Thank you for your review. |
This adds a bus method to renew DHCPv4 addresses.