Can I specify a path in full layer 2 network

17 views
Skip to first unread message

MourKa

unread,
Jan 16, 2017, 9:05:21 AM1/16/17
to omn...@googlegroups.com
I have this situation where I have only layer 2 network, hosts and switches.  I have one host is sending through multiple switches to more than one host so I want to control the path to each host.

dst = 'RCV2' towards = 'S1-S2'
or
dst = 'RCV2' through = 'S1-S3-S2'

Any idea would be appreciated.
1.png
Message has been deleted
Message has been deleted
Message has been deleted

MourKa

unread,
Jan 18, 2017, 7:36:12 AM1/18/17
to omn...@googlegroups.com
One solution for the problem is by configuring the mac table of the whole network manually.

I confirm that reading the file is working using
**.Switch1.macTable.addressTableFile = "Switch1.txt"

Some notes I noticed will put it here if anyone encountered that later,
  • For the file
    • tabs or spaces between each
    • the mac can be written with colons or without or with any other marks except spaces as spaces or tabs should only be between vlan, macs and port number
                        0     69:ff:ff:ff:77:23       1
                        0     21ffeed17764    2
                        0     34bcdeff77a0    3
  • The default Vlanid is 0 for all so if it is not 0 matching won't take place and again the table will be filled automatically
Only one question is left is how to control the vlan? I couldn't find or understand from the code how it can be edited for each host?
Reply all
Reply to author
Forward
0 new messages