Re: bridge problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On the target board
>
> ifconfig eth0 0.0.0.0
> ifconfig eth1 0.0.0.0
> brctl addbr br0
> brctl addif br0 eth0
> brctl addif br0 eth1
> ifconfig br0 10.1.111.1 netmask 255.255.255.0 up
> echo 1 > /proc/sys/net/ipv4/ip_forward

Bridging works transparently and is not routing.

You will not need ip_forwarding set, nor and ip in the same subnet.

forget setting the ip_forward, just bring up your bridge with:

ifconfig br0 0.0.0.0 up

If you have everything plugged in properly, and two ips in the same
subnet on either side, they will start pinging.

As mentioned on this list many times prior it does take 30 seconds for
the forwarding to take place unless you set it to 0 with:

brctl setfd br0 0

Hope that helps,
Kevin Karsh
Ouraynet

_______________________________________________
Bridge mailing list
Bridge@xxxxxxxxxxxxxx
https://lists.osdl.org/mailman/listinfo/bridge


[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux