search for: brctl

Displaying 20 results from an estimated 768 matches for "brctl".

2009 Apr 09
1
[Bridge] Out of memory problem
Hi, I'm using linux 2.6.21.5 and our kernel is freeze. The problem is, if I create a Software bridge using $brctl command. and add two interfaces say, eth0.0 and eth0.1 using $brctl addbr br-lan $brctl addif br-lan eth0.0 $brctl addif br-lan eth0.1 and when i send traffic from a host connected to one port to host connected at other end, soon all the memory is dried up and and kernel crashes, then oom-kille...
2007 Apr 18
2
[Bridge] Sparc Bridge problems
Santiago, I appreciate your offer. I'm not really a kernel hacker, however I do know C and I would be willing to try if you point me in the right direction. Here is my first attempt using Debian running on an UltraSPARC: debian{root}:/root<512>strace -f -F -v brctl addbr br0 execve("/usr/sbin/brctl", ["brctl", "addbr", "br0"], [/* 16 vars */]) = 0 debian{root}:/root<513>strace -f -F -v brctl addif br0 eth1 execve("/usr/sbin/brctl", ["brctl", "addif", "br0", "eth1"]...
2007 Apr 18
1
[Bridge] Re: Re: a problem about brctl
Stephen Hemminger, Yes,I use V2.4.17. Which patch can I use? Or can you tell me the reason,so that i can modify my Kernel.I use this kernel at the embeded system. >Haisen.Zhang wrote: > >>shemminger? >> >> I have a problem with brctl application,following is my operations: >> >> vconfig add eth0 3 >> >> brctl addbr br0 >> >> brctl addbr br1 >> >> brctl addif br0 eth0.3 >> >> brctl delif br0 eth0.3 >> >> brctl addif br1 eth0.3 >> >>? brctl...
2007 Apr 18
2
[Bridge] bridge-utils + Linksys WET11
...net, and clients are able to talk to each other. When the WET11 is plugged in is when things start acting up. Every client (including those behind the WET11) are able to connect out to the internet, but clients cannot talk to each other. If Client A(port 1) tries to connect to Client B(port 2), `brctl showmacs br100` shows that Client B moved to port 4(port 4 is where the WET11 is plugged in. If I change the WET11 port, the port Client B moves to is also changed), and the router can no longer ping Client B. [root@deadbeef root]# brctl showmacs br100 port no mac addr is local?...
2007 Apr 18
1
[Bridge] why ./brctl showmacs br0 display nothing?
hi: my box use eth0 connect my pc. but I type command "./brctl showmacs br0", no mac addr display and the" brctl showmacs program" not exit,always exec # ./brctl show bridge name bridge id STP enabled interfaces br0 8000.000123456789 no eth0...
2007 Apr 18
1
[Bridge] When I add br0 (brctl addbr br0), and I show bridge list (brctl show) it's eth0 which is in the list. It's a bug ?
All is in subject. Example : root@harobed:~ # brctl show bridge name bridge id STP enabled interfaces root@harobed:~ # ifconfig lo Lien encap:Boucle locale inet adr:127.0.0.1 Masque:255.0.0.0 adr inet6: ::1/128 Scope:H?te UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:165...
2007 Apr 18
1
[Bridge] <kernel BUG> generated on bridge up/down & other issues
...n I have works intermittently. vtun seems to work reliably - am using the -p (persist) option to force reconnect on disconnect. However I have the following problems: 1) On system startup vtun connects to the server correctly, but the bridge does not come up. (my vtund.conf attached) brctl show - shows the "brookf" bridge, but 'Interfaces' declares: "can't get port info: Function not implemented" Restarting vtun with /etc/init.d/vtun restart brings the bridge up correctly. Why is this? Currently I'm having to restart vtun on system startup t...
2006 Mar 30
2
linux bridging vlans?
re can somebody tell me what am I doing wrong (at this late night hour), because vlan are not getting bridged at all. ifconfig eth0 0.0.0.0 up ifconfig eth1 0.0.0.0 up brctl addbr br0 brctl addif br0 eth0 brctl addif br0 eth1 ifconfig br0 up vconfig add br0 X vconfig add br0 Y X = vlan-ID (example: 222) Y = vlan ID (example: 223) # brctl show bridge name bridge id STP enabled interfaces br0 8000.00001a1a4c74...
2007 Apr 18
1
[Bridge] Man-in-the-middle scenario within vmware - problem
Hi there, I'm trying to set up a man-in-the-middle scenario within a VMWare Workstation team, using brctl. What I want is the following: PC1 eth0 >---LAN-segment-1---< eth0 PCMITM eth1 >---LAN-segment-2---< eth0 PC2 Now I did the following on PCMITM (PC man in the middle): ifconfig eth0 down ifconfig eth1 down brctl addbr lnxbr0 brctl addif lnxbr0 eth0 brctl addif lnxbr0 eth1 ifconfig et...
2007 Apr 18
2
[Bridge] Neighbour table overflow
Hi, I had successfully setup my bridge (br0) but after few minutes the br0 interface seems not working. ifconfig eth0 0.0.0.0 ifconfig eth5 0.0.0.0 brctl addbr br0 brctl addif br0 eth0 brctl addif br0 eth5 brctl stp br0 on I check on my system's /var/log/syslog file. It shows something strange messages as below: - Jan 2 10:44:22 fw01 kernel: ipt_tcpmss_target: bad length (64 bytes) Jan 2 10:44:32 fw01 last message repeated 11 times Jan...
2007 Apr 18
0
[Bridge] Re: brctl, Ethernet Bridging, openvpn, Universal TUN/TAP devices
On Thu, 2 Dec 2004 14:13:33 +0100 ncrfgs <ncrfgs@tin.it> wrote: > Hi, > > I'm using the great 802.1d Ethernet Bridging support via > brctl along with Universal TUN/TAP devices created with > openvpn on a GNU system with a vanilla 2.6.8.1 Linux > kernel. > > > To start it: > > /usr/sbin/brctl addbr br${X} > /sbin/ifconfig brX xxx.xxx.xxx.xxx netmask yyy.yyy.yyy.yyy > /sbin/route add def...
2007 Apr 18
0
[Bridge] Help: bridging eth0 and wlan0?
Hello all, I'm trying to bridge the wlan0 and eth0 on an embedded system. I used the following commands to setup the bridge: ifconfig eth0 0.0.0.0 promiscuous ifconfig wlan0 0.0.0.0 promiscuous brctl addbr br0 brctl addif br0 eth0 brctl addif br0 wlan0 brctl sethello br0 1 brctl setmaxage br0 4 brctl setfd br0 4 ifconfig br0 up The eth0 is connected to a local network, and wlan0 is set to Ad-hoc mode with proper SSID. After the bridge is stablized, I use dhclient to assign an IP for br0. Then...
2007 Apr 18
2
[Bridge] Getting dynamic ip address for a bridge
Hello, I how an embedded processor that needs to act as a bridge between a wireless and wired network. I have managed to bring up the bridge fine. I can also bring up the bridge with a static ip address. However I can not figure out how to bring up the bridge with a dynamic ip address. Is it possible to for a bridge to get a dynamically assigned ip address? Oliver
2007 Aug 30
1
[Bridge] configure linux bridge
dear all: I try to configure a bridge in my embedded linux. I had fininshed these operations below: 1) configure kernel, select the option "802.1d bridge" 2) compile bridge-utils 3) issue these commands: ifconfig eth0 0.0.0.0 ifconfig eth1 0.0.0.0 brctl addbr vb brctl addif vb eth0 brctl addif vb eth1 ifconfig vb 192.168.110.24 up 4) cd /proc/sys/net/bridge for x in bridge-*; do echo 0 > $x; done 5) Then I connect PC0 to the eth0, and connect PC1 to eth1. The PC0 IP is 192.168.110.22, the PC1 IP is 192.168.110.60...
2007 Apr 18
1
[Bridge] Problem with bridge/8139too module under 2.4.27?
...register_netdevice: waiting for br0 to become free. Usage count = 2 This message is repeatedly output to the console until I manually go and power cycle it. I've traced this through the startup/shutdown scripts, and have determine that the problem exists in the following sequence of commands: brctl addbr br0 brctl addif br0 eth0 brctl addif br0 eth1 ifconfig eth0 up ifconfig eth1 up ifconfig eth0 down ifconfig eth1 down brctl delif eth0 brctl delif eth1 brctl delbr br0 <------ This is where the problem occurs The machine running the kernel is a brouter with 4 NICs all running under the...
2009 Feb 28
0
[Bridge] core dump in latest brctl
Here's a simple way to crash brctl (Fedora 8's brctl and tonight's git tree): [root at grok2 brctl]# ./brctl addbr bridge [root at grok2 brctl]# ./brctl show bridge name bridge id STP enabled interfaces . Segmentation fault (core dumped) Take it easy, Ben -- Ben Greear <greearb at...
2007 May 28
9
2 NICs Bridge + Router
Hi wondering if anyone can help. I have two NICs on a debian sarge based system and current running as a bridge (br0) which consists of eth0 and eth1. Is it possible to add a virtual interface to the eth1 so I can also do NAT on the box as well? I have tried many times and keep coming up with errors. Kind Regards William Bohannan
2005 Jul 18
0
DOMU loses outside connection
...xen-br0 connectivity? Thanks ********************My Start Bridge Script************************** #!/bin/bash # /etc/xen/xen_start_bridges.batch # # # enable forwarding in xen0 echo "1" > /proc/sys/net/ipv4/ip_forward # # disassociate old vif''s if they are still arround brctl delif xen-br0 vif1.1 brctl delif xen-br0 vif1.2 brctl delif xen-br0 vif2.1 brctl delif xen-br0 vif3.1 # # # add internal bridge between the Firewall guest and the # AppDatabaseDS guest brctl addbr xen-brINT brctl stp xen-brINT off ifconfig xen-brINT up # # # add a bridge between the Firewall guest...
2009 Mar 20
1
[Bridge] BRCTL is displaying only 32 bridge interfaces even /proc/net/dev is showing more then that
Hi All, I am using Linux 2.6.15 kernel. I want to create 4094 bridge interface but I am able to see only 32 bridge interfaces with the help of "brctl show". I am able see other interfaces into /proc/net/dev but brctl is not showing more then 32. It is also not allowing any operations (add/del) over those interfaces. Is it correct behaviour or I have do some changes in some settings.? Could anybody please help me in this?? With Regards Ra...
2007 Apr 18
1
[Bridge] brctl insmod
I noticed that when I type brctl - it does insmod when the bridge module is not loaded. Where can I find the code (in the brctl or libbridge code) which does that? Thanks, Abhijit