<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/data/templates/dhcp-client, branch vyos/1.4dev1</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=vyos%2F1.4dev1</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=vyos%2F1.4dev1'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2023-08-17T11:10:38+00:00</updated>
<entry>
<title>Revert: dhcp: T5428: always release lease from default VRF</title>
<updated>2023-08-17T11:10:38+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-08-17T11:07:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1a69e9bb4b4e81a6191cb3d48e36542c36a6b763'/>
<id>urn:sha1:1a69e9bb4b4e81a6191cb3d48e36542c36a6b763</id>
<content type='text'>
This reverts commit 9afcea251bdc895ffd49cb11f455fd636fdf817b

A DHCP relese must also be originated from the VRF where the dhclient program is
running, else the RELEASE message can not be send through the interface towards
the DHCP server.

The reason it did not work in the past was because of https://vyos.dev/T5476
</content>
</entry>
<entry>
<title>dhcp: T5428: always release lease from default VRF</title>
<updated>2023-08-07T21:05:12+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-08-07T20:53:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=9afcea251bdc895ffd49cb11f455fd636fdf817b'/>
<id>urn:sha1:9afcea251bdc895ffd49cb11f455fd636fdf817b</id>
<content type='text'>
Otherwise packet can be received in a VRF that was already deleted.
Image of the following CLI commands:

del interface ethernet eth0 address dhcp
del interface ethernet eth0 vrf red
del vrf name red

VRF could be deleted even if dhclient release was not yet completely
processed.
</content>
</entry>
<entry>
<title>dhcpv6: T5428: client renewal fails when running inside VRF</title>
<updated>2023-08-05T07:28:35+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-08-05T07:02:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=8a15595e1ac3d9e3e15f40f8b2256768f8d71f0c'/>
<id>urn:sha1:8a15595e1ac3d9e3e15f40f8b2256768f8d71f0c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dhcp: T5428: remove hardcoded path to client runtime directories</title>
<updated>2023-08-05T07:28:03+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-08-05T07:01:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=96132f582ef698b84d08e5ff207e508ed0f9c5f7'/>
<id>urn:sha1:96132f582ef698b84d08e5ff207e508ed0f9c5f7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dhcp: T5428: client renewal fails when running inside VRF</title>
<updated>2023-08-04T18:13:29+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-08-04T18:13:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=782e400d6f276a8a4ee51c92f02e01e7695f55fb'/>
<id>urn:sha1:782e400d6f276a8a4ee51c92f02e01e7695f55fb</id>
<content type='text'>
vyos@vyos# run show vrf MGMT processes
 2282  sshd

There is no dhclient process running in given VRF. dhclient complains it can
not send out packets via the given interface (as it's not bound to that VRF)

Aug 02 20:29:54 dhclient[1686]: send_packet: Network is unreachable
Aug 02 20:29:54 dhclient[1686]: send_packet: please consult README file regarding broadcast address.
Aug 02 20:29:54 dhclient[1686]: dhclient.c:3001: Failed to send 300 byte long packet over fallback interface.
</content>
</entry>
<entry>
<title>dhcpv6-pd: T5387: add support for no-release flag</title>
<updated>2023-07-31T11:58:24+00:00</updated>
<author>
<name>1vivy</name>
<email>1vivy@tutanota.com</email>
</author>
<published>2023-07-23T17:31:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1d86092328ef43368fcb0bf348c14a01466e5892'/>
<id>urn:sha1:1d86092328ef43368fcb0bf348c14a01466e5892</id>
<content type='text'>
When no-release is specified, dhcp6c client will not release allocated address or prefix on client exit.

vyos.ifconfig: dhcpv6: T5387: re-use options_file for no release flag [WIP]
* Todo: render Jinja2 template and fill it

vyos.ifconfig: dhcpv6: T5387: finish options_file and no release flag in cli

vyos.ifconfig: dhcpv6: T5387: fix missing/wrong end tag

vyos.ifconfig: dhcpv6: T5387: fix options, no var for -n

dhcpv6-client: T5387: fix missing / from filepaths
</content>
</entry>
<entry>
<title>dhcpv6-pd: T2821: bugfix Jinja2 template - missing conditional if</title>
<updated>2022-09-21T17:34:23+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-09-21T17:30:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=b004cad76803af1615df8435c9b4881905a5ae64'/>
<id>urn:sha1:b004cad76803af1615df8435c9b4881905a5ae64</id>
<content type='text'>
Specifying "dhcpv6-options pd 0" for any interface without an interface where
we delegate an address to resulted in a commit error:

{% for interface, interface_config in pd_config.interface.items() if pd_config.interface is vyos_defined %}
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'interface'
</content>
</entry>
<entry>
<title>dhcp(v6)-client: T4353: fix Jinja2 linting errors</title>
<updated>2022-04-16T10:14:56+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-04-16T10:14:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=039e323d7e46f7d8244c42794f713a0bfecbe2d3'/>
<id>urn:sha1:039e323d7e46f7d8244c42794f713a0bfecbe2d3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dhcp(v6): T4333: migrate to new vyos_defined Jinja2 test</title>
<updated>2022-04-08T12:48:17+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-04-08T12:48:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=654dbc9aa3b0d27ec4f3faefff6cbd85fc3e1d1a'/>
<id>urn:sha1:654dbc9aa3b0d27ec4f3faefff6cbd85fc3e1d1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dhcp: T4008: change client retry interval form 300 -&gt; 60 seconds</title>
<updated>2021-11-18T16:59:52+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-11-18T16:55:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=be21deb31c3cdb9f221fb3765be13093e40407d8'/>
<id>urn:sha1:be21deb31c3cdb9f221fb3765be13093e40407d8</id>
<content type='text'>
(cherry picked from commit e1539b6fffaf10863e41a73a380f9de40f6aece6)
</content>
</entry>
</feed>
