DHCP Problem: No subnet declaration for eth7












0














I have a working DHCP server using eth0 as its network interface. I need a second interface eth7 and this interface should bind address from the same range that eth0 binds.



The setup is two interface eth0 and eth7 with one DHCP scope.



My problem is that when I restart DHCP server I get this error:



Dec 16 14:13:54 dhcpd: No subnet declaration for eth7 (132.68.7.9).
Dec 16 14:13:54 dhcpd: ** Ignoring requests on eth7. If this is not what
Dec 16 14:13:54 dhcpd: to which interface eth7 is attached. **
Dec 16 18:21:37 dhcpd: No subnet declaration for eth7 (132.68.7.9).
Dec 16 18:21:37 dhcpd: ** Ignoring requests on eth7. If this is not what
Dec 16 18:21:37 dhcpd: to which interface eth7 is attached. **
Dec 16 18:33:41 dhcpd: No subnet declaration for eth7 (132.68.7.9).
Dec 16 18:33:41 dhcpd: ** Ignoring requests on eth7. If this is not what
Dec 16 18:33:41 dhcpd: to which interface eth7 is attached. **
Dec 16 18:34:54 dhcpd: No subnet declaration for eth7 (132.68.7.9).
Dec 16 18:34:54 dhcpd: ** Ignoring requests on eth7. If this is not what
Dec 16 18:34:54 dhcpd: to which interface eth7 is attached. **


eth7 is the new interface and he don't have gateway



I also check: /etc/sysconfig/dhcpd



# Command line options here
#DHCPDARGS="eth0 eth1 eth2 eth6";
DHCPDARGS="eth0 eth7";


DHCP server works fine for eth0



######################################
## network NIC
## VLAN 1003
######################################
DEVICE=eth0
NM_CONTROLLED=yes
ONBOOT=yes
#HWADDR=00:1a:4a:44:01:46 # Commented by Clonezilla
TYPE=Ethernet
BOOTPROTO=none
DEFROUTE=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
IPADDR=10.10.10.7
NETMASK=255.255.252.0
GATEWAY=10.10.10.1
USERCTL=no

######################################
## 7-low NIC
######################################
DEVICE=eth7
NM_CONTROLLED=yes
ONBOOT=yes
IPADDR=10.10.7.9
BOOTPROTO=none
NETMASK=255.255.255.128
#GATEWAY=10.10.7.126
TYPE=Ethernet
IPV6INIT=no
USERCTL=no

This the DHCP scop
## *********************************************************************
## *** DHCP range for new access points, VLAN#1900
## *********************************************************************
#$ AccessPointsWLC-CC

subnet 10.200.19.0 netmask 255.255.255.128
{
authoritative;

option subnet-mask 255.255.255.128;
option routers 10.200.19.126; # IP of CC5698GAL(W), WLCL3, #1900
range 10.200.19.1 10.200.19.125;

option domain-name-servers 10.10.10.7; # IP of widyn
option domain-name "mydomain.com";

## Option 43 for Juniper WLA
## Two IP addresses of WLC 2800, first IP is IP of primary seed, wlc2800
option vendor-encapsulated-options "ip:192.168.247.9,192.168.247.10";

## 9-Jan-2017, for Aruba AP
## http://community.arubanetworks.com/aruba/attachments/aruba/70/1305/1/dhcp-option.pdf
## So if DHCP sees Option 60 equals ArubaAP it will send Option 43 (IP of Aruba controller)
subclass "vendor-class" "ArubaAP" {
option vendor-class-identifier "ArubaAP";
#
# option serverip <loopback-IP-address-of-master-controller>
#
option vendor-encapsulated-options "192.168.78.150";
}

default-lease-time 28800; # 8 hours
max-lease-time 28800; # 8 hours
}

## ***********************************************************************
## *** End of DHCP range for new access points, VLAN#1900
## ***********************************************************************









