DHCP/pxeboot Situation: how to specify default route?

Greetings,

I am using debian squeeze to perform the following operation:

  1. pxeboot Alix 2.c board into debian installer

When I get to the installer my laptop's dhcp server successfully provides an ip address but does not set up the default route. I am not sure how to provide this.

I am connected to a wireless network on the subnet 192.168.1.1/255.255.255.0.

The dhcp server is set up on 192.168.32.50 with the subnet specified as 192.168.32.0/255.255.255.0. In my /etc/network/interfaces file I set the gateway for this interface to 192.168.1.1 and in my /etc/dhcp/dhcpd.conf file I set the 192.168.32.0/255.255.255.0 subnet to have "options routers 192.168.1.1".

Am I missing something? Let me know if you need more info. And thanks in advance for your help! ...whoever you are

you mean:

option routers 192.168.1.1 ;

(option not being plural)

I've got PXE boot working here using dnsmasq, a very minimal daemon which functions as a combined DNS, DHCP, and TFTP server. It takes extremely few options to work and comes with many examples in its config files. I suppose you might want to turn its DNS server off though :wink:

With a lot of examples and blank lines stripped, these are the only options in my /etc/dnsmasq.conf:

# Never forward plain names (without a dot or domain part)
domain-needed
# Never forward addresses in the non-routed address spaces.
bogus-priv

dhcp-range=192.168.0.129,192.168.0.254,255.255.255.0,12h

# Probably unnecessary -- in its absence, dnsmasq assumes the same
# default gateway as the server has.
dhcp-option=3,192.168.0.1

# what file to load from what TFTP server on PXE boot.
dhcp-boot=pxelinux.0,mecgentoo,192.168.0.126

# Enable dnsmasq's built-in tftp server
enable-tftp

# where tftp should look for files
tftp-root=/tftproot