NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Xaver's avatar
Xaver
Tutor
Feb 13, 2010

Network bridge error

Hi,

i've tried to bridge my eth1 with the tap0 device for using it with openvpn in bridging modus.

I've executed the brctl addbr command as follows: 'brctl addbr br0' which leads to the following error:

add bridge failed: Invalid argument

I've tried to update bridge-utils but I can't find a newer version then 1.2.1.

Attached you can find a strace output fpr my brctl command. It would be nice if someone could help me out with this problem...


readynas-pro:~# strace brctl addbr br0
execve("/usr/sbin/brctl", ["brctl", "addbr", "br0"], [/* 15 vars */]) = 0
brk(0) = 0x804e000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7ee3000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=18669, ...}) = 0
mmap2(NULL, 18669, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf7ede000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libsysfs.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220%\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=44792, ...}) = 0
mmap2(NULL, 47852, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7ed2000
mmap2(0xf7edd000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa) = 0xf7edd000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260e\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1294572, ...}) = 0
mmap2(NULL, 1300080, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7d94000
mmap2(0xf7ecc000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x138) = 0xf7ecc000
mmap2(0xf7ecf000, 9840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf7ecf000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7d93000
set_thread_area({entry_number:-1 -> 12, base_addr:0xf7d93ad0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xf7ecc000, 4096, PROT_READ) = 0
munmap(0xf7ede000, 18669) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
brk(0) = 0x804e000
brk(0x806f000) = 0x806f000
open("/proc/mounts", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7ee2000
read(4, "rootfs / rootfs rw 0 0\n/dev/md0 "..., 1024) = 456
close(4) = 0
munmap(0xf7ee2000, 4096) = 0
lstat64("/sys/class/net", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
ioctl(3, 0x89a0, 0xff895eab) = -1 ENOPKG (Package not installed)
ioctl(3, SIOCSIFBR, 0xff8953e0) = -1 EINVAL (Invalid argument)
write(2, "add bridge failed: Invalid argum"..., 36add bridge failed: Invalid argument
) = 36
exit_group(1) = ?
Process 3005 detached

14 Replies

Replies have been turned off for this discussion

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More