Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2007 12:34:23 -0800
From:      Jay Chandler <chandler@chapman.edu>
To:        linux quest <linuxquest7570@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: DNS Resolver Problem
Message-ID:  <45ABE54F.5020804@chapman.edu>
In-Reply-To: <383860.7305.qm@web59201.mail.re1.yahoo.com>
References:  <383860.7305.qm@web59201.mail.re1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Please don't top-post.

linux quest wrote:
> Dear Jay,
>
> Actually, I am running FreeBSD Unix on a VMWare machine (Host OS: 
> Win2003, Guest OS: FreeBSD).
>
> Any ideas how I can disable / ignore the routing from the VMnet8? 
> Below are the only VMWare NAT configuration that I have access to. No 
> DHCP enable / disable option.
>
>
> Ethernet adapter VMware Network Adapter VMnet8:
>
>    Connection-specific DNS Suffix  . :
>    IP Address. . . . . . . . . . . . : 192.168.52.1
>    Subnet Mask . . . . . . . . . . . : 255.255.255.0
>    Default Gateway . . . . . . . . . : 192.168.52.2
>
>
> When I install FreeBSD, I remember I did select some option to enable 
> DHCP. Perhaps, I should disable the DHCP service in FreeBSD(Guest OS) 
> - if so, any idea how do I do it?
>
> Thanks :)
>
> Regards,
> Linux Quest
>
>
Simple enough, then. 

Edit /etc/rc.conf, and remove the line relating to the dhcp client.  
Then add:
defaultrouter="192.168.51.2"
hostname="boxname!"
ifconfig_em0="inet 192.168.52.WHATEVERYOUWANT  netmask 255.255.255.0"

-- 
Jay Chandler
Network Administrator, Chapman University
714.628.7249 / chandler@chapman.edu
Today's Excuse: emissions from GSM-phones 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45ABE54F.5020804>