Two subnets, one with PXE clients
Osmany
osmany at oc.quimefa.cu
Tue Mar 2 21:36:03 UTC 2010
On Sat, 2010-02-20 at 20:48 +0000, Simon Hobson wrote:
> <osmany at oc.quimefa.cu> wrote:
>
> >I would like some help in configuring my DHCP. Currently I am running
> >ubuntu server 9.04 with dhcp3. I have successfully configured it with
> >dynamic dns updates. Recently I had to install and configure an LTSP server
> >but I would like to use the same DHCP to assign IP addresses to he PXE
> >Clients but here is the thing; I would like to work with the PXE Clients on
> >the same physical network but on a separate subnet. For example I would
> >like the windows XP clients to work on the 10.25.4.0/24 subnet and the PXE
> >Clients to work on the 192.168.0.0/24 subnet, of course I have a second NIC
> >installed and configured.
>
> From the way it's phrased, I assume both sets of clients are on the
> same physical network ? Ie, a machine may boot into PXE and get one
> address, then boot into Windows with the same network cable and get a
> different address.
>
> If this is the case, then you have a shared network and MUST
> configure the server accordingly.
>
> You do NOT need a separate network card for this, and in fact it will
> complicate matters if you do. You can add multiple IP addresses to
> one interface, use the "ip" command to do this, eg "ip addr add
> 192.168.0.1/24 dev eth0" will add 192.168.0.1 to whatever is already
> configured on eth0. Ubuntu is Debian derived, so you can add this to
> /etc/network/interfaces to have it done automatically :
>
> auto eth0
> iface eth0 inet static
> address 10.25.4.1
> netmask 255.255.255.0
> up ip addr add 192.168.0.1/24 dev eth0
>
>
>
I tried to do this but when I did the dhcp3-server could not start
because it detects multiple IPs on that interface. On the other hand
when I add another NIC and configure it with the address 192.168.0.1 I
get the udhcpc nak on the client side. How can I solve this?
More information about the dhcp-users
mailing list