creating point2point networks....

  • Thread starter Thread starter ciairo
  • Start date Start date
C

ciairo

Guest
Hey there!

first id like to say thanks for your support on the other topic, everything went well until now...

question:

is it possible to create a point2point connection (cross-over ethernet cable) between 2 VM's on the same Host - and it gets better.... can i create a point2point between to VM's resides on two different Hosts?

i have an idea how to do the first one... what do you think about it?
- create a bridge without assigning a bridge port.
- add a virtual ethernet device to the VM between all the VM's that i want to get a point2point connection.

does that sound right?

help!

thanks

ciairo :confused:

-
 
Hey there!

first id like to say thanks for your support on the other topic, everything went well until now...

question:

is it possible to create a point2point connection (cross-over ethernet cable) between 2 VM's on the same Host - and it gets better.... can i create a point2point between to VM's resides on two different Hosts?

i have an idea how to do the first one... what do you think about it?
- create a bridge without assigning a bridge port.
- add a virtual ethernet device to the VM between all the VM's that i want to get a point2point connection.

does that sound right?

help!

thanks

ciairo :confused:

-
Hi,
the bridges are like a normal network hub. p2p should also work. But for traffic between two VMs on one pve-host you can use "normal" networking with an bridge, which only use internal traffic.
I use this script to enable vmbr10 as local-network-only:
Code:
cat /usr/local/scripts/generate_vmbr10.sh 
modprobe -o dummy0 dummy
ifconfig dummy0 up
brctl addbr vmbr10
brctl addif vmbr10 dummy0
ifconfig vmbr10 up
#
#modprobe -o dummy1 dummy
#ifconfig dummy1 up
#brctl addbr vmbr11
#brctl addif vmbr11 dummy1
Use "post-up /usr/local/scripts/generate_vmbr10.sh" in /etc/network/interfaces

Udo