[Nottingham] NIC MACs aliases & IP aliases

Graeme Fowler graeme at graemef.net
Wed May 13 16:46:50 UTC 2009

On Wed, 2009-05-13 at 15:50 +0100, Martin wrote:
> Anyone with any ideas before I guess further?

Erm... maybe :)

Go back to the "clean" system. Bring up the ethernet and two tun

tunctl -t tap0
tunctl -t tap1

ifconfig eth0 up
ifconfig tap0 up
ifconfig tun0 up

At this point you have the three interfaces running "bare" - they're up,
but unconfigured. Now bring up the bridge:

brctl addbr br0
brctl addif br0 eth0
brctl addif br0 tap0
brctl addif br0 tap1

ifconfig br0 up

So the bridge itself is up, running and configured. Can you now reach
your default gateway or other devices on the same network?

If you now "tcpdump -qnitap0" while traffic is hitting br0 from a
separate machine on the same network, do you see that traffic being
"sent out" of tap0?

Once you've got the basic bridge up and running you can start tinkering
with IP addresses!


More information about the Nottingham mailing list