I downloaded dhcp-1.0.0 and compiled it.
Of cause I thought this was easy, but thats how things go....
I am getting this error:
------------------
janus:/usr/local/src/dhcp-1.0.0# dhcpd -d -cf dhcpd.conf.kj
Internet Software Consortium DHCPD $Name: V1-0-0 $
Copyright 1995, 1996 The Internet Software Consortium.
All rights reserved.
Listening on Socket/eth1/NET-208
Sending on Socket/eth1/NET-208
The standard socket API can only support hosts with a single network
interface. If you must run dhcpd on a host with multiple inte
rfaces, you must compile in BPF or NIT support. If neither option is
supported on your system, please let us know.
dhcpd: exiting.
------------------
Of cause I dont know what BPF or NIT stands for nor which one I need.
(Linux on Pentium, 2 NE200 cards)
I want it to delegate addresses on network 192.168.1.0 and leave 208.8.90.0
in peace.
So it should not be listening and sending on eth1 but eth0 which belongs to
192.168.1.0
I know this is on the edge of what this group is for, but it is masq related.
Any suggestions ?
For the record: My configuration reads:
-------------------
# dhcpd.conf
#
# Configuration file for ISC dhcpd
#
# Hosts with more than one interface MUST specify a ``server-identifier'',
# which should be the IP address of the server's primary network interface,
# or if there is no interface that can be described that way, at least an
# interface whose address isn't likely to change.
server-identifier 192.168.1.5;
# option definitions common to all supported networks...
option domain-name "yarc.com";
option domain-name-servers 192.168.1.2;
shared-network NET-192 {
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.5;
option subnet-mask 255.255.255.0;
option domain-name "yarc.com";
option domain-name-servers 192.168.1.2;
max-lease-time 18000;
default-lease-time 18000;
range 192.168.1.1 192.168.1.200;
}
}
shared-network NET-208 {
subnet 208.8.90.0 netmask 255.255.255.0 {
option routers 208.8.90.1;
option subnet-mask 255.255.255.0;
option domain-name "yarcrip.com";
option domain-name-servers 208.8.90.2;
max-lease-time 18000;
default-lease-time 18000;
range 208.8.90.1 208.8.90.200;
}
}
# Fixed IP addresses can also be specified for hosts. These addresses
# should not also be listed as being available for dynamic assignment.
# Hosts for which fixed IP addresses have been specified can boot using
# BOOTP or DHCP. Hosts for which no fixed address is specified can only
# be booted with DHCP, unless there is an address range on the subnet
# to which a BOOTP client is connected which has the dynamic-bootp flag
# set.
host alpha {
hardware ethernet 08:00:07:bf:b5:87;
fixed-address 192.168.1.11;
}
host pb {
hardware ethernet 00:02:88:11:4f:2f;
fixed-address 192.168.1.101;
}
-------------------
--------------------------------------------------------------
Dr. Karsten Jeppesen YARC Systems Corporation
VP of Development (805) 499 9444
Director of the Board
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]