OpenVZ Forum


Home » General » Support » openvpn and tap/bridging with a "dummy" network adapter?
Re: openvpn and tap/bridging with a "dummy" network adapter? [message #1992 is a reply to message #1761] Sun, 12 March 2006 04:31 Go to previous messageGo to previous message
snowdeal is currently offline  snowdeal
Messages: 22
Registered: February 2006
Junior Member
apologies for taking so long to post the HOWTO. i've been testing the setup and it's working well, but recently i've tried to add multiple "dummy" interfaces ( one for each vps ) and am running in problems.

as you might recall, i'm bridging a dummy interface using a procedure similar to that outlined here [1]. i can add dummy0 [2] which i can move to a vps [3] but if i try to add a second dummy interface ( for a second vps ) i get an error [4]. so it would seem to make sense that i have to insmod more than 1 instance of the dummy module using a scheme similar to that outline here [5]. but when i try to load an additional dummy interface i get another error [6].

so, can anyone give my any hints on how to create multiple dummy interfaces on the hardware node so that each vps can have its own dummy interface?



[1] http://www.jvds.com/guide/bridging.php
[2] ifconfig dummy0 hw ether de:ad:be:ef:00:00
[3] /usr/sbin/vzctl set 101 --netdev_add dummy0 --save
[4] ifconfig dummy1 hw ether de:ad:be:ef:00:01
SIOCSIFHWADDR: No such device
[5] http://groups.google.com/group/comp.os.linux.networking/brow se_thread/thread/f08148fe2a7d5747/291d1410df166fe6?lnk=st&am p;q=multiple+dummy+interfaces&rnum=10&hl=en#291d1410 df166fe6

[6] /sbin/insmod -o dummy1 dummy.o
insmod: can't read '-o': No such file or directory
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: VPS cannot shutdown
Next Topic: Using Ksplice for kernel updates
Goto Forum:
  


Current Time: Sat Aug 02 16:15:45 GMT 2025

Total time taken to generate the page: 1.04215 seconds