LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-22-2009, 11:31 AM   #1
DTL86
LQ Newbie
 
Registered: Jul 2009
Posts: 2

Rep: Reputation: 0
How to setup DHCP for two bonded NICs - or any advice!


Hi!

I've been working on getting this 'server' setup correctly for the last couple of weeks on and off for a few hours a day, yet I seem to be really struggling, I was wondering if what I'm trying to achieve is possible?

My boss has approached me with a side project to create 2 FTP Server's on one Redhat 8.0 box. The box also has two NIC's, one connected to our router for the external connection the internet (bypassing our work network) and a card connected internally to a POE 8port switch for a mini network downstairs we intend to use for testing various bits of recording equipment. Each FTP needs to effectively be on these two seperate networks, so one FTP is for internal use and be completely annonymous, the other to be passworded and for using externally from any pc if they have the correct username/password. The server also needs DHCP to be kicked out to the equipment/workstations plugged into the 8 port POE switch for the internal network.

So far I've got VSFTPD and setup an external FTP but haven't really tried to setup a seperate one internally.

I've looked around and the only information I can find about getting two seperate nics working together is to bond them, so I've created bond0 and I've got that working, with internet on the server. I had previously had DHCP working on the eth1 card (I've got eth0 = external, eth1 = internal) but now I've bonded the nic cards whatever I try in the dhcp config just doesn't work. Also now the cards are bonded the VSFTPD isn't working anymore.

Is there a better way to get these cards talking or am I roughly doing it the right way?

I'm a complete novice when it comes to linux, everything I've acyhieved / done so far has come from the many tutorials i've found online yet as much as I've tried searching I've yet to find an answer to my questions here!!

Thanks for any help!
 
Old 07-22-2009, 12:52 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi,

welcome to LQ!

You can't bond the NICs if they're on separate networks,
that makes no sense. Bonding is used if you want to maximise
the throughput on one network.

I'm also not sure why you'd need DHCP on that machine; btw,
are you talking about DHCP server or client? Either way - you
can't host DHCP to the world (public interface), and you
shouldn't use DHCP client for a server, really.



Cheers,
Tink
 
Old 07-22-2009, 01:06 PM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Since you appear to be exposing the machine to the internet I would strongly suggest that you change to a supported version. RH8 has not had ANY updates in years (2002?). IF you do not want the expense of RHEL(Red Hat Enterprise Linux) you can look at Centos. Centos is RHEL without the logos.
 
Old 07-23-2009, 05:23 AM   #4
DTL86
LQ Newbie
 
Registered: Jul 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the advice guys, I only really bonded the nic's because it seemed to be the only option I could find online as much as i searched!

I'll take a look at CentOS to and see if the boss will take it up!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Bonded NICs at host OS (Ubuntu Server) bridged to virtual OS (UServ) in VMware server Xiiph Linux - Networking 1 10-21-2009 02:04 PM
DHCP across 2 NICS? Daveddd Linux - Server 2 11-15-2007 01:05 PM
Linux setup as router / DHCP w/3+ NICs, separate but shared connectivity - question MetaTechi3 Linux - Networking 3 11-17-2006 12:41 PM
How to find the physical MAC of bonded NICs lhiggie Linux - Networking 4 06-06-2006 01:52 PM
dhcp and 2 nics mikz Linux - Networking 3 01-27-2005 04:38 PM


All times are GMT -5. The time now is 01:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration