<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/etc/dhcp, branch 1.3.2</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/marekm72/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/marekm72/vyos-1x.git/atom?h=1.3.2</id>
<link rel='self' href='https://git.amelek.net/marekm72/vyos-1x.git/atom?h=1.3.2'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/'/>
<updated>2022-05-05T05:41:45+00:00</updated>
<entry>
<title>T4405: Fix administrative distance of DHCP routes</title>
<updated>2022-05-05T05:41:45+00:00</updated>
<author>
<name>Dmitri Toubelis</name>
<email>dtoubelis@users.noreply.github.com</email>
</author>
<published>2022-05-05T05:41:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=0c00e7bf8b6e68814607fde4ff0cd70ce9f4b486'/>
<id>urn:sha1:0c00e7bf8b6e68814607fde4ff0cd70ce9f4b486</id>
<content type='text'>
- Default dhclient script only uses value of `$IF_MERIC` envvar for default route recived via `router` option.
- This variable has no effect on rotes received via `rfc3442-classless-static-routes` option
- Considering that Vyos overrrides `ip` command originating from `dhclient` this can be easily fixed in `iptovtysh()` function by using the `$IF_METRIC` envvar directly in the dhclient hook.</content>
</entry>
<entry>
<title>dhclient: T4121: Fixed resolv.conf generation at early boot stage</title>
<updated>2021-12-30T16:02:26+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2021-12-29T22:41:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=1a9c1479044040c64ca6be91835d8cea7004ddff'/>
<id>urn:sha1:1a9c1479044040c64ca6be91835d8cea7004ddff</id>
<content type='text'>
In case if a CLI configuration is not available, dhclient cannot add
nameservers to a `resolv.conf` file, because `vyos-hostsd` requires that
an interface be listed in the `set system name-server` option.
This commit introduces two changes:

* `vyos-hostsd` service will not be started before Cloud-Init fetch all
remote data. This is required because all meta-data should be available
for Cloud-Init before any of VyOS-related services start since it is
used for configuration generation.

* the `vyos-hostsd-client` in the `dhclient-script` will be used only if
the `vyos-hostsd` is running. In other words - if VyOS services already
started, dhclient changes `resolv.conf` using `vyos-hostsd`; in other
cases - does this directly.

These changes should protect us from problems with DHCP during system
boot if DHCP is required by third-party utils.
</content>
</entry>
<entry>
<title>dhclient: T3940: Added lease file argument to the `dhclient -x` call</title>
<updated>2021-11-01T08:11:22+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2021-10-25T18:44:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=0c2384114e8abbd9c883a57729564c70c0a86eec'/>
<id>urn:sha1:0c2384114e8abbd9c883a57729564c70c0a86eec</id>
<content type='text'>
When `dhclient` with the `-x` option is used to stop running DHCP client
with a lease file that is not the same as in the new `dhclient` process,
it requires a `-lf` argument with a path to the old lease file to find
information about old/active leases and process them according to
instructions and config.

This commit adds the option to the `02-vyos-stopdhclient` hook, which
allows to properly process `dhclient` instances started in different
ways.

(cherry picked from commit 393970f9ee5b3dfc58e0e999d3d5941a198b2c6f)
</content>
</entry>
<entry>
<title>dhclient hooks: T3920: avoid 'too many args' error when no vrf</title>
<updated>2021-10-20T12:50:51+00:00</updated>
<author>
<name>Ross Dougherty</name>
<email>ross@dougherty.id.au</email>
</author>
<published>2021-10-20T12:50:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=67b3dd6b4715fef266eb47e68623944f8be617e0'/>
<id>urn:sha1:67b3dd6b4715fef266eb47e68623944f8be617e0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dhclient: T3852: Fixed dhclient processes search</title>
<updated>2021-09-28T09:50:30+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2021-09-28T09:50:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=2224130742d2867bb12b81deac8972d17920d9d7'/>
<id>urn:sha1:2224130742d2867bb12b81deac8972d17920d9d7</id>
<content type='text'>
Backported commits:
13abffe43b2a5c41bb4ec4675c227f6cf1f868da
01158a8eaa574c48c726c20693479e4aa6e18ee6

This allows finding all running dhclient processes properly.
</content>
</entry>
<entry>
<title>dhclient: T3471: Fixed dhclient processes search</title>
<updated>2021-04-14T06:04:38+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2021-04-13T21:26:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=9b7a4861b35109c47f4b1bc1d688dff928c6f023'/>
<id>urn:sha1:9b7a4861b35109c47f4b1bc1d688dff928c6f023</id>
<content type='text'>
Since in some cases a dhclient command may not end with an interface name, the
way to find out a list of dhclients running for a current interface was replaced
to catch PIDs regardless of the exact command syntax.

(cherry picked from commit 13abffe43b2a5c41bb4ec4675c227f6cf1f868da)
</content>
</entry>
<entry>
<title>dhcp: T3300: add DHCP default route distance</title>
<updated>2021-03-19T18:41:09+00:00</updated>
<author>
<name>Brandon Stepler</name>
<email>brandon@stepler.net</email>
</author>
<published>2021-02-15T15:30:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=ff6afe62e801e570f6478decf2b4a813a5c0ee94'/>
<id>urn:sha1:ff6afe62e801e570f6478decf2b4a813a5c0ee94</id>
<content type='text'>
(cherry picked from commit dd2eb5e5686655c996ae95285b8ad7eb73d63d0b)
</content>
</entry>
<entry>
<title>dhcp: T3392: fix VRF detection</title>
<updated>2021-03-19T18:37:50+00:00</updated>
<author>
<name>Brandon Stepler</name>
<email>brandon@stepler.net</email>
</author>
<published>2021-03-08T19:20:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=74f526c9c1fe782c604d2b88c1753d787dc696b4'/>
<id>urn:sha1:74f526c9c1fe782c604d2b88c1753d787dc696b4</id>
<content type='text'>
(cherry picked from commit ce0600e97baec18c1781605f3a80c26d4ed01e2b)
</content>
</entry>
<entry>
<title>dhclient: T2277: remove VRF route when DHCP client exits</title>
<updated>2020-08-16T12:33:16+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-08-16T12:27:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=b17b8a0129f42c757c1e9a740664406e8da3dd42'/>
<id>urn:sha1:b17b8a0129f42c757c1e9a740664406e8da3dd42</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dhclient: T2277: retrieve VRF inform from sysfs rather then iproute2</title>
<updated>2020-08-15T20:54:23+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-08-15T20:54:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=910fc06cfd4160705f12d890ca6a6b8436326a67'/>
<id>urn:sha1:910fc06cfd4160705f12d890ca6a6b8436326a67</id>
<content type='text'>
</content>
</entry>
</feed>
