Skip to content

How to use this switch model #105

Description

@shaharhoch

Hi,
I want to use this switch model as an actual switch in a network.

I have a network set-up of 3 computers A,B and C where B and C are connected to A and I want to run the switch on A and allow communication between B and C.
Computer A runs a Linux OS.

have compiled and ran the code as instructed in the Readme. The code seems to run just fine with no problems.
The problem is I don't seem to be able to make it an actual switch that transfers packets between computer B and C.

I assumed that in order to do that, I need to edit /bmv2/run_bm.sh and change the interfaces there fro m veth0, veth1, etc... to my actual physical interfaces.
The problem is that when I do that and don't run the script tools/veth_setup.sh to create the interfaces needed for the tests, the script /bmv2/run_drivers.sh fails to run.

Can anyone explain to me how to run this as a switch on actual physical interfaces on a computer and not just run the tests? Is there anywhere with a more comprehensive explanation than the readme?

Thanks in advance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions