Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
800 views
in Technique[技术] by (71.8m points)

routes - SDN Faucet multi-subnet routing configuration

I am trying to setup Faucet to manage a set of subnets. Here is the schema: enter image description here Basically I have 2 Linux machines with network interfaces in two subnets running Open vSwitch that should act as routers. The idea would be to have anyone from each subnet should be able to ping anyone in any other subnet.

I am able to route the traffic between A and B quite easily, however whenever I try to create rules that allow to route between B and C I cannot make it work. I think might not work because I placed two DPs on the same subnet but only one is a machine with the IP set as “faucet_vips”. On top of that I would also like to tell to AB that whenever an host from A wants to talk with someone in C it should forward the traffic towards BC

Can someone tell me where I am making a mistake or at least suggest me how to debug this?

Here follows my configuration file:

vlans:
    A:
        vid: 11
        faucet_vips: ["192.168.0.254/24"]  
        faucet_mac: "00:00:00:00:00:11"
    B:
        vid: 12
        faucet_vips: ["192.168.1.1/24"]  
        faucet_mac: "00:00:00:00:00:22"
    C:
        vid: 13
        faucet_vips: ["192.168.2.1/24"]  
        faucet_mac: "00:00:00:00:00:33"

dps:
    br0:
        dp_id: 0x1
        hardware: "Open vSwitch"
        interfaces:
            1:
                name: "vlan11_if"
                native_vlan: A
            2:
                name: "vlan12_left"
                native_vlan: B
    br1:
        dp_id: 0x2
        hardware: "Open vSwitch"
        interfaces:
            1:
                name: "vlan12_right"
                native_vlan: B
            2:
                name: "vlan13_if"
                native_vlan: C

routers:
    router-1:                           
        vlans: [A, B]      
    router-2:                           
        vlans: [B, C]      
question from:https://stackoverflow.com/questions/65903268/sdn-faucet-multi-subnet-routing-configuration

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...