Re: FreeBSD in VMWare box

2008-11-22 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pieter Donche wrote:
> On Sat, 22 Nov 2008, Glen Barber wrote:
> 
>> On Sat, Nov 22, 2008 at 8:43 AM, Pieter Donche
>> <[EMAIL PROTECTED]> wrote:
>>> On Sat, 22 Nov 2008, Glen Barber wrote:
>>>
> The PC with WMware is connect to internet. Should one configure
> Ethernet then. If yes, what static IP parameters must one enter??

 This would be contingent on how you have networking set up.  Do you
 have NAT or Bridged only?  If NAT, use rc.conf with the inet address
 of your choice and the netmask for your NAT.
>>>
>>> My PC is connected to Internet using an ADSL modem to connect to an ISP.
>>> It uses IP 10.0.0.somevalue, netmask 255.255.255.0, no gateway specified
>>> and two DNS server IP addresses which my ISP asked to use.
>>>
>>> Is this 'NAT' or 'Bridged'.
>>>
>>
>> You'd have to tell me; it's your VM. Check the network settings in the
>> management interface.
> 
> (I previously installed an openSUSE 10.3 VM, and needed not enter any
> TCP/IP parameter, and could use netwerking afterwards)
> 
> The default settings of my VMware are (from Edit / Virtual Network Editor)
> 
> Summary
> Virt. Network - Summary - Subnet - DHCP
> VMnet0 (Bridged) - Bridged to an automatically choosen adapter - -
> VMnet1 (Host-only) - A private nw shared with the host - 192.168.72.0 -
> Enabled
> VMnet8 (NAT) - Used to share the host's IP address - 192.168.173.0 -
> Enabled
> 
> Automatic Bridging
> CHECKED: AUtomatically choose an available physical netwerk adapter to
> bridge to VMnet0
> 
> Host Virtual Netwerk Mapping
> VMnet0Brigded to an automatically chosen adapter
> (here I can also select my physical network card)
> VMnet1 VMware Network Adapter VMnet1 (only choice)
> VMnet2 (and 3 to 7 and 9): Not bridged
> (here I can also select my physical network card)
> VMnet8 VMware Network Adapter VMnet8 (only choice)
> 
> Host Virtual Adapters
> Network Adpater  Virt.Nw   Status
> VMware Network Adapter VMnet1 VMnet1   Enabled
> VMware Network Adapter VMnet8 VMnet8   Enabled
> 
> DHCP
> Virtual NetworkSubnetNetmaskDescription
> VMnet1192.168.72.0255.255.255.0  vmnet1
> VMnet8192.168.137.0255.255.255.0  vmnet8
> 
> NAT
> VMnet host:  VMnet8
> Gateway IP address  : 192.168.137.2   [ grey ]
> Netmask:  255.255.255.0   [ grey ]
> Nat Service
>  Service Status: Started
>  Service request: [ empty ]
> 
>>> Can I enter values and then what values, for host, domain, IPV4 gateway,
>>> Name server, IPV4 address, netmask in the screen presented during
>>> FreeBSD
>>> install
>>> or should i use Cancel in that screen and make changes in system
>>> files (and
>>> what changes in what system files)?
>>>

Hi Pieter,

In order to get outbound Internet access for a VM, add a network adapter
device to it and assign it to VMnet8 (NAT).  Within your VM, as noted by
another person that replied to this thread, set your network interface
for DHCP in /etc/rc.conf like so:

ifconfig_em0="DHCP"

I use e1000 network devices, so my network interface is "em0" - yours
may be different.

When the VM boots, it queries VMnet8's DHCP server for an IP address,
gateway and DNS servers.  These will likely be the same as those on your
host machine.

The VM will have outbound Internet access, but will only be able to
provide services to your host machine.  If you want the VM to provide
services to the outside world, you can bind its network interface to
VMnet1 (Bridged) instead of VMnet8, and it will receive a public IP
address, assuming your ISP has allocated additional ones to you.
Otherwise, you may be able to configure your router to use your single
public IP address and port forward inbound connections to your VM.

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJKOvd0sRouByUApARAt7JAJ4lNM6MI+eV1S9Oizjz1Ad040Kf6gCguVlI
Iko16BDE1ZgD82hp5PGwo0s=
=kONl
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD in VMWare box

2008-11-22 Thread Kevin Kinsey

Derek Ragona wrote:


You can have the FreeBSD just use DHCP to get network settings.

-Derek


And the magic incantation for that is:

if0="DHCP"

  in /etc/rc.conf, where "if0" is the ID string for
the interface you wish to configure automatically.

HTH,

Kevin Kinsey
--
Flugg's Law:
When you need to knock on wood is when you realize
that the world is composed of vinyl, naugahyde and aluminum.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD in VMWare box

2008-11-22 Thread Derek Ragona

At 06:57 AM 11/22/2008, Pieter Donche wrote:

If one installs FreeBSD 7.0 in a VMWare box, the answer/choicde for
'install boot manager' is this: Standard MBR ?

The PC with WMware is connect to internet. Should one configure
Ethernet then. If yes, what static IP parameters must one enter??


You need to be more specific.  Are you using ESX server or workstation?

As for the boot manager you can use it, or not.  Both work.

You can have the FreeBSD just use DHCP to get network settings.

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD in VMWare box

2008-11-22 Thread Pieter Donche

On Sat, 22 Nov 2008, Glen Barber wrote:


On Sat, Nov 22, 2008 at 8:43 AM, Pieter Donche <[EMAIL PROTECTED]> wrote:

On Sat, 22 Nov 2008, Glen Barber wrote:


The PC with WMware is connect to internet. Should one configure
Ethernet then. If yes, what static IP parameters must one enter??


This would be contingent on how you have networking set up.  Do you
have NAT or Bridged only?  If NAT, use rc.conf with the inet address
of your choice and the netmask for your NAT.


My PC is connected to Internet using an ADSL modem to connect to an ISP.
It uses IP 10.0.0.somevalue, netmask 255.255.255.0, no gateway specified
and two DNS server IP addresses which my ISP asked to use.

Is this 'NAT' or 'Bridged'.



You'd have to tell me; it's your VM. Check the network settings in the
management interface.


(I previously installed an openSUSE 10.3 VM, and needed not enter any
TCP/IP parameter, and could use netwerking afterwards)

The default settings of my VMware are 
(from Edit / Virtual Network Editor)


Summary
Virt. Network - Summary - Subnet - DHCP
VMnet0 (Bridged) - Bridged to an automatically choosen adapter - -
VMnet1 (Host-only) - A private nw shared with the host - 192.168.72.0 - Enabled
VMnet8 (NAT) - Used to share the host's IP address - 192.168.173.0 - Enabled

Automatic Bridging
CHECKED: AUtomatically choose an available physical netwerk adapter to
bridge to VMnet0

Host Virtual Netwerk Mapping
VMnet0  Brigded to an automatically chosen adapter
(here I can also select my physical network card)
VMnet1 VMware Network Adapter VMnet1 (only choice)
VMnet2 (and 3 to 7 and 9): Not bridged
(here I can also select my physical network card)
VMnet8 VMware Network Adapter VMnet8 (only choice)

Host Virtual Adapters
Network Adpater  Virt.Nw   Status
VMware Network Adapter VMnet1 VMnet1   Enabled
VMware Network Adapter VMnet8 VMnet8   Enabled

DHCP
Virtual Network Subnet  Netmask Description
VMnet1  192.168.72.0255.255.255.0  vmnet1
VMnet8  192.168.137.0   255.255.255.0  vmnet8

NAT
VMnet host:  VMnet8
Gateway IP address  : 192.168.137.2   [ grey ]
Netmask:  255.255.255.0   [ grey ]
Nat Service
 Service Status: Started
 Service request: [ empty ]


Can I enter values and then what values, for host, domain, IPV4 gateway,
Name server, IPV4 address, netmask in the screen presented during FreeBSD
install
or should i use Cancel in that screen and make changes in system files (and
what changes in what system files)?



Either will work.

--
Glen Barber


"If you have any trouble sounding condescending, find a Unix user to
show you how it's done."
--Scott Adams


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD in VMWare box

2008-11-22 Thread Glen Barber
On Sat, Nov 22, 2008 at 8:43 AM, Pieter Donche <[EMAIL PROTECTED]> wrote:
> On Sat, 22 Nov 2008, Glen Barber wrote:
>
>>> The PC with WMware is connect to internet. Should one configure
>>> Ethernet then. If yes, what static IP parameters must one enter??
>>
>> This would be contingent on how you have networking set up.  Do you
>> have NAT or Bridged only?  If NAT, use rc.conf with the inet address
>> of your choice and the netmask for your NAT.
>
> My PC is connected to Internet using an ADSL modem to connect to an ISP.
> It uses IP 10.0.0.somevalue, netmask 255.255.255.0, no gateway specified
> and two DNS server IP addresses which my ISP asked to use.
>
> Is this 'NAT' or 'Bridged'.
>

You'd have to tell me; it's your VM. Check the network settings in the
management interface.

> Can I enter values and then what values, for host, domain, IPV4 gateway,
> Name server, IPV4 address, netmask in the screen presented during FreeBSD
> install
> or should i use Cancel in that screen and make changes in system files (and
> what changes in what system files)?
>

Either will work.

-- 
Glen Barber


"If you have any trouble sounding condescending, find a Unix user to
show you how it's done."
 --Scott Adams
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD in VMWare box

2008-11-22 Thread Pieter Donche

On Sat, 22 Nov 2008, Glen Barber wrote:


The PC with WMware is connect to internet. Should one configure
Ethernet then. If yes, what static IP parameters must one enter??


This would be contingent on how you have networking set up.  Do you
have NAT or Bridged only?  If NAT, use rc.conf with the inet address
of your choice and the netmask for your NAT.


My PC is connected to Internet using an ADSL modem to connect to an ISP.
It uses IP 10.0.0.somevalue, netmask 255.255.255.0, no gateway specified
and two DNS server IP addresses which my ISP asked to use.

Is this 'NAT' or 'Bridged'.

Can I enter values and then what values, for host, domain, IPV4 
gateway, Name server, IPV4 address, netmask in the screen presented 
during FreeBSD install
or should i use Cancel in that screen and make changes in system 
files (and what changes in what system files)?




--
Glen Barber


"If you have any trouble sounding condescending, find a Unix user to
show you how it's done."
--Scott Adams


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD in VMWare box

2008-11-22 Thread Robert Joosten
Hi,

> If one installs FreeBSD 7.0 in a VMWare box, the answer/choicde for
> 'install boot manager' is this: Standard MBR ?

Yes, or choos not to install a boot manager. Both worked with freebsd 6.x 
and ESX 2.5x

> Should one configure Ethernet then. If yes, what static IP parameters 
> must one enter??

The next that's available in your lan.

Hth.

Regards,
Robert
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD in VMWare box

2008-11-22 Thread Glen Barber
On Sat, Nov 22, 2008 at 7:57 AM, Pieter Donche <[EMAIL PROTECTED]> wrote:
> If one installs FreeBSD 7.0 in a VMWare box, the answer/choicde for
> 'install boot manager' is this: Standard MBR ?
>

The boot manager can be whichever you want.  If you are installing on
a VM, chances are you're not dual-booting it, so yes, Standard Boot
Manager would be a 'good' choice.

> The PC with WMware is connect to internet. Should one configure
> Ethernet then. If yes, what static IP parameters must one enter??

This would be contingent on how you have networking set up.  Do you
have NAT or Bridged only?  If NAT, use rc.conf with the inet address
of your choice and the netmask for your NAT.

-- 
Glen Barber


"If you have any trouble sounding condescending, find a Unix user to
show you how it's done."
 --Scott Adams
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD in VMWare box

2008-11-22 Thread Pieter Donche

If one installs FreeBSD 7.0 in a VMWare box, the answer/choicde for
'install boot manager' is this: Standard MBR ?

The PC with WMware is connect to internet. Should one configure
Ethernet then. If yes, what static IP parameters must one enter??
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"