Koozali.org: home of the SME Server

dhcpd issue

Offline jcalderon

  • 4
  • +0/-0
dhcpd issue
« on: October 06, 2005, 03:14:05 AM »
Hello All,

I stopped dhcpd service on my SME Server 6.0.1-01 w/smeplus to bring up a windoze server box for testing. After testing removed win server box from network started dhcpd service on the SME Server. Now the clients  do not renew dhcp from SME Server. Checked the log and I see the following.

kernel: denylog:IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:d0:b7:b5:fe:d1:08:00 SRC=0.0.0.0 DST=255.255.255.255 LEN=328 TOS=0x00 PREC=0x00 TTL=128 ID=36736 PROTO=UDP SPT=68 DPT=67 LEN=308

What have I done! Any clue. Help. Thanks in advance.

-Jay
.................................

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
dhcpd issue
« Reply #1 on: October 06, 2005, 03:56:38 AM »
Have you rebooted?
Have you installed VPN or anything network related?
Once you rebooted look at your /var/log/messages to see why the service isn't starting!

Offline jcalderon

  • 4
  • +0/-0
dhcpd issue
« Reply #2 on: October 06, 2005, 04:06:16 AM »
Rebooted a couple of times. Log shows

@40000000434475352da1c14c Sending on   Socket/eth0/172.16.123.0
@4000000043447c32390d9d1c Internet Software Consortium DHCP Server 2.0pl6
@4000000043447c32390de36c Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
@4000000043447c32390e0a7c All rights reserved.
@4000000043447c32390e1e04
@4000000043447c32390e29bc Please contribute if you find this software useful.
@4000000043447c32390e4514 For info, please visit http://www.isc.org/dhcp-contrib.html
@4000000043447c32390e683c
@4000000043447c3301953c3c Listening on Socket/eth0/172.16.123.0
@4000000043447c330195b16c Sending on   Socket/eth0/172.16.123.0

OpenVPN was installed long ago and I have stopped and started dhcpd service lots of time in the past with no problem.  :-?

-Jay
.................................

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: dhcpd issue
« Reply #3 on: October 07, 2005, 05:03:25 AM »
Quote from: "jcalderon"

I stopped dhcpd service on my SME Server 6.0.1-01 w/smeplus to bring up a windoze server box for testing. After testing removed win server box from network started dhcpd service on the SME Server. Now the clients  do not renew dhcp from SME Server. Checked the log and I see the following.

kernel: denylog:IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:d0:b7:b5:fe:d1:08:00 SRC=0.0.0.0 DST=255.255.255.255 LEN=328 TOS=0x00 PREC=0x00 TTL=128 ID=36736 PROTO=UDP SPT=68 DPT=67 LEN=308

What have I done! Any clue.


If you are getting firewall logs, then your server must be configured in server-gateway mode. If packets are being denied coming IN on eth0, then your system must be configured with swapped ethernet interfaces, i.e. eth0 is WAN and eth1 is LAN. But if you have DHCP requests being denied, then your LAN clients are connected to eth0, which is currently configured as your WAN interface.

Hmmm, but I see you do have dhpcd running on the eth0 interface. So different parts of your system have different ideas about which is LAN and WAN.

I don't know exactly what "smeplus" changes. Certainly for standard SME, doing:

/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot

should "regularise" all configurations.

Offline jcalderon

  • 4
  • +0/-0
dhcpd issue
« Reply #4 on: October 07, 2005, 06:17:12 AM »
Charlie, U da man!!!!! That did it. Thank you very much.  :-D

-Jay
.................................

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
dhcpd issue
« Reply #5 on: October 07, 2005, 03:55:04 PM »
Quote from: "jcalderon"
That did it. Thank you very much.


It'd be useful to find out how/why you got into that bad state. Something did the wrong thing. If it was the smeplus script, it would be useful to find the problem and have it fixed.