LinuxMCE Forums

General => Installation issues => Topic started by: Steakboy on November 21, 2011, 06:28:31 pm

Title: External card taking DHCP address from internal DHCP server
Post by: Steakboy on November 21, 2011, 06:28:31 pm
On my hybrid, the NIC listed as the external NIC (and connected to the external router) is taking a DHCP address in the scope listed on the dcerouter.

The address ranges are different (192.168.1.x for the external lan, 192.168.80.x for the internal), the NICs are connected to the correct LANs etc.

Has anyone seen this before? It was working OK, and then this suddenly appeared...

I've swapped the interfaces around, swapped the patch leads around - all to no avail.

Does anyone have any ideas?
Title: Re: External card taking DHCP address from internal DHCP server
Post by: purps on November 21, 2011, 07:20:24 pm
I might be talking bollocks, but I don't think you want two DHCP servers on the same setup. Turn off DHCP on your "normal" router, OR connect your core directly to the Internet. The latter is preferable.

Cheers,
Matt.
Title: Re: External card taking DHCP address from internal DHCP server
Post by: Steakboy on November 21, 2011, 07:24:10 pm
I'd have thought the dce would acknowledge all DHCP requests and allocate an address before the request passed through to the external router?

It did seem to work OK like that for a while?
Title: Re: External card taking DHCP address from internal DHCP server
Post by: tschak909 on November 21, 2011, 09:27:23 pm
It sounds like you have your internal and external networks cabled together. You may want to double check your physical connections.

-Thom
Title: Re: External card taking DHCP address from internal DHCP server
Post by: Steakboy on November 21, 2011, 11:17:56 pm
It does sound like that, but 100% that's not the case.
Title: Re: External card taking DHCP address from internal DHCP server
Post by: tschak909 on November 21, 2011, 11:30:18 pm
We deliberately run our dhcp3 server on the internal network, and do not bind to any other interfaces. If for some reason however it does not find an eth1, it will try to set up an alias for eth0, to be our internal network. Can you check to see if you have an eth0:0 ?

-Thom
Title: Re: External card taking DHCP address from internal DHCP server
Post by: Steakboy on November 22, 2011, 02:50:58 pm
The cards are listed as eth0 and eth0:1 .
Title: Re: External card taking DHCP address from internal DHCP server
Post by: seth on November 22, 2011, 03:58:28 pm
Looks like it is only seeing 1 network interface.

Could you post the output of

Code: [Select]
sudo ifconfig
We can see if it is plumbing up a virtual interface off of a single NIC card, and then maybe we can see if you are having a driver issue for the second NIC card not to load, or perhaps there is a bad NIC suspect, so could you also post the output of:

Code: [Select]
sudo lspci -v|grep Ethernet
I had this happen to me both because of a driver and because I had a bad NIC card. On two separate installations.

See if we can get it sorted out.

Best Regards,

Seth