News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

External card taking DHCP address from internal DHCP server

Started by Steakboy, November 21, 2011, 06:28:31 PM

Previous topic - Next topic

Steakboy

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

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 :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

Steakboy

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

It sounds like you have your internal and external networks cabled together. You may want to double check your physical connections.

-Thom

Steakboy


tschak909

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


seth

Looks like it is only seeing 1 network interface.

Could you post the output of

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:

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
".....Because Once you've LinuxMCE'd....."
System stats located at my user page:

[url="http://wiki.linuxmce.org/index.php/User:Seth"]http://wiki.linuxmce.org/index.php/User:Seth[/url]