LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 10-24-2002, 02:07 AM   #1
V.krishna kumar
LQ Newbie
 
Registered: Oct 2002
Location: Mumbai
Posts: 2

Rep: Reputation: 0
DHCP server on two LAN cards


Hello my name is krishnakumar.I have a Query on RedHat linux 7.2.The query revolves around DHCP server on a machine with two Lan Cards.My machine has two lan cards having IP addresses 192.168.100.152 and 10.0.0.1.I have configured a DHCP server which will give IP addresses from both the subnets 192.168.100.0 and 10.0.0.0.This can be accomplished by changing the entries in the file /etc/rc.d/init.d/dhcpd.There are three client machines in my lab which are running wndows 98 operating system.In my dhcpd.conf file I have made changes in such a way that the dhcp server on 192.168.100.0 subnet will give two IP addresses 192.168.100.153 and 192.168.100.154.I want that when my two windows machines have taken the IP addresses 192.168.100.153 and 192.168.100.154 the third machine to be allocated an IP address from the 10.0.0.0 subnet.Basically I want DHCP server to run simultaneously on both Lan cards instead of one at a time.Please advice me on this if you can.

Last edited by V.krishna kumar; 10-24-2002 at 03:05 AM.
 
Old 10-24-2002, 02:23 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,373

Rep: Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962
huh? well what IS the query...
 
Old 10-24-2002, 03:07 AM   #3
V.krishna kumar
LQ Newbie
 
Registered: Oct 2002
Location: Mumbai
Posts: 2

Original Poster
Rep: Reputation: 0
Please help me on this
 
Old 10-24-2002, 12:57 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,373

Rep: Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962
if you want to just run a class c network on one NIC and a class a on the other, then just declare each subnet in the dhpcd.conf file (see BIND-howto). if you're trying to assign mixed ip addresses based on a first come first served basis, then thats a really poor idea.
 
  


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
machine has adsl ethernet modem, to make it gateway over lan do i need more lan cards b0nd Linux - Networking 2 10-04-2005 10:19 PM
dhcp, multiple cards, no go !*#@ Recirqie Linux - Networking 11 01-10-2005 03:21 AM
Enforcing DHCP Server Usage on a LAN win32sux Linux - Networking 7 12-17-2004 04:24 AM
DHCP Server for internal LAN and DMz NVETHIS Linux - Networking 1 07-11-2003 10:16 AM
How do you make the ip masquerade server/dhcp server broadcast dns to lan cmisip Linux - Networking 6 01-25-2003 10:43 PM


All times are GMT -5. The time now is 03:29 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration