Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
The same DHCP pool on different interface
« previous
next »
Print
Pages: [
1
]
Author
Topic: The same DHCP pool on different interface (Read 6910 times)
rocketme
Newbie
Posts: 15
Karma: 0
The same DHCP pool on different interface
«
on:
July 04, 2018, 04:04:27 am »
Hi all.
I now have a problem about DHCP pool on the same Vlan. The same Vlan (for example: Vlan 5) is built on different interfaces, one is LACP, the other is physical interface. I find that the Vlan5 on these two interfaces requires different DHCP services, and the DHCP pool can not be the same. So how can I set the Vlan DHCP on these two different interfaces to use the same pool?
Logged
rocketme
Newbie
Posts: 15
Karma: 0
Re: The same DHCP pool on different interface
«
Reply #1 on:
July 04, 2018, 10:25:17 am »
Jul 5 00:18:21 dhcpd: exiting.
Jul 5 00:18:21 dhcpd:
Jul 5 00:18:21 dhcpd: process and the information we find helpful for debugging.
Jul 5 00:18:21 dhcpd: before submitting a bug. These pages explain the proper
Jul 5 00:18:21 dhcpd: bugs on either our web page at
www.isc.org
or in the README file
Jul 5 00:18:21 dhcpd: than a configuration issue please read the section on submitting
Jul 5 00:18:21 dhcpd: If you think you have received this message due to a bug rather
Jul 5 00:18:21 dhcpd:
Jul 5 00:18:21 dhcpd: Configuration file errors encountered -- exiting
Jul 5 00:18:21 dhcpd: ^
Jul 5 00:18:21 dhcpd: range 10.0.5.60 10.0.5.69;
Jul 5 00:18:21 dhcpd: /etc/dhcpd.conf line 27: lease 10.0.5.69 is declared twice!
Jul 5 00:18:21 dhcpd: ^
Jul 5 00:18:21 dhcpd: range 10.0.5.60 10.0.5.69;
Jul 5 00:18:21 dhcpd: /etc/dhcpd.conf line 27: lease 10.0.5.68 is declared twice!
Jul 5 00:18:21 dhcpd: ^
Jul 5 00:18:21 dhcpd: range 10.0.5.60 10.0.5.69;
Jul 5 00:18:21 dhcpd: /etc/dhcpd.conf line 27: lease 10.0.5.67 is declared twice!
Jul 5 00:18:21 dhcpd: ^
Jul 5 00:18:21 dhcpd: range 10.0.5.60 10.0.5.69;
Jul 5 00:18:21 dhcpd: /etc/dhcpd.conf line 27: lease 10.0.5.66 is declared twice!
Jul 5 00:18:21 dhcpd: ^
Jul 5 00:18:21 dhcpd: range 10.0.5.60 10.0.5.69;
Jul 5 00:18:21 dhcpd: /etc/dhcpd.conf line 27: lease 10.0.5.65 is declared twice!
Jul 5 00:18:21 dhcpd: ^
Jul 5 00:18:21 dhcpd: range 10.0.5.60 10.0.5.69;
Jul 5 00:18:21 dhcpd: /etc/dhcpd.conf line 27: lease 10.0.5.64 is declared twice!
Jul 5 00:18:21 dhcpd: ^
Jul 5 00:18:21 dhcpd: range 10.0.5.60 10.0.5.69;
Jul 5 00:18:21 dhcpd: /etc/dhcpd.conf line 27: lease 10.0.5.63 is declared twice!
Jul 5 00:18:21 dhcpd: ^
Jul 5 00:18:21 dhcpd: range 10.0.5.60 10.0.5.69;
Jul 5 00:18:21 dhcpd: /etc/dhcpd.conf line 27: lease 10.0.5.62 is declared twice!
Jul 5 00:18:21 dhcpd: ^
Jul 5 00:18:21 dhcpd: range 10.0.5.60 10.0.5.69;
Jul 5 00:18:21 dhcpd: /etc/dhcpd.conf line 27: lease 10.0.5.61 is declared twice!
Jul 5 00:18:21 dhcpd: ^
Jul 5 00:18:21 dhcpd: range 10.0.5.60 10.0.5.69;
Jul 5 00:18:21 dhcpd: /etc/dhcpd.conf line 27: lease 10.0.5.60 is declared twice!
Jul 5 00:18:21 dhcpd: Warning: subnet 10.0.5.0/24 overlaps subnet 10.0.5.0/24
Jul 5 00:18:21 dhcpd: For info, please visit
https://www.isc.org/software/dhcp/
Jul 5 00:18:21 dhcpd: All rights reserved.
Jul 5 00:18:21 dhcpd: Copyright 2004-2018 Internet Systems Consortium.
Jul 5 00:18:21 dhcpd: Internet Systems Consortium DHCP Server 4.3.6-P1
Jul 5 00:18:13 dhcpd: Server starting service.
Jul 5 00:18:13 dhcpd: Sending on Socket/fallback/fallback-net
Jul 5 00:18:13 dhcpd: Sending on BPF/lagg0_vlan5/a0:36:9f:a3:1d:2d/10.0.5.0/24
Jul 5 00:18:13 dhcpd: Listening on BPF/lagg0_vlan5/a0:36:9f:a3:1d:2d/10.0.5.0/24
Jul 5 00:18:13 dhcpd: Sending on BPF/igb0_vlan5/a0:36:9f:a3:1d:2c/10.0.5.0/24
Jul 5 00:18:13 dhcpd: Listening on BPF/igb0_vlan5/a0:36:9f:a3:1d:2c/10.0.5.0/24
Logged
rocketme
Newbie
Posts: 15
Karma: 0
Re: The same DHCP pool on different interface
«
Reply #2 on:
July 04, 2018, 10:31:22 am »
ul 5 00:27:34 dhcpd: Server starting service.
Jul 5 00:27:34 dhcpd: Sending on Socket/fallback/fallback-net
Jul 5 00:27:34 dhcpd: Sending on BPF/lagg0_vlan5/a0:36:9f:a3:1d:2d/10.0.5.0/24
Jul 5 00:27:34 dhcpd: Listening on BPF/lagg0_vlan5/a0:36:9f:a3:1d:2d/10.0.5.0/24
Jul 5 00:27:34 dhcpd: Sending on BPF/igb0_vlan5/a0:36:9f:a3:1d:2c/10.0.5.0/24
Jul 5 00:27:34 dhcpd: Listening on BPF/igb0_vlan5/a0:36:9f:a3:1d:2c/10.0.5.0/24
Jul 5 00:27:34 dhcpd: Multiple interfaces match the same shared network: lagg0_vlan5 igb0_vlan5
Jul 5 00:27:34 dhcpd: Multiple interfaces match the same subnet: lagg0_vlan5 igb0_vlan5
Jul 5 00:27:34 dhcpd: Wrote 1 leases to leases file.
Jul 5 00:27:34 dhcpd: For info, please visit
https://www.isc.org/software/dhcp/
Jul 5 00:27:34 dhcpd: All rights reserved.
Jul 5 00:27:34 dhcpd: Copyright 2004-2018 Internet Systems Consortium.
Jul 5 00:27:34 dhcpd: Internet Systems Consortium DHCP Server 4.3.6-P1
Jul 5 00:27:34 dhcpd: PID file: /var/run/dhcpd.pid
Jul 5 00:27:34 dhcpd: Database file: /var/db/dhcpd.leases
Jul 5 00:27:34 dhcpd: Config file: /etc/dhcpd.conf
Jul 5 00:27:34 dhcpd: Warning: subnet 10.0.5.0/24 overlaps subnet 10.0.5.0/24
Jul 5 00:27:34 dhcpd: For info, please visit
https://www.isc.org/software/dhcp/
Jul 5 00:27:34 dhcpd: All rights reserved.
Jul 5 00:27:34 dhcpd: Copyright 2004-2018 Internet Systems Consortium.
Jul 5 00:27:34 dhcpd: Internet Systems Consortium DHCP Server 4.3.6-P1
SO.....Different interfaces require different DHCP pools, even if VLAN is the same.
Logged
kanstin
Newbie
Posts: 35
Karma: 6
Re: The same DHCP pool on different interface
«
Reply #3 on:
July 08, 2018, 01:56:54 am »
I think what you want to do is create a bridge from the two interfaces and then assign the new bridge interface to your network. The DHCP pool for the bridge will go across the two interfaces
Logged
rocketme
Newbie
Posts: 15
Karma: 0
Re: The same DHCP pool on different interface
«
Reply #4 on:
July 16, 2018, 02:14:55 pm »
Yes, you're right. Thank you.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
The same DHCP pool on different interface