On Wed, Dec 12, 2007 at 01:59:51AM +0100, Luc Desfosses wrote:
I've a Dom0, with two DomU.
The server have 2 NIC.
bge0 : ip address 10.1.1.2
bge1 : ip address 192.168.1.2
How it is possible to reach each DomU with an 192.168.1.X IP address ?
It's not possible to forward at layer 2, on bge1 ?
It's possible: create a bridge0 interface with bge1 in it:
ifconfig bridge0 create
brconfig bridge0 add bge1 up
then in your domU configs, set brdige=bridge0 for the vifs.
You can create a /etc/ifconfig.bridge0 file to create and configure the
bridge at boot
create
!brconfig $int add bge1 up