DangerIsGo
29th June 2008, 08:27
Here: http://www.howtoforge.com/ubuntu6.10_firewall_gateway_p9
Is stated on how to setup a DHCP server with a ShoreWall Firewall. I got the firewall working but the DHCP server refuses to start. I find this in the syslog:
Jun 29 01:19:09 firewall dhcpd: Internet Systems Consortium DHCP Server V3.0.4
Jun 29 01:19:09 firewall dhcpd: Copyright 2004-2006 Internet Systems Consortium.
Jun 29 01:19:09 firewall dhcpd: All rights reserved.
Jun 29 01:19:09 firewall dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Jun 29 01:19:09 firewall dhcpd: Wrote 0 leases to leases file.
Jun 29 01:19:09 firewall dhcpd:
Jun 29 01:19:09 firewall dhcpd: No subnet declaration for eth0 (169.254.9.73).
Jun 29 01:19:09 firewall dhcpd: ** Ignoring requests on eth0. If this is not what
Jun 29 01:19:09 firewall dhcpd: you want, please write a subnet declaration
Jun 29 01:19:09 firewall dhcpd: in your dhcpd.conf file for the network segment
Jun 29 01:19:09 firewall dhcpd: to which interface eth0 is attached. **
Jun 29 01:19:09 firewall dhcpd:
Jun 29 01:19:09 firewall dhcpd:
Jun 29 01:19:09 firewall dhcpd: Not configured to listen on any interfaces!
While this is my dhcpd.conf file:
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.130;
option routers 192.168.1.1;
default-lease-time 14400;
max-lease-time 14400;
option broadcast-address 192.168.1.255;
}
And this is my dhcp3-server file:
INTERFACES=eth0
Basically, eth0 is the internal NIC which will be the DHCP server to my LAN while eth1 is the NIC connected to the DSL modem, working in conjunction with PPPoEconf. So in turn, ppp0 is the WAN. Does anyone know what this message means and how would I go about fixing it? Ive searched forums and guides for the past few hours and found no fix. Thanks.
Is stated on how to setup a DHCP server with a ShoreWall Firewall. I got the firewall working but the DHCP server refuses to start. I find this in the syslog:
Jun 29 01:19:09 firewall dhcpd: Internet Systems Consortium DHCP Server V3.0.4
Jun 29 01:19:09 firewall dhcpd: Copyright 2004-2006 Internet Systems Consortium.
Jun 29 01:19:09 firewall dhcpd: All rights reserved.
Jun 29 01:19:09 firewall dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Jun 29 01:19:09 firewall dhcpd: Wrote 0 leases to leases file.
Jun 29 01:19:09 firewall dhcpd:
Jun 29 01:19:09 firewall dhcpd: No subnet declaration for eth0 (169.254.9.73).
Jun 29 01:19:09 firewall dhcpd: ** Ignoring requests on eth0. If this is not what
Jun 29 01:19:09 firewall dhcpd: you want, please write a subnet declaration
Jun 29 01:19:09 firewall dhcpd: in your dhcpd.conf file for the network segment
Jun 29 01:19:09 firewall dhcpd: to which interface eth0 is attached. **
Jun 29 01:19:09 firewall dhcpd:
Jun 29 01:19:09 firewall dhcpd:
Jun 29 01:19:09 firewall dhcpd: Not configured to listen on any interfaces!
While this is my dhcpd.conf file:
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.130;
option routers 192.168.1.1;
default-lease-time 14400;
max-lease-time 14400;
option broadcast-address 192.168.1.255;
}
And this is my dhcp3-server file:
INTERFACES=eth0
Basically, eth0 is the internal NIC which will be the DHCP server to my LAN while eth1 is the NIC connected to the DSL modem, working in conjunction with PPPoEconf. So in turn, ppp0 is the WAN. Does anyone know what this message means and how would I go about fixing it? Ive searched forums and guides for the past few hours and found no fix. Thanks.