share|improve this question
























  • Please fix your formatting.
    – Tom
    Dec 17 at 5:34










  • Why you think you need a second interface? If you have two physical NICs connected to the same network segment, you should probably bond or team them. If you need your system to have multiple IP addresses in one network segment, you can configure more than one IP address to a single interface, which is the recommended way to achieve that. Because of TCP/IP stack design principle called "weak host model", trying to use multiple independent (non-bonded/non-teamed) NICs within the same segment will cause unexpected results.
    – telcoM
    Dec 17 at 10:40










  • Hi, The rezone i want to add second interface is because need to change my Dhcp server ip and i want to do it step by step, i will try to add second ip on interface eth0, thanks
    – Rafi Shemesh
    Dec 18 at 6:23


















0














I have a working DHCP server using eth0 as its network interface. I need a second interface eth7 and this interface should bind address from the same range that eth0 binds.



The setup is two interface eth0 and eth7 with one DHCP scope.



My problem is that when I restart DHCP server I get this error:



Dec 16 14:13:54 dhcpd: No subnet declaration for eth7 (132.68.7.9).
Dec 16 14:13:54 dhcpd: ** Ignoring requests on eth7. If this is not what
Dec 16 14:13:54 dhcpd: to which interface eth7 is attached. **
Dec 16 18:21:37 dhcpd: No subnet declaration for eth7 (132.68.7.9).
Dec 16 18:21:37 dhcpd: ** Ignoring requests on eth7. If this is not what
Dec 16 18:21:37 dhcpd: to which interface eth7 is attached. **
Dec 16 18:33:41 dhcpd: No subnet declaration for eth7 (132.68.7.9).
Dec 16 18:33:41 dhcpd: ** Ignoring requests on eth7. If this is not what
Dec 16 18:33:41 dhcpd: to which interface eth7 is attached. **
Dec 16 18:34:54 dhcpd: No subnet declaration for eth7 (132.68.7.9).
Dec 16 18:34:54 dhcpd: ** Ignoring requests on eth7. If this is not what
Dec 16 18:34:54 dhcpd: to which interface eth7 is attached. **


eth7 is the new interface and he don't have gateway



I also check: /etc/sysconfig/dhcpd



# Command line options here
#DHCPDARGS="eth0 eth1 eth2 eth6";
DHCPDARGS="eth0 eth7";


DHCP server works fine for eth0



######################################
## network NIC
## VLAN 1003
######################################
DEVICE=eth0
NM_CONTROLLED=yes
ONBOOT=yes
#HWADDR=00:1a:4a:44:01:46 # Commented by Clonezilla
TYPE=Ethernet
BOOTPROTO=none
DEFROUTE=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
IPADDR=10.10.10.7
NETMASK=255.255.252.0
GATEWAY=10.10.10.1
USERCTL=no

######################################
## 7-low NIC
######################################
DEVICE=eth7
NM_CONTROLLED=yes
ONBOOT=yes
IPADDR=10.10.7.9
BOOTPROTO=none
NETMASK=255.255.255.128
#GATEWAY=10.10.7.126
TYPE=Ethernet
IPV6INIT=no
USERCTL=no

This the DHCP scop
## *********************************************************************
## *** DHCP range for new access points, VLAN#1900
## *********************************************************************
#$ AccessPointsWLC-CC

subnet 10.200.19.0 netmask 255.255.255.128
{
authoritative;

option subnet-mask 255.255.255.128;
option routers 10.200.19.126; # IP of CC5698GAL(W), WLCL3, #1900
range 10.200.19.1 10.200.19.125;

option domain-name-servers 10.10.10.7; # IP of widyn
option domain-name "mydomain.com";

## Option 43 for Juniper WLA
## Two IP addresses of WLC 2800, first IP is IP of primary seed, wlc2800
option vendor-encapsulated-options "ip:192.168.247.9,192.168.247.10";

## 9-Jan-2017, for Aruba AP
## http://community.arubanetworks.com/aruba/attachments/aruba/70/1305/1/dhcp-option.pdf
## So if DHCP sees Option 60 equals ArubaAP it will send Option 43 (IP of Aruba controller)
subclass "vendor-class" "ArubaAP" {
option vendor-class-identifier "ArubaAP";
#
# option serverip <loopback-IP-address-of-master-controller>
#
option vendor-encapsulated-options "192.168.78.150";
}

default-lease-time 28800; # 8 hours
max-lease-time 28800; # 8 hours
}

