Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - prevent dhcp.cllient from modifying routing table: (6 Items)
   
prevent dhcp.cllient from modifying routing table  
Hi,

We're using dhcp.client as documented here: http://www.qnx.com/developers/docs/6.4.1/neutrino/utilities/d/dhcp.client.
html.

For various reasons, it would be preferable for dhcp.client to not change the routing table when it gets IP info or when
 it shuts down.  However, I don't see a way to disable this functionality in the documentation.  Am I missing something,
 or is this not possible?

-David
Re: prevent dhcp.cllient from modifying routing table  
Hi David,

Are you running 6.4.1? In 6.5.0 there's a command line option (-R) which 
avoids installing a default route. Is that what you're looking for?

Cheers!
/P

On 10-12-02 04:31 PM, David van Geest wrote:
> Hi,
>
> We're using dhcp.client as documented here:
> http://www.qnx.com/developers/docs/6.4.1/neutrino/utilities/d/dhcp.client.html.
>
> For various reasons, it would be preferable for dhcp.client to not
> change the routing table when it gets IP info or when it shuts down.
> However, I don't see a way to disable this functionality in the
> documentation. Am I missing something, or is this not possible?
>
> -David
>
>
>
> _______________________________________________
>
> Technology
> http://community.qnx.com/sf/go/post76976
>
Re: prevent dhcp.cllient from modifying routing table  
The 6.5 dhcp.client has a -R option which prevents it from applying the default route.

-seanb

----- Original Message -----
From: David van Geest [mailto:community-noreply@qnx.com]
Sent: Thursday, December 02, 2010 04:31 PM
To: technology-networking <post76976@community.qnx.com>
Subject: prevent dhcp.cllient from modifying routing table

Hi,

We're using dhcp.client as documented here: http://www.qnx.com/developers/docs/6.4.1/neutrino/utilities/d/dhcp.client.
html.

For various reasons, it would be preferable for dhcp.client to not change the routing table when it gets IP info or when
 it shuts down.  However, I don't see a way to disable this functionality in the documentation.  Am I missing something,
 or is this not possible?

-David



_______________________________________________

Technology
http://community.qnx.com/sf/go/post76976
Re: prevent dhcp.cllient from modifying routing table  
Thanks for the replies, guys.  That -R option is exactly the thing I'm looking for, however we are using 6.4.1.

Any other ideas?
RE: prevent dhcp.cllient from modifying routing table  
The easiest option might be requesting this for 6.4.1. Other options
include configuring the server if you have access to not provide this
information. Also, the dhcp.client dhcp-up script will contain all the
parameters supplied by the DHCP server, so you could reverse what was
set by the client. 

Dave

> -----Original Message-----
> From: David van Geest [mailto:community-noreply@qnx.com]
> Sent: December 2, 2010 4:59 PM
> To: technology-networking
> Subject: Re: prevent dhcp.cllient from modifying routing table
> 
> Thanks for the replies, guys.  That -R option is exactly the thing I'm
> looking for, however we are using 6.4.1.
> 
> Any other ideas?
> 
> 
> 
> _______________________________________________
> 
> Technology
> http://community.qnx.com/sf/go/post76989
Re: RE: prevent dhcp.cllient from modifying routing table  
I might just have to make that request.  The DHCP servers will vary and we don't have access to them.  My current 
workaround is in the same vein as your dhcp-up solution, but a cleaner solution would be nice.

Thanks for the reply Dave!

> The easiest option might be requesting this for 6.4.1. Other options
> include configuring the server if you have access to not provide this
> information. Also, the dhcp.client dhcp-up script will contain all the
> parameters supplied by the DHCP server, so you could reverse what was
> set by the client. 
> 
> Dave
> 
> > -----Original Message-----
> > From: David van Geest [mailto:community-noreply@qnx.com]
> > Sent: December 2, 2010 4:59 PM
> > To: technology-networking
> > Subject: Re: prevent dhcp.cllient from modifying routing table
> > 
> > Thanks for the replies, guys.  That -R option is exactly the thing I'm
> > looking for, however we are using 6.4.1.
> > 
> > Any other ideas?
> > 
> > 
> > 
> > _______________________________________________
> > 
> > Technology
> > http://community.qnx.com/sf/go/post76989