Displaying 20 results from an estimated 202 matches for "addif".
Did you mean:
addi
2008 Nov 22
2
[Bridge] bridge changes id on addif - is that normal?
...al machine nic's.
"brctl show" before any other port is attached:
bridge name bridge id STP enabled interfaces
br10 8000.deadbeef3410 no vlan10
br20 8000.deadbeef3420 no vlan20
then after "brctl addif br10 vnet1" and "brctl addif br10 vnet2" brctl
show says:
bridge name bridge id STP enabled interfaces
br10 8000.00ff351a360c no vnet1
vlan10
br20 8000.00ff8fe8ee1...
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 no eth0...
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
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 Apr 18
2
[Bridge] Help: Bridge and NAT through same NIC?
...(public IP) | |
| |
TV-content --DHCP (server) --- -- eth2 ---- TV set-top box
(Private IP)
I tried to set up a bridge of eth0 and eth2 using:
ifconfig eth0 0.0.0.0
ifconfig eth2 0.0.0.0
brctl addbr mybridge
brctl addif mybridge eth2
brctl addif mybridge eth0
ifconfig mybridge up
But that did not enable my STB to connect and meanwhile I had of course
lost connectivity for the PCs.
HB
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 2 12:27:08 fw01 kernel:...
2007 Apr 18
1
[Bridge] Bridging vlans...
...k set eth0 up
ip link set eth1 up
vconfig set_bind_mode PER_DEVICE
vconfig set_name_type DEV_PLUS_VID_NO_PAD
vconfig add eth0 4
vconfig add eth1 4
vconfig add eth0 51
vconfig add eth1 51
ip link set eth0.4 up
ip link set eth1.4 up
ip link set eth0.51 up
ip link set eth1.51 up
brctl addbr br0
brctl addif br0 eth0.4
brctl addif br0 eth1.4
brctl stp br0 off
ip link set br0 up
brctl addbr br1
brctl addif br1 eth0.51
brctl addif br1 eth1.51
brctl stp br1 off
ip link set br1 up
And the second:
ip link set eth0 up
ip link set eth1 up
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 eth1
brctl stp...
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-killer gets invoked which kills all the processes finally
system reboots.
I googled for solution o...
2007 Apr 18
2
[Bridge] Bridge code enhancement (link state detection) and bug fix. (patches included).
...r a second problem when writing the link monitoring code.
When you add a vlan interface like eth0.10 then it's not possible to
obtain link state information from this interface.
The fix I wrote is that brctl now allows you to specify the interface
that contains the link state.
Example : brctl addif NUM1 eth0.10 eth0
The old syntax: "brctl addif NUM1 eth0.10" still works but the link will
always appear to be up.
"brctl addif NUM1 eth0" works with link detection since this is a valid
'link state providing' device.
If anyone is wants to know how to use the linux br...
2008 Oct 31
0
[Bridge] Bridging PPPoE Sessions together
...| | |
ppp0 ppp1 eth3 ppp3
I've read that anything can be bridge as long as MTU is the same. Since
PPPoE has ethernet headers, i'm assuming that each of the devices ppp0,
ppp1, ppp3 have those as well. Is bridging them together as simple as:
brctl addbr br0
brctl addif ppp0
brctl addif ppp1
brctl addif eth3
brctl addif ppp3
?
Thanks for any help!
--
Bow-Nan Cheng
http://networks.ecse.rpi.edu/~bownan
Phone: 201.563.3875
AIM: BowNanC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux-foundation.org/pipermail/bridge/...
2007 Apr 18
1
[Bridge] How to bridge a eth0 and usb0 device
Hi
I intent to use brctl to bridge two devices on linux box. One is eth0,
the other is USB net which is recognized as usb0 by linux box.
Then I run following command
# ifconfig eth0 down
# ifconfig usb0 down
# brctt addbr ipbr
# brctl addif ipbr eth0
# brctl addif ipbr usb0
# ifconfig eth0 up
# ifconfig eth0 0.0.0.0
# ifconfig usb0 up
# ifconfig usb0 0.0.0.0
# ifconfig ipv6 up
eth0 usb0
192.168.16.2
Box1<----------------> Linux bridge <----------------------> Box
Then I connet anoth...
2007 Apr 18
1
[Bridge] Bridge not working...
I've got a 2.6.8 kernel with bridging enabled as a module, two nics
(LNE100TX and RTL8139) and i've run the following commands with no errors
modprobe -v bridge
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 eth1
both interfaces have 0.0.0.0 as their addresses and brctl showmacs br0
shows the macs for both internal cards. However, bridging doesn't seem
to be working at all. What am I missing or what else can I try to debug
what might be wrong?
thanks
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 I use a laptop to conn...
2007 Apr 18
1
[Bridge] modprobe: modprobe cannot locate br0 modules
Hi,
I added below code in /etc/rc.d/rc.local in order to load the bridge
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 wlan0
ifconfig br0 up
but it fail, i found error in /var/log/message
said
localhost: modprobe: modprobe cannot locate br0 modules
but i found it said suceedly up the br0 interface
anyone know?
=====
Ô¸ÄúÓÀÔ¶ÐÒ¸££¬¿ìÀֺͰ²Ïê Happy & Healthy Always ! ^_^ !
¸öÈËÍ...
2010 May 06
1
bridge :: kernel panic
...e that is used
also as gateway (nat). the problem is that i don't have an log of the
kenel panic so i don have what to post ...
The configuration of bridge is like this:
(each eth0 and eth1 are in different vlans in switch)
$IFCONFIG eth0 0.0.0.0
$IFCONFIG eth1 0.0.0.0
$BRCTL addbr br0
$BRCTL addif br0 eth0
$BRCTL addif br0 eth1
$BRCTL stp br0 off
$IFCONFIG br0 194.102.58.157 netmask 255.255.255.0
$ROUTE add default gw 194.102.58.1
echo "1" > /proc/sys/net/ipv4/ip_forward
Can somebody help me with hints about debuging this problem?
Thank you!
Adrian
-------------- next part --...
2015 Dec 09
2
How to manually add a new interface to a bridge device?
Maybe my google-fu is failing me, but I have spent the past couple hours
looking at how to add a vnet? Device to my KVM host running CentOS 6, and
for the life of me I can't get this going.
>From all my research if I want to add a device I should just do 'brctl addif
br1 vnet14' if I want to add a vnet14 to bridge br1. When I do this, I
get:
# brctl addif br0 vnet14
interface vnet14 does not exist!
If I run a 'brctl show' I get the following:
# brctl show
bridge name bridge id STP enabled interfaces
br0...
2007 Apr 18
1
[Bridge] Some newbe questions
...router)] -- internet
192.168.2.x
So on my laptop I have eth0 beeing lan, eth1 beeing wlan ethernet card.
When only using eth0/1 everything is fine.
Now I want to be able to use internet from both [desktop] and
[notebook].
Typically you set up a bridge with
brctl addbr br1
brctl addif br1 eth0
brctl addif br1 eth1
ifconfig eth0 0.0.0.0 up
ifconfig eth1 0.0.0.0 up
ifconfig br1 up
, right?
When do I have to set the iwconfig settings? (Web password, essid?)
When I also want use the internet (connect to desktop via vnc) from the
notebook I have to assign an ip to the bridge, correc...
2007 Apr 18
2
[Bridge] Sparc Bridge problems
...irection.
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"], [/* 16 vars
*/]) = 0
debian{root}:/root<514>
debian{root}:/root<514>uname -a
Linux debian 2.4.25 #3 SMP Mon Mar 8 20:03:58 EST 2004 sparc64 GNU/Linux
debian{root}:/roo...
2004 Dec 02
6
Shorewall + OpenVpn
...ACCEPT
/etc/shorewall/tunnels
openvpn net xxx.xxx.xxx.xxx
====================================================================
SCRIPT to run vpn on FIREWALL A :
#!/bin/sh
/usr/local/sbin/openvpn --mktun --dev tap0
/usr/sbin/brctl addbr br0
/usr/sbin/brctl addif br0 tap0
/usr/sbin/brctl addif br0 eth0
/sbin/ifconfig tap0 0.0.0.0 promisc up
/sbin/ifconfig eth0 0.0.0.0 promisc up
/sbin/ifconfig br0 192.168.10.1 netmask 255.255.255.0 broadcast
192.168.0.255
/usr/local/sbin/openvpn --tun-mtu 1500 --tun-mtu-extra 64 --dev tap0
--secret /etc/openvpn/static.ke...
2006 Jul 21
5
linux transparent bridge running squid
...lan
auto lo
iface lo inet loopback
auto br0
iface br0 inet static
address 192.168.0.253
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.254
pre-up /sbin/ip link set eth0 up
pre-up /sbin/ip link set eth1 up
pre-up /usr/sbin/brctl addbr br0
pre-up /usr/sbin/brctl addif br0 eth0
pre-up /usr/sbin/brctl addif br0 eth1
iptables -A INPUT -i br0 -p tcp -d 192.168.0.253 -s 192.168.0.0 --dport 3128 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -t nat -A PREROUTING -i br0 -p tcp --dport 80 -j REDIRECT --to-port 3128
echo 1 > /proc/sys/net/ipv4/ip_forward
with...