Port Span

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
Dev_BR
Posts: 87
Joined: Fri Jan 27, 2012 6:55 am

Port Span

Post by Dev_BR »

Is it possible to redirect (mirror) all router trafic to a specific fisical port ?
Its for protocol analyse ourpose / monitoring.

Dev_BR
Posts: 87
Joined: Fri Jan 27, 2012 6:55 am

Re: Port Span

Post by Dev_BR »

...

pbix
Developer
Posts: 1373
Joined: Fri Aug 21, 2009 5:09 pm

Re: Port Span

Post by pbix »

Port Mirroring is usually accomplished with the -tee target and iptables. To my knowledge the -tee target is not included by default so you will have to install some packages or rebuild you kernel.

Getting the -tee target to work is sometimes an issue it seems. Just check the forum over at OpenWRT for examples.

One person wrote a program that looks interesting. http://code.google.com/p/port-mirroring.

So it is possible but not a simple as it should be.
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

Post Reply