Setting up an Ethernet bridge in Ubuntu Linux
In a previous video, I showed how to
set up an
Ethernet bridge in Windows XP. This is very useful for sniffing traffic
leaving your LAN for the purposes of IDS (Intrusion Detection System), network
monitoring, statistics or just plain snooping. In this video, I cover setting up
an Ethernet bridge in Linux. Other tools used in this video include Wireshark,
TCPDump, Etherape and Driftnet.
Download:
http://blip.tv/file/get/Irongeek-ethernetbridgefixed996.mp4
Article:
Commands used:
sudo apt-get install bridge-utils
ifconfig
sudo tcpdump -i mybridge -s 0 -w out.cap
sudo etherape -i mybridge
sudo driftnet -i mybridge
Script to setup MAC bridging:
ifconfig eth0 0.0.0.0
ifconfig eth1 0.0.0.0
brctl addbr mybridge
brctl addif mybridge eth0
brctl addif mybridge eth1
ifconfig mybridge up
If you would like to republish one of the articles from this site on your webpage or print journal please contact IronGeek.
Copyright 2020, IronGeek