OpenVZ Forum


Home » General » Support » Possibility of using bridge in VE
Possibility of using bridge in VE [message #26784] Thu, 31 January 2008 22:36 Go to next message
lystor is currently offline  lystor
Messages: 4
Registered: December 2007
Location: Donetsk
Junior Member

Is it possible to use bridge in VE?

----------------------------------------
In VE:
# brctl addbr br0
add bridge failed: Operation not permitted

# strace brctl addbr br0 2>&1 | tail -n 10
munmap(0xb7fb6000, 10497) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
lstat64("/sys/class/net", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
brk(0) = 0x8b97000
brk(0x8bb8000) = 0x8bb8000
ioctl(3, 0x89a0, 0xbf80c73d) = -1 EPERM (Operation not permitted)
ioctl(3, SIOCSIFBR, 0xbf80a538) = -1 EPERM (Operation not permitted)
write(2, "add bridge failed: Operation not"..., 43add bridge failed: Operation not permitted
) = 43
exit_group(1) = ?

----------------------------------------
HN:
ASPLinux Server V (RHEL 5)
i386

# rpm -q ovzkernel
ovzkernel-2.6.18-53.el5.028stab051.1

# rpm -qa vz\*
vzquota-3.0.11-1.0.121asp
vzctl-lib-3.0.22-1.0.121asp
vzctl-3.0.22-1.0.121asp

# lsmod | grep bridge
bridge 55708 0

----------------------------------------
VE config:
NETIF=" ifname=eth0,mac=00:0C:29:FE:42:E1,host_ifname=veth1213.0,hos t_mac=00:0C:29:23:2B:A8 "
DEVICES="c:10:200:rw" # /dev/net/tun
CAPABILITY="NET_ADMIN:on"
...

----------------------------------------
Task:
Bridge veth and tap0 for OpenVPN in VE.

OpenVPN work in VE perfectly.


OS: ASPLinux Server 5, ASPLinux 12

[Updated on: Thu, 31 January 2008 22:37]

Report message to a moderator

Re: Possibility of using bridge in VE [message #26861 is a reply to message #26784] Mon, 04 February 2008 08:48 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

Please look at this page
http://forum.openvz.org/index.php?t=msg&th=315&#msg_ 1761
Previous Topic: *solved* cant login to virtual machine from other computers
Next Topic: vzmigrate: Failed to dump VE
Goto Forum:
  


Current Time: Fri Oct 04 22:15:11 GMT 2024

Total time taken to generate the page: 0.05107 seconds