NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Xaver
Feb 13, 2010Tutor
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...
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
- hoogends1AspirantSame problem here:
I'm trying to setup an openvpn server on my Readynas Pro and i get same error.
Any1 got an idea if bridging will work at all on the Readynas Pro ?
I installed openvpn, bridge-utils via apt-get and i got to the point that i had a working routing vpn.
But i want to access all systems in my LAN via VPN, so bridging looked the way to go.
(Not sure if this also possible with routing vpn)
Regards. - luriumAspirantStill not working with bridge-utils_1.4-5_i386.deb
http://www.linuxfoundation.org/collabor ... ing/bridge
"You need to enable bridging in the kernel.
Set "networking -> 802.1d Ethernet Bridging" to either yes or module "
nas:~# modprobe bridge
FATAL: Module bridge not found.
So basically the modules is missing, asked yoh-dah for the kernel modules tar.gz that fits the kernel in RAIDiator 4.2.16-T25.
Yes im a crazy beta tester :) - cgalpinAspirantDid you ever get this figured out?
- luriumAspirantNope, readynas never posted the kernel modules like they promised with the next beta release T33.
Without them we cant get the module into the kernel. - cgalpinAspirantThat sucks. Ok, maybe time to put this pogoplug that's been sitting in a box for years to good use :)
- igorek1Aspirantnow that the final firmware is out, anyway to make the bridging work?
thanks - WhoCares_MentorIf it's just the bridging module that's missing, I could provide that. I'm currently compiling kernel modules for the ReadyNAS anyway.
-Stefan - igorek1AspirantGreat, can you post it?
thanks - WhoCares_MentorFor what ReadyNAS? Sparc or Intel, 64 or 32 bit?
-Stefan - igorek1Aspirantfor readynas pro
2.6.37.5.RN.x86_64.2.1
thanks
Related Content
NETGEAR Academy

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