Asking about SEBA with Fabric switch

19 views
Skip to first unread message

Tri Trinh

unread,
Nov 17, 2020, 4:27:02 AM11/17/20
to CORD Discuss
Hello!

I have followed the link and finished installing SEBA with Fabric switch. My rg0-0 is able to get an ip address from dhcp. But, I cannot ping from rg0-0 to the Internet, or even to 172.18.0.10 which is the dhcp server's ip address.

When ping from rg0-0, and tcpdump on the interface inside bridge (brctl) nni0, I cannot see any icmp packet forward to it. So, I think there is lack of vOLT rule to forward packet from ONU to OLT. The following is the forwarding entries in my system. 

It is very appreciate to get help of making my rg0-0 to ping to the Internet

Thank you very much
Tri

onos@root > sr-xconnect                                                                                                
XconnectDesc{key=XconnectKey{deviceId=of:000000e0ed36e1e7, vlanId=222}, endpoints=[2, 3]}

root@rg0-0-69cdbf6b58-wtdlt:/# ifconfig
eth0      Link encap:Ethernet  HWaddr 06:11:da:00:68:ed
          inet addr:172.18.0.55  Bcast:172.18.0.255  Mask:255.255.255.0

onos@root > flows -s any of:0000d0d3e158fede                                                                                                        09:21:29
deviceId=of:0000d0d3e158fede, flowRuleCount=8
    ADDED, bytes=0, packets=0, table=0, priority=10000, selector=[IN_PORT:2, ETH_TYPE:ipv4, IP_PROTO:17, UDP_SRC:67, UDP_DST:68], treatment=[immediate=[OUTPUT:CONTROLLER]]
    ADDED, bytes=0, packets=0, table=0, priority=10000, selector=[IN_PORT:128, ETH_TYPE:ipv4, IP_PROTO:17, UDP_SRC:68, UDP_DST:67], treatment=[immediate=[OUTPUT:CONTROLLER], meter=METER:2, metadata=METADATA:4000000000/0]
    ADDED, bytes=0, packets=0, table=0, priority=10000, selector=[IN_PORT:128, ETH_TYPE:eapol, VLAN_VID:111], treatment=[immediate=[OUTPUT:CONTROLLER], meter=METER:2, metadata=METADATA:6f004000000000/0]
    ADDED, bytes=0, packets=0, table=0, priority=10000, selector=[IN_PORT:2, ETH_TYPE:lldp], treatment=[immediate=[OUTPUT:CONTROLLER]]
    ADDED, bytes=0, packets=0, table=0, priority=1000, selector=[IN_PORT:2, METADATA:6f, VLAN_VID:222], treatment=[immediate=[VLAN_POP], transition=TABLE:1, meter=METER:2, metadata=METADATA:6f004000000080/0]
    ADDED, bytes=0, packets=0, table=0, priority=1000, selector=[IN_PORT:128, VLAN_VID:0], treatment=[immediate=[VLAN_ID:111], transition=TABLE:1, meter=METER:2, metadata=METADATA:de004000000002/0]
    ADDED, bytes=0, packets=0, table=1, priority=1000, selector=[IN_PORT:128, VLAN_VID:111], treatment=[immediate=[VLAN_PUSH:vlan, VLAN_ID:222, OUTPUT:2], meter=METER:2, metadata=METADATA:4000000000/0]
    ADDED, bytes=0, packets=0, table=1, priority=1000, selector=[IN_PORT:2, METADATA:80, VLAN_VID:111], treatment=[immediate=[VLAN_ID:0, OUTPUT:128], meter=METER:2, metadata=METADATA:4000000000/0]

