[Click] Ethernet Switch Config and more

Beyers Cronje bcronje at gmail.com
Wed Jul 20 10:04:17 EDT 2005


Hi Jian,

You can definately run Ethernet Switch in User-level and Kernel-level.
I must admit I havent played around with the Suppessor and Spantree
elements. I would suggest start off with a simple config using only
Etherswitch and make sure that works. Build ontop of this basic
config.

Beyers



On 7/20/05, Junhe Jian <Junhe.Jian at hhi.fraunhofer.de> wrote:
> Hi Click Users,
> 
> i have some questions.
> 1. Does the Ethernet Switch Elements as Bridge(STP)(without IP) working
> in User-Level or only in Kernel-Level?
> 2. Did anybody here have some Example Config of Ethernet Switch with
> Element Suppressor EtherSwitch ans EtherSpanTree?
> I want use Click Router with the Ethernet Switch Config like in Manual
> working as a Bridge or should be working as a Bridge.
> 
> scenario:
> linux1(eth0) <-> (eth2)click_bridge(eth1) <-> (eth0)linux2
> I tried to write a own Config and tested using User-Level, see below:
> ////////////////////////////////////////////////////////////////////
> sw  :: EtherSwitch;
> insup :: Suppressor;
> outsup:: Suppressor;
> 
> FromDevice(eth1) -> c0 :: Classifier(14/4242, 17/000000, -);
> FromDevice(eth2) -> c1 :: Classifier(14/4242, 17/000000, -);
> 
> outq1 :: Queue(10000) -> ToDevice(eth2);
> outq2 :: Queue(10000) -> ToDevice(eth1);
> 
> c0[2] -> [0]insup[0] -> [0]sw[0] -> [0]outsup[0] -> outq1;
> c1[2] -> [1]insup[1] -> [1]sw[1] -> [1]outsup[1] -> outq2;
> 
> st :: EtherSpanTree(00:30:4F:34:01:02, insup, outsup, sw);
> c0[0] -> [0]st[0] -> outq1;
> c1[0] -> [1]st[1] -> outq2;
> 
> c0[1] -> Discard;
> c1[1] -> Discard;
> ///////////////////////////////////////////////////////////////////////
> and the log message:
> *********************************************
> Setting send_tc_msg: BLOCK -> FORWARD on 0
> Changing port 0 from 0 to 1
> Setting send_tc_msg: BLOCK -> FORWARD on 1
> Changing port 1 from 0 to 1
> Changing port 0 from 1 to 2
> Changing port 1 from 1 to 2
> Changing port 0 from 2 to 3
> Changing port 1 from 2 to 3
> **********************************************
> What that all mean? and why changed it port 6 times???
> And i can't ping linux2 from linux 1 or reverse. cause i use Click as
> brigde?
> Or give other Methods to test it?
> 
> Can anybody tell me where i wrong?
> 
> Best Regards
> Jian
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>



More information about the click mailing list