Networking Forums

Networking Forums > Computer Networking > Linux Networking > DHCPd / dhcrelay problems.

Reply
Thread Tools Display Modes

DHCPd / dhcrelay problems.

 
 
Phill Harvey-Smith
Guest
Posts: n/a

 
      05-27-2004, 02:26 PM
Hi,

I have setup the masquarade server that I detailed in my other post thus :-


eth1 eth0
Private network------------Masq box----------------Campus Network/internet
10.130.5.x 10.130.5.250-137.205.155.250

On our bit of the campus network I have two dhcp servers setup on
137.205.155.2 and .3 these have been working fine for several months serving
IP addresses to our normal non private net clients. What I want to be able
to do is use this server to configure the clients on the private network
too. To do this I configured the dhcp server with the settins of a machine
on the private network :-

ddns-update-style none;
authoritative;

shared-network bio {


subnet 10.130.5.0 netmask 255.255.255.0
{

default-lease-time 86400;
max-lease-time 86400;
option subnet-mask 255.255.255.0;
option broadcast-address 10.130.5.255;
option routers 10.130.5.250;
option domain-name-servers 137.205.155.2, 137.205.155.3;
option domain-name "bio.warwick.ac.uk";
option netbios-name-servers 137.205.155.2;
option netbios-node-type 8;
option slp-directory-agent true 137.205.153.247;
option nds-tree-name "BIOSCIENCE_TREE";

host stores-laptop-10-130-5-10 {
hardware ethernet 00:10:4B:F7:B4:1E;
fixed-address 10.130.5.10;}

}

}


I have also installed dhcrelay on the masquarade box, with the following
settings :-

dhcrelay -i eth0 -i eth1 -a protein.bio.warwick.ac.uk

I ran dhcrelay with the -d flag so that I could view the debugging output,
it is definatly receiving and forwarding the dhcpdescover packet, the dhcp
server is recieving this forwarded packet and is trying to correctly hand
out the correct IP address. However instead of forwarding it back to the
dhcrelay machine it is trying to send it via the gateway address for the
private network (10.130.5.250). Is there any way to prevent this behavior,
and make the server send the reply back via the relay machine.

Thanks.

Phill.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcpd pechoi@syr.edu Linux Networking 0 06-08-2006 03:15 PM
dhcpd Damir Galič Linux Networking 1 09-08-2005 02:31 AM
Simple dhcrelay question Andy Richardson Linux Networking 7 05-22-2005 02:37 PM
dhcpd Henk Salomons Linux Networking 6 02-11-2005 05:08 PM
dhcpd in dmz ? peter pilsl Linux Networking 3 10-30-2004 08:35 PM



1 2 3 4 5 6 7 8 9 10 11