DHCP and resolv.conf

Charles Curley charlescurley at charlescurley.com
Fri Jul 6 19:58:35 MDT 2007

On Fri, Jul 06, 2007 at 07:05:16PM -0600, Mike Lovell wrote:
> Charles Curley wrote:
> >I have a firewall, on which I just installed a text mode only ubuntu
> >7.04. I have two problems related to DHCP. Both interfaces use DHCP.
> >

> >*/
> To start with, I have to ask the question of why you are running dhcp on 
> your internal network interface? I can understand wanting to run the 
> DHCP server on a different box but it is usually best to have the 
> firewall use a static address internally. 

Laziness, of course. One less thing to configure for each box every
time I do an upgrade.

> dhcpcd has command line options to have it skip writing resolv.conf
> file (the -R option) and from specifying a gateway (the -G
> option). But I am guessing that you are using dhclient since it is
> Ubuntu.


> In this case, 
> you will probably want to edit the dhclient.conf file.

Drat, I was afraid you were going to say that. I was hoping someone
else had already solved this problem. I doubt I'm the first to hit it.

> With it, you can specify to override (or supersede) options returned
> by the dhcp server.  You will have to do a bit of playing with it
> but it should be able to override specific options for certain
> interfaces. 

I was afraid that was what I would have to do. Thanks


Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://plug.org/pipermail/plug/attachments/20070706/1a8ee511/attachment.bin 

More information about the PLUG mailing list