## ***********************************************************************
## *** End of DHCP range for new access points, VLAN#1900
## ***********************************************************************









share|improve this question
























  • Please fix your formatting.
    – Tom
    Dec 17 at 5:34










  • Why you think you need a second interface? If you have two physical NICs connected to the same network segment, you should probably bond or team them. If you need your system to have multiple IP addresses in one network segment, you can configure more than one IP address to a single interface, which is the recommended way to achieve that. Because of TCP/IP stack design principle called "weak host model", trying to use multiple independent (non-bonded/non-teamed) NICs within the same segment will cause unexpected results.
    – telcoM
    Dec 17 at 10:40










  • Hi, The rezone i want to add second interface is because need to change my Dhcp server ip and i want to do it step by step, i will try to add second ip on interface eth0, thanks
    – Rafi Shemesh
    Dec 18 at 6:23
















0












0








0







I have a working DHCP server using eth0 as its network interface. I need a second interface eth7 and this interface should bind address from the same range that eth0 binds.



The setup is two interface eth0 and eth7 with one DHCP scope.



My problem is that when I restart DHCP server I get this error:



Dec 16 14:13:54 dhcpd: No subnet declaration for eth7 (132.68.7.9).
Dec 16 14:13:54 dhcpd: ** Ignoring requests on eth7. If this is not what
Dec 16 14:13:54 dhcpd: to which interface eth7 is attached. **
Dec 16 18:21:37 dhcpd: No subnet declaration for eth7 (132.68.7.9).
Dec 16 18:21:37 dhcpd: ** Ignoring requests on eth7. If this is not what
Dec 16 18:21:37 dhcpd: to which interface eth7 is attached. **
Dec 16 18:33:41 dhcpd: No subnet declaration for eth7 (132.68.7.9).
Dec 16 18:33:41 dhcpd: ** Ignoring requests on eth7. If this is not what
Dec 16 18:33:41 dhcpd: to which interface eth7 is attached. **
Dec 16 18:34:54 dhcpd: No subnet declaration for eth7 (132.68.7.9).
Dec 16 18:34:54 dhcpd: ** Ignoring requests on eth7. If this is not what
Dec 16 18:34:54 dhcpd: to which interface eth7 is attached. **


eth7 is the new interface and he don't have gateway



I also check: /etc/sysconfig/dhcpd



# Command line options here
#DHCPDARGS="eth0 eth1 eth2 eth6";
DHCPDARGS="eth0 eth7";


DHCP server works fine for eth0



######################################
## network NIC
## VLAN 1003
######################################
DEVICE=eth0
NM_CONTROLLED=yes
ONBOOT=yes
#HWADDR=00:1a:4a:44:01:46 # Commented by Clonezilla
TYPE=Ethernet
BOOTPROTO=none
DEFROUTE=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
IPADDR=10.10.10.7
NETMASK=255.255.252.0
GATEWAY=10.10.10.1
USERCTL=no

######################################
## 7-low NIC
######################################
DEVICE=eth7
NM_CONTROLLED=yes
ONBOOT=yes
IPADDR=10.10.7.9
BOOTPROTO=none
NETMASK=255.255.255.128
#GATEWAY=10.10.7.126
TYPE=Ethernet
IPV6INIT=no
USERCTL=no

This the DHCP scop
## *********************************************************************
## *** DHCP range for new access points, VLAN#1900
## *********************************************************************
#$ AccessPointsWLC-CC

