[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] [Cache RaQ4] dhcp server daemon



killed th vpnd process
ifconfiged down the vpn0 port

tried dhcpd and got:

[root@raptor /etc]# dhcpd eth0
Internet Software Consortium DHCP Server 2.0
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

socket: Invalid argument
Make sure to set CONFIG_PACKET=y and CONFIG_FILTER=y in your kernel configuration!
exiting.

[root@raptor /etc]# dhcpd
Internet Software Consortium DHCP Server 2.0
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

No subnet declaration for eth3 (66.121.5.69).
Please write a subnet declaration for the network segment to
which interface eth3 is attached.
exiting.

i am now officially puuling my hair out..
AM

Gerald Waugh wrote:

On Friday 13 September 2002 19:39, you wrote:
sorry I didnt have the spec sheet so didnt know...
anyway the reason I set dhcpd start eth0 was that the switch that feeds
out to the boxes on my lan is connected to eth0

however my dhcpd.conf file was pretty much the same only smaller, since
I only needed the subnet stuff

option domain-name "mynet.com";
option domain-name-servers 192.168.1.1;

default-lease-time 86400;
max-lease-time 86400;
use-host-decl-names on;

#----------------------------------------------------------------------------
#This is a subnet declaration
# it is in /etc/dhcpd.conf

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.50 192.168.1.249;
option broadcast-address 192.168.1.255;
}

however when I tried just the dhcpd start i got:

[root@raptor init.d]# dhcpd -d -f
Internet Software Consortium DHCP Server 2.0
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

No subnet declaration for vpn0 (0.0.0.1).

Are you using VPN?

Are you using ip-forwarding and NAT?


Please write a subnet declaration for the network segment to
which interface vpn0 is attached.
exiting.

it goes for vpn0 by default. How do I set that one up?? Using ifconfig??

AM

Gerald

--
==================================================================
Aseem Mohanty Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706 (R) 510 7696011 (M) 510 3014871 (O) 510 5279231
==================================================================								  	
"I saw `cout' being shifted "Hello world" times to the left and stopped right there!!" -- Steve Gonedes ==================================================================