Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. Configuration problem with a bridge (Pierre Couderc)
   2. Re: Configuration problem with a bridge (Niall O'Reilly)


----------------------------------------------------------------------

Message: 1
Date: Sun, 2 Feb 2020 09:55:39 +0100
From: Pierre Couderc <pie...@couderc.eu>
To: dhcp-users@lists.isc.org
Subject: Configuration problem with a bridge
Message-ID: <07d2fc26-73fa-6524-18ce-f45c04951...@couderc.eu>
Content-Type: text/plain; charset=utf-8; format=flowed

Under debian buster and networking.service with a basic bridge.

DHCP does not assign addresses to enp5s0 devices, but assigns them 
correctly to br0 devices.

/etc/default/isc-dhcp-server :
INTERFACESv4="enp5s0 br0"


/etc/dhcp/dhcpd.conf :
subnet 192.168.16.0 netmask 255.255.255.0 {
range 192.168.16.51 192.168.16.99 ;
 ?authoritative;
}



/etc/networking interface :
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto enps5s0

iface enp5s0 inet manual

# The bridge :

auto br0

iface br0 inet static
 ??????? address 192.168.16.1
 ??????? netmask 255.255.255.0
 ??????? gateway 192.168.16.254
 ??????? network 192.168.16.0
 ??????? broadcast 192.168.16.255
 ??????? bridge_ports enp5s0
 ??????? bridge_stp on
 ??????? bridge_maxwait 0

iface enp5s0 inet6 auto


I have too in journalctl :

Feb 02 09:36:21 server dhcpd[874]: No subnet declaration for enp5s0 (no 
IPv4 addresses).
Feb 02 09:36:21 server dhcpd[874]: ** Ignoring requests on enp5s0.? If 
this is not what
Feb 02 09:36:21 server dhcpd[874]:??? you want, please write a subnet 
declaration
Feb 02 09:36:21 server dhcpd[874]:??? in your dhcpd.conf file for the 
network segment
Feb 02 09:36:21 server dhcpd[874]:??? to which interface enp5s0 is 
attached. **

But there is only 1 subnet for devices "inside" br0 (lxd containers) and 
devices "outside".

It works fine if I install? isc-dhscp-server on another computer without 
bridge, but it is not what I want to do.

What do I miss ?






------------------------------

Message: 2
Date: Sun, 02 Feb 2020 11:02:41 +0000
From: "Niall O'Reilly" <niall.orei...@ucd.ie>
To: "Users of ISC DHCP" <dhcp-users@lists.isc.org>
Subject: Re: Configuration problem with a bridge
Message-ID: <f30df606-dff7-438b-814f-e99442ef8...@ucd.ie>
Content-Type: text/plain

On 2 Feb 2020, at 8:55, Pierre Couderc wrote:

> INTERFACESv4="enp5s0 br0"

This is inconsistent with

> iface br0 inet static
>   ...
>   bridge_ports enp5s0

Since these two interfaces are attached to the same network segment,
only one of them belongs in the "INTERFACESv4" specification.
The one to keep is "br0", since that's the one for which you have
specified an IPv4 subnet.

I wonder whether you need "bridge_stp on". If you have just one
physical uplink ("enp5s0") and you don't have any loops in the
"inside" network, topology management with STP is superfluous.

I hope this helps.
Niall O'Reilly


------------------------------

Subject: Digest Footer

_______________________________________________
dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 136, Issue 2
******************************************

Reply via email to