Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #272694

Re: Bridging Network Connections with libvirt are unreliable

From Tim Woodall <debianuser@woodall.me.uk>
Newsgroups linux.debian.user
Subject Re: Bridging Network Connections with libvirt are unreliable
Date 2024-08-29 20:40 +0200
Message-ID <JgSdP-8xbl-3@gated-at.bofh.it> (permalink)
References <JglUB-8bxt-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 28 Aug 2024, Rainer Dorsch wrote:

> In the systemd log, the first entry indicating network problems is that the DNS
> server switches to another interface. But it could easily be a consequence and
> not the cause of the issue:
>
> Aug 28 06:57:54 h370 dhclient[1195]: DHCPREQUEST for 192.168.4.203 on eno1.4
> to 192.168.4.1 port 67
> Aug 28 06:57:54 h370 dhclient[1195]: DHCPACK of 192.168.4.203 from 192.168.4.1
> Aug 28 06:57:54 h370 dnsmasq[2386]: reading /etc/resolv.conf
> Aug 28 06:57:54 h370 dnsmasq[2386]: using nameserver 192.168.4.1#53
> Aug 28 06:57:54 h370 dhclient[1195]: bound to 192.168.4.203 -- renewal in
> 18265 seconds.
>

To me that looks like it's the DHCP request(renewal?) that is more
likely breaking things. The DHCP server is presumably rewriting
resolv.conf.

I have the following setting to stop dhcp changing resolv.conf:

$ cat /etc/dhcp/dhclient-enter-hooks.d/nodnsupdate
make_resolv_conf() {
         :
}

Don't know if that will fix your problem but it should hopefully stop
those dnsmasq lines appearing in the log.

Does the problem definitely happen when the dhcp update happens or are
these just the nearest logs?

Tim.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bridging Network Connections with libvirt are unreliable Rainer Dorsch <ml@bokomoko.de> - 2024-08-28 10:10 +0200
  Re: Bridging Network Connections with libvirt are unreliable Tim Woodall <debianuser@woodall.me.uk> - 2024-08-29 20:40 +0200
    Re: Bridging Network Connections with libvirt are unreliable Rainer Dorsch <ml@bokomoko.de> - 2024-08-30 18:50 +0200
  Re: Bridging Network Connections with libvirt are unreliable Jeffrey Walton <noloader@gmail.com> - 2024-08-30 01:20 +0200
    Re: Bridging Network Connections with libvirt are unreliable Rainer Dorsch <ml@bokomoko.de> - 2024-08-30 19:00 +0200

csiph-web