onos@root > flows -s any of:000000e0ed36e1e7                                                                                                        09:22:36
deviceId=of:000000e0ed36e1e7, flowRuleCount=69
    ADDED, bytes=0, packets=0, table=0, priority=40000, selector=[ETH_TYPE:lldp], treatment=[immediate=[OUTPUT:CONTROLLER], clearDeferred]
    ADDED, bytes=251640, packets=1864, table=0, priority=40000, selector=[ETH_TYPE:bddp], treatment=[immediate=[OUTPUT:CONTROLLER], clearDeferred]
    ADDED, bytes=0, packets=0, table=0, priority=40000, selector=[ETH_TYPE:eapol], treatment=[immediate=[OUTPUT:CONTROLLER], clearDeferred]
    ADDED, bytes=0, packets=0, table=0, priority=30000, selector=[ETH_TYPE:arp], treatment=[immediate=[OUTPUT:CONTROLLER]]
    ADDED, bytes=539210, packets=1099, table=0, priority=0, selector=[], treatment=[transition=TABLE:10]
    ADDED, bytes=648, packets=8, table=10, priority=32768, selector=[IN_PORT:2, VLAN_VID:None], treatment=[immediate=[VLAN_PUSH:vlan, VLAN_ID:4094], transition=TABLE:20]
    ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:3, VLAN_VID:None], treatment=[immediate=[VLAN_PUSH:vlan, VLAN_ID:4094], transition=TABLE:20]
    ADDED, bytes=354, packets=4, table=10, priority=32768, selector=[IN_PORT:LOCAL, VLAN_VID:None], treatment=[immediate=[VLAN_PUSH:vlan, VLAN_ID:4094], transition=TABLE:20]
    ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:4, VLAN_VID:4090], treatment=[transition=TABLE:20]
    ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:2, VLAN_VID:4090], treatment=[transition=TABLE:20]
    ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:3, VLAN_VID:4090], treatment=[transition=TABLE:20]
    ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:LOCAL, VLAN_VID:4090], treatment=[transition=TABLE:20]
    ADDED, bytes=479290, packets=867, table=10, priority=32768, selector=[IN_PORT:4, VLAN_VID:None], treatment=[immediate=[VLAN_PUSH:vlan, VLAN_ID:4094], transition=TABLE:20]
    ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:2, VLAN_VID:222], treatment=[transition=TABLE:20]
    ADDED, bytes=2415, packets=13, table=10, priority=32768, selector=[IN_PORT:3, VLAN_VID:222], treatment=[transition=TABLE:20]
    ADDED, bytes=44770, packets=155, table=10, priority=0, selector=[], treatment=[transition=TABLE:60]
    ADDED, bytes=0, packets=0, table=11, priority=0, selector=[], treatment=[transition=TABLE:60]
    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:4, ETH_DST:00:00:02:01:06:01, ETH_TYPE:mpls_unicast, VLAN_VID:4094], treatment=[transition=TABLE:23]
    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:3, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv6, VLAN_VID:4094], treatment=[transition=TABLE:30]
    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:3, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv6, VLAN_VID:4090], treatment=[transition=TABLE:30]
    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:2, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv6, VLAN_VID:4094], treatment=[transition=TABLE:30]
    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:2, ETH_DST:00:00:02:01:06:01, ETH_TYPE:mpls_unicast, VLAN_VID:4094], treatment=[transition=TABLE:23]
    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:2, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv6, VLAN_VID:4090], treatment=[transition=TABLE:30]
    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:2, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv4, VLAN_VID:4090], treatment=[transition=TABLE:30]
    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:4, ETH_DST:00:00:02:01:06:01, ETH_TYPE:mpls_unicast, VLAN_VID:4090], treatment=[transition=TABLE:23]
    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:4, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv4, VLAN_VID:4094], treatment=[transition=TABLE:30]
    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:LOCAL, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv6, VLAN_VID:4090], treatment=[transition=TABLE:30]
    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:2, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv4, VLAN_VID:4094], treatment=[transition=TABLE:30]
    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:3, ETH_DST:00:00:02:01:06:01, ETH_TYPE:mpls_unicast, VLAN_VID:4094], treatment=[transition=TABLE:23]
    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:LOCAL, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv4, VLAN_VID:4090], treatment=[transition=TABLE:30]
    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:3, ETH_DST:00:00:02:01:06:01, ETH_TYPE:mpls_unicast, VLAN_VID:4090], treatment=[transition=TABLE:23]
    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:4, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv6, VLAN_VID:4094], treatment=[transition=TABLE:30]
    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:3, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv4, VLAN_VID:4090], treatment=[transition=TABLE:30]
    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:LOCAL, ETH_DST:00:00:02:01:06:01, ETH_TYPE:mpls_unicast, VLAN_VID:4094], treatment=[transition=TABLE:23]
    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:LOCAL, ETH_DST:00:00:02:01:06:01, ETH_TYPE:mpls_unicast, VLAN_VID:4090], treatment=[transition=TABLE:23]
    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:LOCAL, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv6, VLAN_VID:4094], treatment=[transition=TABLE:30]
    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:2, ETH_DST:00:00:02:01:06:01, ETH_TYPE:mpls_unicast, VLAN_VID:4090], treatment=[transition=TABLE:23]
    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:LOCAL, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv4, VLAN_VID:4094], treatment=[transition=TABLE:30]
    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:4, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv6, VLAN_VID:4090], treatment=[transition=TABLE:30]
    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:4, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv4, VLAN_VID:4090], treatment=[transition=TABLE:30]
    ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:3, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv4, VLAN_VID:4094], treatment=[transition=TABLE:30]
    ADDED, bytes=494440, packets=944, table=20, priority=0, selector=[], treatment=[transition=TABLE:50]
    ADDED, bytes=0, packets=0, table=23, priority=0, selector=[], treatment=[transition=TABLE:24]
    ADDED, bytes=0, packets=0, table=24, priority=0, selector=[], treatment=[transition=TABLE:60]
    ADDED, bytes=0, packets=0, table=30, priority=0, selector=[], treatment=[transition=TABLE:60]
    ADDED, bytes=0, packets=0, table=31, priority=0, selector=[], treatment=[transition=TABLE:60]
    ADDED, bytes=0, packets=0, table=32, priority=0, selector=[], treatment=[transition=TABLE:60]
    ADDED, bytes=0, packets=0, table=40, priority=0, selector=[], treatment=[transition=TABLE:60]
    ADDED, bytes=2415, packets=13, table=50, priority=1000, selector=[VLAN_VID:222], treatment=[deferred=[GROUP:0x40de0000], transition=TABLE:60]
    ADDED, bytes=480292, packets=879, table=50, priority=0, selector=[], treatment=[transition=TABLE:60]
    ADDED, bytes=0, packets=0, table=60, priority=61000, selector=[IN_PORT:3, ETH_TYPE:ipv4, IP_PROTO:17, UDP_SRC:67], treatment=[clearDeferred, transition=TABLE:63]
    ADDED, bytes=0, packets=0, table=60, priority=61000, selector=[IN_PORT:4, ETH_TYPE:ipv4, IP_PROTO:17, UDP_SRC:67], treatment=[clearDeferred, transition=TABLE:63]
    ADDED, bytes=2567, packets=15, table=60, priority=60000, selector=[VLAN_VID:222], treatment=[immediate=[NOACTION]]
    ADDED, bytes=0, packets=0, table=60, priority=40000, selector=[ETH_TYPE:ipv4, IPV4_DST:192.168.0.201/32], treatment=[clearDeferred, transition=TABLE:63]
    ADDED, bytes=0, packets=0, table=60, priority=30000, selector=[ETH_TYPE:arp], treatment=[transition=TABLE:63]
    ADDED, bytes=480520, packets=882, table=60, priority=0, selector=[], treatment=[immediate=[NOACTION]]
    ADDED, bytes=0, packets=0, table=63, priority=65535, selector=[ETH_TYPE:lldp], treatment=[immediate=[OUTPUT:CONTROLLER]]
    ADDED, bytes=0, packets=0, table=63, priority=65535, selector=[ETH_TYPE:bddp], treatment=[immediate=[OUTPUT:CONTROLLER]]
    ADDED, bytes=0, packets=0, table=63, priority=40000, selector=[IN_PORT:2, VLAN_VID:222], treatment=[immediate=[OUTPUT:CONTROLLER]]
    ADDED, bytes=0, packets=0, table=63, priority=40000, selector=[IN_PORT:2, VLAN_VID:4094], treatment=[immediate=[GROUP:0xd0000000]]
    ADDED, bytes=0, packets=0, table=63, priority=40000, selector=[IN_PORT:4, VLAN_VID:4090], treatment=[immediate=[OUTPUT:CONTROLLER]]
    ADDED, bytes=0, packets=0, table=63, priority=40000, selector=[IN_PORT:LOCAL, VLAN_VID:4090], treatment=[immediate=[OUTPUT:CONTROLLER]]
    ADDED, bytes=0, packets=0, table=63, priority=40000, selector=[IN_PORT:2, VLAN_VID:4090], treatment=[immediate=[OUTPUT:CONTROLLER]]
    ADDED, bytes=0, packets=0, table=63, priority=40000, selector=[IN_PORT:3, VLAN_VID:4094], treatment=[immediate=[GROUP:0xd0000000]]
    ADDED, bytes=0, packets=0, table=63, priority=40000, selector=[IN_PORT:4, VLAN_VID:4094], treatment=[immediate=[GROUP:0xd0000000]]
    ADDED, bytes=0, packets=0, table=63, priority=40000, selector=[IN_PORT:3, VLAN_VID:4090], treatment=[immediate=[OUTPUT:CONTROLLER]]
    ADDED, bytes=0, packets=0, table=63, priority=40000, selector=[IN_PORT:LOCAL, VLAN_VID:4094], treatment=[immediate=[GROUP:0xd0000000]]
    ADDED, bytes=0, packets=0, table=63, priority=40000, selector=[IN_PORT:3, VLAN_VID:222], treatment=[immediate=[OUTPUT:CONTROLLER]]
    ADDED, bytes=0, packets=0, table=63, priority=0, selector=[], treatment=[immediate=[OUTPUT:CONTROLLER]]
onos@root >


Reply all
Reply to author
Forward
0 new messages