wiki:HowTo/ConfigureOVSWithLayer3Routing/outputs

Version 3 (modified by zwang@bbn.com, 5 years ago) (diff)

--

OVSbr1

OFPT_FEATURES_REPLY (xid=0x1): dpid:0000f6c4ad6dba48
n_tables:255, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE
 1(eth1): addr:02:04:fe:03:01:75
     config:     0
     state:      0
     speed: 100 Mbps now, 100 Mbps max
 LOCAL(OVSbr1): addr:f6:c4:ad:6d:ba:48
     config:     PORT_DOWN
     state:      LINK_DOWN
     speed: 100 Mbps now, 100 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x3): frags=normal miss_send_len=0

OVSbr2

OFPT_FEATURES_REPLY (xid=0x1): dpid:00003245def11342
n_tables:255, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE
 1(eth2): addr:02:22:a6:07:29:bc
     config:     0
     state:      0
     speed: 100 Mbps now, 100 Mbps max
 LOCAL(OVSbr2): addr:32:45:de:f1:13:42
     config:     PORT_DOWN
     state:      LINK_DOWN
     speed: 100 Mbps now, 100 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x3): frags=normal miss_send_len=0

show

725406ec-3e20-46fe-85cf-8d5030bcfa4a
    Bridge "OVSbr1"
        Port "OVSbr1"
            Interface "OVSbr1"
                type: internal
        Port "eth1"
            Interface "eth1"
    Bridge "OVSbr2"
        Port "eth2"
            Interface "eth2"
        Port "OVSbr2"
            Interface "OVSbr2"
                type: internal
    ovs_version: "1.9.3"

route -n

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         172.16.0.1      0.0.0.0         UG    0      0        0 eth0
10.10.10.0      0.0.0.0         255.255.255.0   U     0      0        0 OVSbr1
10.10.11.0      0.0.0.0         255.255.255.0   U     0      0        0 OVSbr2
172.16.0.0      0.0.0.0         255.240.0.0     U     0      0        0 eth0