-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yep.  You need a DHCP relay agent setup on each "hop" between the networks.

Maria Backlund wrote:
> Thanks for all ideas! I'll try to specify the problem.
>
> We have a testsetup with the structure:
>
> 192.168.7.2 (client1)
> |
> 192.168.7.1 / 192.168.2.2 (LTSP server1, Linux Redhat 7.2)
> |
> 192.168.2.1/192.168.1.10 (regular Linux Redhat 7.2 machine)
> |
> 192.168.1.20 / 192.168.0.20 (FreeBSD router with Dummy Net)
> |
> 192.168.0.10/192.168.3.1 (LTSP server2, Linux Redhat 7.2)
> |
> 192.168.3.2 (client2)
>
> As it is now, client2 boots and loads the kernel from server2 and then
mounts the filesystem from server1. Dummy Net is used to simulate
different types of Internet connections and we have established a VPN
connection between server2 and the regular Linux Redhat machine, in
order to protect the traffic between subnet 192.168.2.0 and subnet
192.168.3.0. Everything works fine.
>
> Now we would like to test if client2 can boot from server1 instead, to
test if it takes too much time or is acceptable and to test if the VPN
connection can handle it (and so on). As it is now the dhcp request
remains within the 192.168.3.0 network and we would like to pass it on
to the 192.168.2.1 interface. How do we do that? We still want client2
to get IP 192.168.3.2 and for that assume we only have to modify the
dhcpd.conf at server1, so the request seems to be the "only" trouble. Or?
>
> Truly appreciate help! Thanks!
> Maria Backlund
>
>
> -----Ursprungligt meddelande-----
> Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Skickat: den 24 september 2002 17:26
> Till: Joey Officer
> Kopia: Maria Backlund; [EMAIL PROTECTED]
> Ämne: RE: [Ltsp-discuss] Forwarding dhcp request
>
>
>
> The problem is the differing networks.  Let's abstact this a bit...
>
> Say you've got two physical networks, network1 that uses 192.168.1.x,
and network2 that uses 10.0.0.x.  You've got a DHCP server on both,
which serve their respective IP address spaces.
>
> It looks like you want the DHCP server on network1 to forward a DHCP
request from a client on network1 to the DHCP server on network2 and
lease an IP address from network2's address space.
>
> First, you'd have to use a router of some sort to join network1 and
network2 together.  This may be nothing more than a small linux/bsd box
with two ethernet ports, one attached to each network.  This small box
would need to know how to route packets between the two networks, but
there are ways to accomplish that fairly easily.
>
> Broadcast packets (like DHCP requests) don't typically cross routers.
 You could probably force your router to forward those packets between
networks, but you'd likely be creating all sorts of network problems if
you did.
>
> By far the easiest way to get a client system from network1 onto
network2 (and into network2's IP address space) would be to physically
move it from one network to the other.  This may be as easy as moving an
ethernet cable at a patch panel.
>
> Perhaps if you explain what you're trying to accomplish?
>
> Jeff
>
>
>
> On Tue, 24 Sep 2002, Joey Officer wrote:
>
>
>>Depending on the dhcp server.  I assume you mean that the server that
>>you want to give an IP address for is on a different server.  I'm not
>>sure exactly.  But one way to do this would be to run multiple dhcpd
>>on different Ethernet devices.  Running different dhcpd.conf on each
>>eth device would give you what you wanted with a single server.
>>
>>eth0=wan
>>eth1=192.168.1.x
>>eth2=192.168.2.x
>>etc...
>>
>>this is pretty easy to setup, just need to setup multiple ethernet
>>devices and run dhcpd from init with the options to specify the
>>specific nic, and the corresponding dhcpd.conf file.
>>
>>---
>>
>>or if you are talking about forwarding (tftp) requests to different
>>servers, the option to use in dhcpd.conf is "next-server
>>ip.add.re.ss;"
>>
>>
>>Hope that helps...
>>
>>
>>
>>Joey Officer
>>Martin Apparatus, Inc.
>>
>>-----Original Message-----
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED]]On Behalf Of Maria
>>Backlund
>>Sent: Tuesday, September 24, 2002 9:37 AM
>>To: [EMAIL PROTECTED]
>>Subject: [Ltsp-discuss] Forwarding dhcp request
>>
>>I wonder if there is a simple way to forward a dhcp request from a
>>server on the local network to a server on a separate network? Thanks
>>in advance!
>>
>>Maria Backlund
>>
>>
>>-------------------------------------------------------
>>This sf.net email is sponsored by:ThinkGeek
>>Welcome to geek heaven.
>>http://thinkgeek.com/sf
>>_____________________________________________________________________
>>Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
>>      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
>>For additional LTSP help,   try #ltsp channel on irc.openprojects.net
>>
>>
>>
>>-------------------------------------------------------
>>This sf.net email is sponsored by:ThinkGeek
>>Welcome to geek heaven.
>>http://thinkgeek.com/sf
>>_____________________________________________________________________
>>Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
>>      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
>>For additional LTSP help,   try #ltsp channel on irc.openprojects.net
>>
>>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _____________________________________________________________________
> Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
>       https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help,   try #ltsp channel on irc.openprojects.net
>

- --
Jason A. Pattie
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9kdViuYsUrHkpYtARAkUMAJ9hknoI4T67oXUhefhVLSuEM76y2gCeLLOc
5vJ/CXMmdM5XqhyhkMxcNz8=
=VvtE
-----END PGP SIGNATURE-----


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.openprojects.net

Reply via email to