techrepair
Technical User
when I run the dhcpd test on my redhat 7.0 dhcp server I get 'make a subnet declaration for eth1. Here is my dhcpd.conf file so far(I have purposely omitted some general info) My
#for eth0, which connects to the network. My ip address for eth0 is 192.168.1.1 and for eth1 it's 4.34.178.190.
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.21 192.168.1.254;
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option domain-name Mydomain;
option domain-name-servers 4.2.2.1;
# my dsl modem has a static ip of 4.34.178.190 and submask
# 255.255.255.252. This was assigned by the ISP. So for my
# 2nd ethernet card or eth1 I did this
subnet 4.34.178.190 netmask 255.255.255.252
#And thats it.
my errror is that i'm supposed to have a subnet declaration for the eth1. But when I look at my running dhcp server which used redhat 6.2, this is what the dhcpd.conf file looks like. But it isn't working with 7.0. Any help would be apprecitated.
#for eth0, which connects to the network. My ip address for eth0 is 192.168.1.1 and for eth1 it's 4.34.178.190.
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.21 192.168.1.254;
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option domain-name Mydomain;
option domain-name-servers 4.2.2.1;
# my dsl modem has a static ip of 4.34.178.190 and submask
# 255.255.255.252. This was assigned by the ISP. So for my
# 2nd ethernet card or eth1 I did this
subnet 4.34.178.190 netmask 255.255.255.252
#And thats it.
my errror is that i'm supposed to have a subnet declaration for the eth1. But when I look at my running dhcp server which used redhat 6.2, this is what the dhcpd.conf file looks like. But it isn't working with 7.0. Any help would be apprecitated.