DHCP/pxeboot Situation: how to specify default route?

Thread Tools Search this Thread
Special Forums IP Networking DHCP/pxeboot Situation: how to specify default route?
# 1  
Old 08-31-2011
DHCP/pxeboot Situation: how to specify default route?


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

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

Am I missing something? Let me know if you need more info. And thanks in advance for your help! ...whoever you are
# 2  
Old 08-31-2011
you mean:

option routers ;

(option not being plural)
# 3  
Old 08-31-2011
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 Smilie

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)
# Never forward addresses in the non-routed address spaces.


# Probably unnecessary -- in its absence, dnsmasq assumes the same
# default gateway as the server has.

# what file to load from what TFTP server on PXE boot.

# Enable dnsmasq's built-in tftp server

# where tftp should look for files

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

IP Route add default and make permanet

Hi all, actually i'm facing this problem, we have 2 NICs on our VM.s with REDHAT 7.2 release, we made the following set up as we needed to access them from both IP ip route flush all ip route add dev eno2 tab 1 ip route add dev eno1 tab 2 ip route add... (0 Replies)
Discussion started by: charli1
0 Replies

2. Solaris

Default route in system

Hi All Recently we have faced issue in SUN server after reboot of node 2 default routs has been added to system as below IRE Table: IPv4 **Destination*************Mask***********Gateway**********Device Mxfrg Rtt***Ref Flg**Out**In/Fwd* -------------------- ---------------... (2 Replies)
Discussion started by: aaysa123
2 Replies

3. IP Networking

Get DHCP relay interfaces IP address using DHCP

Hi All , please view the set up below: ------------------------------------------------------------------- | DHCP Server |-----------| ROUTER & |-----------| Clients | | | - -<eth1>| DHCP-RELAY|<eth2>-- | 192.168.88.X | ... (2 Replies)
Discussion started by: gdangoor
2 Replies

4. AIX

Default Route add fails

AIX version 5.3 when I try to add default gateway # route add 0 Or # route add default I get the error 0821-275 route: socket: The file access permissions do not allow the specified action. searching on google i came across similar... (5 Replies)
Discussion started by: filosophizer
5 Replies

5. Solaris

Default route is configured, but seem to not work

Hiya, I got the default gateway set in /etc/defaultrouter file, however "netstat -nr" doesn't show anything like "default" in the routing table. As far as I know "netstat" on Solaris 10 u7 should show something like : Routing Table: IPv4 Destination Gateway Flags Ref ... (8 Replies)
Discussion started by: TomSu
8 Replies

6. AIX

Default route question

Hello I have a question regarding default route on AIX servers. (I am using a p5 5.3 TL9 machine). in my output of "lsattr -El inet0" I can see there are two routes like below. route net,-hopcount,0,,0,x.x.207.7 Route True route net,-hopcount,0,,0,x.x.202.129 Route True But... (9 Replies)
Discussion started by: gsabarinath
9 Replies

7. UNIX for Advanced & Expert Users

Configuration servidor PXEBOOT

Well I'd like to know how I have to configure the tftpboot folder on a Ubuntu 9.04, from this server to boot the livecd of clonezilla on the client through pxe, for now this is what I have does not work. I have the file in the folder tftpboot vmlinuz and initrd.img from the iso file clonezilla... (0 Replies)
Discussion started by: antonioongp
0 Replies

8. Solaris

solaris 10 u5 what happens if no default route configured

Hi, I am new to solaris 10. What is the procedure the os takes if a default route is not configured? I am using a multihomed server with 4 interfaces. It looked strange to me this morning, because i had not defined a default route it defaulted to making one up, with the ip address of another... (9 Replies)
Discussion started by: borderblaster
9 Replies

9. AIX

Default route removed - what to do ?

Hi, After accidental default route removal serial connection doesn't work. What should I do to connect to my machine ? thanks Vilius (7 Replies)
Discussion started by: vilius
7 Replies

10. AIX

Permanent Default Route

Hi, We are running AIX 5.2. Our default gateway used to be IP Address A. Our new default gateway is IP Address B. A netstat revealed that our default route was IP address A. We manually added default route with IP address B and removed the default route with IP address A. However,... (3 Replies)
Discussion started by: DenD
3 Replies
Login or Register to Ask a Question