subnet 10.200.19.0 netmask 255.255.255.128
{
authoritative;

option subnet-mask 255.255.255.128;
option routers 10.200.19.126; # IP of CC5698GAL(W), WLCL3, #1900
range 10.200.19.1 10.200.19.125;

option domain-name-servers 10.10.10.7; # IP of widyn
option domain-name "mydomain.com";

## Option 43 for Juniper WLA
## Two IP addresses of WLC 2800, first IP is IP of primary seed, wlc2800
option vendor-encapsulated-options "ip:192.168.247.9,192.168.247.10";

## 9-Jan-2017, for Aruba AP
## http://community.arubanetworks.com/aruba/attachments/aruba/70/1305/1/dhcp-option.pdf
## So if DHCP sees Option 60 equals ArubaAP it will send Option 43 (IP of Aruba controller)
subclass "vendor-class" "ArubaAP" {
option vendor-class-identifier "ArubaAP";
#
# option serverip <loopback-IP-address-of-master-controller>
#
option vendor-encapsulated-options "192.168.78.150";
}

default-lease-time 28800; # 8 hours
max-lease-time 28800; # 8 hours
}

## ***********************************************************************
## *** End of DHCP range for new access points, VLAN#1900
## ***********************************************************************









share|improve this question















I have a working DHCP server using eth0 as its network interface. I need a second interface eth7 and this interface should bind address from the same range that eth0 binds.



The setup is two interface eth0 and eth7 with one DHCP scope.



My problem is that when I restart DHCP server I get this error:



Dec 16 14:13:54 dhcpd: No subnet declaration for eth7 (132.68.7.9).
Dec 16 14:13:54 dhcpd: ** Ignoring requests on eth7. If this is not what
Dec 16 14:13:54 dhcpd: to which interface eth7 is attached. **
Dec 16 18:21:37 dhcpd: No subnet declaration for eth7 (132.68.7.9).
Dec 16 18:21:37 dhcpd: ** Ignoring requests on eth7. If this is not what
Dec 16 18:21:37 dhcpd: to which interface eth7 is attached. **
Dec 16 18:33:41 dhcpd: No subnet declaration for eth7 (132.68.7.9).
Dec 16 18:33:41 dhcpd: ** Ignoring requests on eth7. If this is not what
Dec 16 18:33:41 dhcpd: to which interface eth7 is attached. **
Dec 16 18:34:54 dhcpd: No subnet declaration for eth7 (132.68.7.9).
Dec 16 18:34:54 dhcpd: ** Ignoring requests on eth7. If this is not what
Dec 16 18:34:54 dhcpd: to which interface eth7 is attached. **


eth7 is the new interface and he don't have gateway



I also check: /etc/sysconfig/dhcpd



# Command line options here
#DHCPDARGS="eth0 eth1 eth2 eth6";
DHCPDARGS="eth0 eth7";


DHCP server works fine for eth0



######################################
## network NIC
## VLAN 1003
######################################
DEVICE=eth0
NM_CONTROLLED=yes
ONBOOT=yes
#HWADDR=00:1a:4a:44:01:46 # Commented by Clonezilla
TYPE=Ethernet
BOOTPROTO=none
DEFROUTE=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
IPADDR=10.10.10.7
NETMASK=255.255.252.0
GATEWAY=10.10.10.1
USERCTL=no

######################################
## 7-low NIC
######################################
DEVICE=eth7
NM_CONTROLLED=yes
ONBOOT=yes
IPADDR=10.10.7.9
BOOTPROTO=none
NETMASK=255.255.255.128
#GATEWAY=10.10.7.126
TYPE=Ethernet
IPV6INIT=no
USERCTL=no

This the DHCP scop
## *********************************************************************
## *** DHCP range for new access points, VLAN#1900
## *********************************************************************
#$ AccessPointsWLC-CC

