How to bridge up some NICs?
I uses Debian Sid, have set up all programs needed.
And execute this commands in Bash:
Code:
tunctl -u user -t tap0
tunctl -u user -t tap1
tunctl -u user -t tap2
brctl addbr br0
brctl addif br0 tap0 tap1 tap2
ifconfig tap0 192.168.254.1 netmask 255.255.255.252 broadcast 192.168.254.255 up
ifconfig tap1 192.168.254.2 netmask 255.255.255.252 broadcast 192.168.254.255 up
ifconfig tap2 192.168.254.3 netmask 255.255.255.252 broadcast 192.168.254.255 up
ifconfig br0 up
I think tap0 tap1 tap2 are in the same sub net now. But I can't ping any of them from each other, either,why?