Bananian

Create a switch and bridge ports on BPI-R1

26 17490
multi  
Hi,
I am trying about the same thing.
First I deleted configuration in /etc/network/if-pre-up.d/swconfig. And routing thought RPI don't fork. I confirm that IPTABLES is OK and
/proc/sys/net/ipv4/ip_forward is 1  (persisted configure is in /etc/sysctl.conf net.ipv4.ip_forward=1)
I don't understand where is true problem.
But I found clearer solution.
Here is my configuration for swconfig: All ports is in one vlan:
swconfig dev eth0 set reset 1
swconfig dev eth0 set enable_vlan 1
swconfig dev eth0 vlan 100 set ports '4 0 1 2 3 8t'


Humbala  
Hi Imsilva, in your setup are you able to sniff the traffic on any port?
Or are you limited to sniffing traffic from the WAN port and all ports on the switch?

What I would like to achieve is that I can sniff traffic per port (regardless of WAN or any switch port). It would even be nice to sniff traffic on port 1 with snort, traffic on port 2 with suricata, port 3 tcpdump etc... would this be possible?

schasch  
Hi,
anyone still got it to work?
I want to setup R1 as a simple WLANclients-4portETHclients-Accesspoint.
can anyone post the:
interface
swconfig
iptables
and declaration in wic port the esternal network is plugged?
regards

multi  
Hi, about sniffing:
I don ' t tried it, but I thing, you can sniff only what go into the CPU A20. L2 switching is executed on Ethernet switch chip - Linux kernel don't see this traffic.
It is only my opinion, i am not a expert.

sorry for my English
Best regard

multi  
Edited by multi at Sun May 3, 2015 09:00


schasch:
could you post a interfaces,swconfig,iptables-info ?
  1. swconfig dev eth0 vlan 100 set ports '4 0 1 2 3 8t'
Copy the Code
  1. cat /proc/sys/net/ipv4/ip_forward
Copy the Code
= 1
  1. iptables -P FORWARD ACCEPT
Copy the Code
My article in czech, it base on my experience:
http://www.root.cz/clanky/banana ... a-ethernet-switche/

HiveMe  
lmsilva replied at Tue Feb 3, 2015 02:57
Ok, I think I finally got it to work! ))

Here's how I ended up configuring everything:Here's what ...

Even though your post has pass through a long time ,but i really think i should thanks for it.
You have really do a great favor to me!  thank you very much buddy!

lmsilva  
Sorry I haven't been paying attention to this post guys...

Yes, by configuring the nic in "switch mode", I was able to sniff all traffic going through any port )

ugg outlet
nike shoes
ugg boots
pandora jewelry official site
replica watches
nike outlet
longchamp outlet online
air max 2018
ralph lauren outlet
longchamp handbags
tory burch outlet store
pandora charms uk
adidas nmd
canada goose jackets
asics shoes
coach outlet
longchamp outlet
cheap ray bans
timberland boots outlet
longchamp handbags
louboutin shoes
ray ban sunglasses
birkenstock shoes
ecco shoes
reebok shoes
oakley sunglasses
ugg boots canada
coach outlet online
pandora charms sale clearance
canada goose outlet
ugg boots
louis vuitton outlet online
pandora jewelry
canada goose jackets
adidas yeezy boost
ralph lauren outlet
michael kors handbags
michael kors canada
pandora charms
coach factorty outlet
pandora charms sale
birkenstock sandals
moncler jackets outlet
adidas nmd
burberry outlet canada
coach outlet
coach outlet store online
jordan shoes
adidas superstar
cheap uggs
yeezy boost
yeezy boost
ugg boots
nike outlet
new balance shoes
kate spade outlet
canada goose uk
pandora charms
mbt
adidas yeezy
canada goose uk
michael kors canada
canada goose outlet
coach factory outlet
jordan retro
birkenstock sandals
coach outlet online
birkenstock shoes
hermes handbags
puma shoes
kate spade
red bottoms shoes
new balance outlet
moncler jackets
coach outlet store
converse shoes
fitflops
michael kors outlet clearance
coach outlet store
canada goose outlet
adidas nmd
coach canada
kate spade handbag
ralph lauren outlet online
coach outlet
gucci outlet
vans store
christian louboutin outlet
coach factorty outlet
ugg boots
pandora outlet
air max 2018
jordan shoes
louis vuitton outlet store
salvatore ferragamo shoes
ralph lauren outlet
michael kors outlet clearance
ugg outlet
adidas shoes
pandora charms
polo outlet
moncler outlet
nike shoes for men
canada goose
canada goose outlet
coach factory outlet
oakley sunglasses
canada goose outlet
ralph lauren uk
longchamp uk
canada goose outlet
moncler outlet
oakley sunglasses
ray ban sunglasses
adidas
cheap mlb jerseys
uggs canada
moncler jackets
180309yueqin

barcelona jersey
prada
nfl jerseys
cheap jerseys
abercrombie outlet
beats pills
supreme new york
nike shoes
kate spade outlet
jordan 8
mishka clothing
celine
new balance
kevin durant shoes
nfl jerseys
breguet watches
supreme
chanel handbags
jordan for kids
juicy couture outlet
michael kors
armani handbags
red bottom shoes
curry 5
adidas jeremy scott
ray bans
wedding shoes
michael kors handbags
oakley sunglasses
babyliss pro nano titanium
nfl jerseys
designer sunglasses
adidas shoes
undefeated clothing
adidas nmd
michael kors outlet
carrera sunglasses
coach outlet
jordan 3
longchamp outlet
wholesale snapback hats
coach factory outlet
new balance sandals
tod's shoes
curry 4
ray ban
under armour outlet
giuseppe zanotti
jordan 31
coach outlet store online
malone souliers
converse outlet
harden vol 2
pandora jewelry
polo ralph
cheap jordans
cheap nhl jerseys
cheap nfl jerseys
hermes uk
timberland
michael kors outlet
nike air max
chrome hearts jewelry
longchamp
ray ban sunglasses
calvin klein outlet
jordan 10
fitflops sale
dsquared2 outlet
gucci handbags
ralph lauren outlet
adidas nmd
polo ralph lauren
nike presto
mac cosmetics
light up shoes
manolo blahnik
mulberry
nike lunarglide
mbt
nike revolution
kobe 11
air foamposite
pandora jewelry
calvin klein jeans
burberry clothing
columbia sportswear
true religion
fingerlings monkey
michael kors
jordan 3
nike air max 90
nike outlet
nike air force 1
coach outlet
hermes outlet
ray ban sunglasses
cartier sunglasses
jordan 32
oakley sunglasses
20185.30wengdongdong

You have to log in before you can reply Login | Sign Up

Points Rules