Author Topic: External card taking DHCP address from internal DHCP server  (Read 4122 times)

Steakboy

  • Regular Poster
  • **
  • Posts: 22
    • View Profile
External card taking DHCP address from internal DHCP server
« 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?

purps

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1402
  • If it ain't broke, tweak it
    • View Profile
Re: External card taking DHCP address from internal DHCP server
« Reply #1 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.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps

Steakboy

  • Regular Poster
  • **
  • Posts: 22
    • View Profile
Re: External card taking DHCP address from internal DHCP server
« Reply #2 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?

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: External card taking DHCP address from internal DHCP server
« Reply #3 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

Steakboy

  • Regular Poster
  • **
  • Posts: 22
    • View Profile
Re: External card taking DHCP address from internal DHCP server
« Reply #4 on: November 21, 2011, 11:17:56 pm »
It does sound like that, but 100% that's not the case.

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: External card taking DHCP address from internal DHCP server
« Reply #5 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

Steakboy

  • Regular Poster
  • **
  • Posts: 22
    • View Profile
Re: External card taking DHCP address from internal DHCP server
« Reply #6 on: November 22, 2011, 02:50:58 pm »
The cards are listed as eth0 and eth0:1 .

seth

  • Guru
  • ****
  • Posts: 485
  • A day w/o LinuxMCE is like a day w/o sunshine!
    • View Profile
Re: External card taking DHCP address from internal DHCP server
« Reply #7 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
« Last Edit: November 22, 2011, 04:03:19 pm by seth »
".....Because Once you've LinuxMCE'd....."
System stats located at my user page:

http://wiki.linuxmce.org/index.php/User:Seth