LinuxQuestions.org
Visit Jeremy's Blog.
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 02-21-2002, 09:23 AM   #1
diveguy
LQ Newbie
 
Registered: Feb 2002
Location: Near St Louis, MO
Posts: 18

Rep: Reputation: 0
dhcp relay agent


Hi,

I have one RH7.1 machine set up as a router. One nic is set to 192.168.0.20 and the other nic is set to 10.0.0.1. There is another computer on the 10. network that had a static ip and it worked just fine. Could ping all computers on 192. network and even got out to the internet through the router. Now on the 192. network I have a dhcp server that gives out 192. addresses. I put in a second subnet declaration for the 10. network in dhcpd.conf. I also set up the dhcp relay agent on the router and it is listening. I have the other computer on the 10. network hardwired directly to the 10. nic of the router (crossover cable) and set it to up to use dhcp. But when it does it gets a 192. address instead of a 10. And of course nothing else works because it is connected to the 10. nic in the router. I also tried using the shared-network option with both 192. and 10. subnets.

So....can I have a set up like this and, if so, how do I get the 10. network to get the right addresses?

Thanks, Russ

Last edited by diveguy; 02-21-2002 at 09:25 AM.
 
Old 02-21-2002, 07:34 PM   #2
diveguy
LQ Newbie
 
Registered: Feb 2002
Location: Near St Louis, MO
Posts: 18

Original Poster
Rep: Reputation: 0
Figured it out

Had to put the relay agent onto a different computer on the same subnet/network. It could not be on the router.
 
Old 07-18-2003, 04:22 AM   #3
chaosdgp
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
can anybody please tell me how to configure the dhcp relay agent?
 
  


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
Hotplug problems: RH 9, 2.6.6, PCMCIA-CS 3.2.7 (missing ide.agent & block.agent) jg167 Red Hat 1 06-23-2004 05:18 PM
DHCP/BOOTP Relay Agent alex1856 Linux - Networking 2 03-12-2004 05:50 PM
BOOTP/DHCP relay agent alex1856 Linux - Software 0 03-11-2004 03:31 PM
setting up dhcp relay agent isam_ali Linux - Networking 1 09-16-2003 09:16 AM
dhcp relay agent phogfan Linux - Networking 0 02-20-2003 09:20 PM

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

All times are GMT -5. The time now is 04:23 PM.

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