subnet 10.200.19.0 netmask 255.255.255.128
{
authoritative;

option subnet-mask 255.255.255.128;
option routers 10.200.19.126; # IP of CC5698GAL(W), WLCL3, #1900
range 10.200.19.1 10.200.19.125;

option domain-name-servers 10.10.10.7; # IP of widyn
option domain-name "mydomain.com";

## Option 43 for Juniper WLA
## Two IP addresses of WLC 2800, first IP is IP of primary seed, wlc2800
option vendor-encapsulated-options "ip:192.168.247.9,192.168.247.10";

## 9-Jan-2017, for Aruba AP
## http://community.arubanetworks.com/aruba/attachments/aruba/70/1305/1/dhcp-option.pdf
## So if DHCP sees Option 60 equals ArubaAP it will send Option 43 (IP of Aruba controller)
subclass "vendor-class" "ArubaAP" {
option vendor-class-identifier "ArubaAP";
#
# option serverip <loopback-IP-address-of-master-controller>
#
option vendor-encapsulated-options "192.168.78.150";
}

default-lease-time 28800; # 8 hours
max-lease-time 28800; # 8 hours
}

## ***********************************************************************
## *** End of DHCP range for new access points, VLAN#1900
## ***********************************************************************






dhcp






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 17 at 8:56









Anthony Geoghegan

7,54443954




7,54443954










asked Dec 17 at 4:35









Rafi Shemesh

1




1












  • Please fix your formatting.
    – Tom
    Dec 17 at 5:34










  • Why you think you need a second interface? If you have two physical NICs connected to the same network segment, you should probably bond or team them. If you need your system to have multiple IP addresses in one network segment, you can configure more than one IP address to a single interface, which is the recommended way to achieve that. Because of TCP/IP stack design principle called "weak host model", trying to use multiple independent (non-bonded/non-teamed) NICs within the same segment will cause unexpected results.
    – telcoM
    Dec 17 at 10:40










  • Hi, The rezone i want to add second interface is because need to change my Dhcp server ip and i want to do it step by step, i will try to add second ip on interface eth0, thanks
    – Rafi Shemesh
    Dec 18 at 6:23




















  • Please fix your formatting.
    – Tom
    Dec 17 at 5:34










  • Why you think you need a second interface? If you have two physical NICs connected to the same network segment, you should probably bond or team them. If you need your system to have multiple IP addresses in one network segment, you can configure more than one IP address to a single interface, which is the recommended way to achieve that. Because of TCP/IP stack design principle called "weak host model", trying to use multiple independent (non-bonded/non-teamed) NICs within the same segment will cause unexpected results.
    – telcoM
    Dec 17 at 10:40










  • Hi, The rezone i want to add second interface is because need to change my Dhcp server ip and i want to do it step by step, i will try to add second ip on interface eth0, thanks
    – Rafi Shemesh
    Dec 18 at 6:23


















Please fix your formatting.
– Tom
Dec 17 at 5:34




Please fix your formatting.
– Tom
Dec 17 at 5:34












Why you think you need a second interface? If you have two physical NICs connected to the same network segment, you should probably bond or team them. If you need your system to have multiple IP addresses in one network segment, you can configure more than one IP address to a single interface, which is the recommended way to achieve that. Because of TCP/IP stack design principle called "weak host model", trying to use multiple independent (non-bonded/non-teamed) NICs within the same segment will cause unexpected results.
– telcoM
Dec 17 at 10:40




Why you think you need a second interface? If you have two physical NICs connected to the same network segment, you should probably bond or team them. If you need your system to have multiple IP addresses in one network segment, you can configure more than one IP address to a single interface, which is the recommended way to achieve that. Because of TCP/IP stack design principle called "weak host model", trying to use multiple independent (non-bonded/non-teamed) NICs within the same segment will cause unexpected results.
– telcoM
Dec 17 at 10:40












Hi, The rezone i want to add second interface is because need to change my Dhcp server ip and i want to do it step by step, i will try to add second ip on interface eth0, thanks
– Rafi Shemesh
Dec 18 at 6:23






Hi, The rezone i want to add second interface is because need to change my Dhcp server ip and i want to do it step by step, i will try to add second ip on interface eth0, thanks
– Rafi Shemesh
Dec 18 at 6:23

















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f489404%2fdhcp-problem-no-subnet-declaration-for-eth7%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f489404%2fdhcp-problem-no-subnet-declaration-for-eth7%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Morgemoulin

Scott Moir

Souastre