LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-19-2006, 09:01 PM   #1
Thakowbbery
Member
 
Registered: Mar 2005
Posts: 138

Rep: Reputation: 17
Just a small question about DHCP


Hello

I have a single small doubt about DHCP, and I'd like to know if someone can clear me out.

DHCP is a system that allow hosts to achieve an IP address, netmask address, DNS address, Gateway address automatically, as previous configured in a server, so far that's what I know.

The question is: If I have two or more network interfaces into a single host, and I plug a DHCP server in all of them (or all in the same DHCP server), and I configure the interfaces to acquire address via DHCP , will all the interfaces do it?

Why do I ask:
I have a Slackware 10.2 with 4 network adapters (1 onboard, 3 offboard) and mysteriously only eth0 (onboard) get's the configuration from the DHCP. If I plug any of the other 3 eth's, they won't get the configuration from it.
As a small test, I manually configured them and they worked fine when comunicating with other computers.
 
Old 09-20-2006, 12:04 AM   #2
sal_paradise42
Member
 
Registered: Jul 2003
Location: Utah
Distribution: Gentoo FreeBSD 5.4
Posts: 150

Rep: Reputation: 16
It appears that this violates the RFC
why would you want all your interfaces in the same network? may confuse the host on how to get to a destination.
 
Old 09-20-2006, 06:45 AM   #3
Thakowbbery
Member
 
Registered: Mar 2005
Posts: 138

Original Poster
Rep: Reputation: 17
Actually my situation is:

I have two ADSL routers, each connected to one of network adapter of that host (ADSL 1 connected to eth0, ADSL 2 connected to eth2, eth1 and eth3 are connecting two internal networks). The idea is to create redundance and link balance (probably not the best idea, but that's all with the resources I have).

Each ADSL router has an internal DHCP, but:

- Connecting ADSL 1 or 2 to eth0 grants it a network configuration (IP, mask and so on).
- Doing the same with eth1, eth2 or eth3 (even if I connect only one of them, leaving the other 3 with nothing connected) the don't get the configuration from DHCP, it's like they can't reach the DHCP server.
- I already tested eth1/2/3 with manual configuration, and it worked fine when connecting to my internal networks.

So, that's my problem...
 
Old 09-20-2006, 05:12 PM   #4
Thakowbbery
Member
 
Registered: Mar 2005
Posts: 138

Original Poster
Rep: Reputation: 17
Well, what can I say.
When I tried this morning, ta-da, it worked. Most probably a problem with my internet provider :P

Sorry for any inconvenience
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Small question about /etc/rc.local - Symbolic link question Arodef Linux - General 4 05-13-2006 02:29 AM
small question. bruse Linux - Newbie 9 04-11-2005 07:22 AM
Just a small question Mingthefirst Slackware 2 07-07-2004 09:12 PM
Small question Ed-Slack Linux From Scratch 1 01-08-2003 08:03 AM
a small question ericn Linux - Security 3 01-07-2002 05:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration