Ricardo Kleemann wrote:
> Michael,
>
> More on the networking...
>
>
>>> 3. I'm a little confused about host <-> guest networking. Basically what
>>> I want to do is to assign static IPs to the guests, using HIF
>>> networking. I create a bridge, I tie a vbox interface to the bridge, and
>>> I assume the bridge has to have a static IP. So my question is, if I
>>> want the guest to have IP 192.168.1.201, and the host to map any
>>> services for that IP to the guest, how would I set that up? In the guest
>>> itself I'd assign 192.168.1.201 for eth0, and what would the bridge IP
>>> have to be? If I assign 192.168.1.201 to the bridge, then I can't ping
>>> from host -> guest or vice-versa.
>>>
>> [Disclaimer: I'm not very hot on networking.] You assign the IP you
>> want your host to have (if any) to the bridge interface, the IP you want
>> your guest to have to the guest's eth0 and no IP at all to the host's
>> eth0 or to the tap0/vbox0 interface. I hope that was what you meant :)
>>
>>
>
> So for each guest I simply create a vbox0, vbox1, vbox2, etc... but don't
> assign any ip to these?
>
> Do I have to create multiple bridge interfaces in order to map the multiple
> vbox interfaces? I'm confused about that.
>
> Thanks
> Ricardo
>
>
> _______________________________________________
> vbox-users mailing list
> [email protected]
> http://vbox.innotek.de/mailman/listinfo/vbox-users
>
One bridge connection, assign the machine IP to the bridge. Multiple
vbox interface (0, 1, 2, etc ). Do not assign any IPs to the vbox
interfaces. Assign the IP in the guest only.
I.E. br0 has address of 192.168.1.201
eth0 has address of 0.0.0.0
assign whatever unused address you'd like in the 192.168.1.xxx range
to the eth0 in the *guest*.
assign whatever ports you wish to the address of the guest.
_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users