Author Topic: DHCP problems, CORE has bad MAC adress * SOLVED*  (Read 2925 times)

ivanp

  • Veteran
  • ***
  • Posts: 94
    • View Profile
DHCP problems, CORE has bad MAC adress * SOLVED*
« on: April 01, 2009, 03:20:26 pm »
I am trying to setup up my Linksys SPA3102, according to the wiki. All is going well until i made factory reset and Linksys doesnt get IP adress from the Core. Here is my dhcpd.conf file:
Code: [Select]
# option definitions common to all supported networks...
#option domain-name "fugue.com";
#option domain-name-servers toccata.fugue.com;
option domain-name-servers 192.168.80.1;
authoritative;

option routers 192.168.80.1;
option subnet-mask 255.255.255.0;

# lease IPs for 1 day, maximum 1 week
default-lease-time 86400;
max-lease-time 604800;

allow booting;
allow bootp;

option space pxelinux;
option pxelinux.magic code 208 = string;
option pxelinux.configfile code 209 = text;
option pxelinux.pathprefix code 210 = text;
option pxelinux.reboottime code 211 = unsigned integer 32;

subnet 192.168.80.0 netmask 255.255.255.0 {
next-server 192.168.80.1;
filename "/tftpboot/pxelinux.0";
option pxelinux.reboottime = 30;

default-lease-time 86400;
max-lease-time 604800;
pool {
allow unknown-clients;
range 192.168.80.129 192.168.80.149;
range 192.168.80.151 192.168.80.254;
}
}

# PXE booting machines
group {
next-server 192.168.80.1;
filename "/tftpboot/pxelinux.0";
option pxelinux.reboottime = 30;

# Compaq 700EA (43)
host moon43 { hardware ethernet 00:08:02:4A:0B:AC; fixed-address 192.168.80.2; }
# Generic PC as MD (72)
host moon72 { hardware ethernet 00:1B:38:8F:8A:B2; fixed-address 192.168.80.3; }
}

# regular machines
group {
# Generic Motion IP Camera (146)
host pc1 { hardware ethernet 00:22:B0:01:FC:D1; fixed-address 192.168.80.20; }
# FREENAS - FREENAS (149)
host pc2 { hardware ethernet 00:50:BA:D4:A3:15; fixed-address 192.168.80.150; }
}

# CORE (1) has bad mac address:


My setup is 2 NICs, like its supposed to be. I havent had any problems with DHCP before, and a few days ago I added my WebDT366 without a problem.

Thanks to anyone for any suggestion.
« Last Edit: April 01, 2009, 10:59:17 pm by ivanp »

ivanp

  • Veteran
  • ***
  • Posts: 94
    • View Profile
Re: DHCP problems, CORE has bad MAC adress
« Reply #1 on: April 01, 2009, 04:35:14 pm »
Hmmm, al the problems seem to disappear after i have pluged Linksys into my external network (i have Smoothwall there as router), it received an IP adress from it. Then i pluged Linksys again in LMCEs internal network and this time all worked as it should, Core gave Linksys its IP adress. Cant point in the direction what might be the cause, just the note for anyone who tryies to use Linksys SPA3102 to make sure it receives IP from DHCP.

Still dont know what that message at the end of dhcp.conf file means so i will rename this threads partially solved.

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: DHCP problems, CORE has bad MAC adress * PARTIALLY SOLVED*
« Reply #2 on: April 01, 2009, 10:48:02 pm »
ivan - the message about bad IP is a red herring for you. Every build of LMCE I have done in the last 15 months (I've rebuilt about 30 times) I get that exact message. I assume it is something to do with my hardware, however it has NO impact at all on functionality or DHCP, so it is just coincidental with your issue....

ivanp

  • Veteran
  • ***
  • Posts: 94
    • View Profile
Re: DHCP problems, CORE has bad MAC adress * PARTIALLY SOLVED*
« Reply #3 on: April 01, 2009, 10:59:02 pm »
Thanks colinjones...Thought it might be something like that, since DHCP was working before and after. I will rename this threat as SOLVED.