I have SEBA in a box up. I would like to bring up the setup with fabric and PON SIM Olt.
Where is BNG/DHCP server configured?
Please point me to any reference documents
Thanks,
Durga
--
You received this message because you are subscribed to the Google Groups "CORD Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cord-discuss...@opencord.org.
To post to this group, send email to cord-d...@opencord.org.
Visit this group at https://groups.google.com/a/opencord.org/group/cord-discuss/.
To view this discussion on the web visit https://groups.google.com/a/opencord.org/d/msgid/cord-discuss/263cc8c9-f50b-4412-b481-3b639f2aea99%40opencord.org.
For more options, visit https://groups.google.com/a/opencord.org/d/optout.
Adding a slight variation w.r.t PONSIM, the DHCP Requests are not tapped by the OLT. They are send directly over the VLAN-X-Connect to the BNG port. There is a jira ticket (https://jira.opencord.org/browse/SEBA-269) to track this issue and make the behavior the same as with a real-OLT as Luca mentioned below.
Following the procedure at https://docs.google.com/document/d/1SZJUeenAXdI7cVMR4_YGO8l7pDQWbnSxVPB67vaLfP4/edit#heading=h.eowsdyxqokw7 should make it work.
If you are not changing the C/S vlan’s predefined in the charts then below commands should setup up the Q-n-Q interface on your DHCP server (BNG) and then enable DHCP over the Q-n-Q interface. ( I updated the document with this info)
sudo ip link add link ens1d1 name ens1d1.222 type vlan id 222
sudo ip link set ens1d1.222 up
sudo ip link add link ens1d1.222 name ens1d1.222.111 type vlan id 111
sudo ip link set ens1d1.222.111 up
sudo ip addr add 172.18.0.10/24 dev ens1d1.222.111
/Sreeju
To view this discussion on the web visit https://groups.google.com/a/opencord.org/d/msgid/cord-discuss/CAM_veOdwdVU0z3pyHYiPQGhoZAzf4R_Lke-ukD5LoZ_STtwdjQ%40mail.gmail.com.
Tried this command too
sr-xconnect-add of:000000182330d7fa 222 17 1
1.Packet capture from k8-Node running PONSIM-OLT (interface connected to Fabric on server)
seba@ubuntu:~$ brctl show
bridge name bridge id STP enabled interfaces
docker0 8000.02429550328b no
pon0 8000.7e044161b8f0 no veth1753c3e9
vethdb61d4d5
pon1 8000.0a580a170001 no ens192
veth8f36d9a0
seba@ubuntu:~$ sudo tcpdump -i ens192 -nn -e vlan
14:19:52.937267 0a:58:0a:16:00:02 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 350: vlan 222, p 0, ethertype 802.1Q, vlan 111, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 0a:58:0a:16:00:02, length 300
14:19:59.332278 0a:58:0a:16:00:02 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 350: vlan 222, p 0, ethertype 802.1Q, vlan 111, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 0a:58:0a:16:00:02, length 300
14:20:06.931158 0a:58:0a:16:00:02 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 350: vlan 222, p 0, ethertype 802.1Q, vlan 111, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 0a:58:0a:16:00:02, length 300
14:20:20.622861 0a:58:0a:16:00:02 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 350: vlan 222, p 0, ethertype 802.1Q, vlan 111, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 0a:58:0a:16:00:02, length 300
14:20:26.039479 0a:58:0a:16:00:02 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 350: vlan 222, p 0, ethertype 802.1Q, vlan 111, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 0a:58:0a:16:00:02, length 300
14:20:37.005182 0a:58:0a:16:00:02 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 350: vlan 222, p 0, ethertype 802.1Q, vlan 111, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 0a:58:0a:16:00:02, length 300
seba@ubuntu:~$ sudo tcpdump -i veth8f36d9a0 -nn -e vlan
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on veth8f36d9a0, link-type EN10MB (Ethernet), capture size 262144 bytes
14:23:18.613846 0a:58:0a:16:00:02 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 350: vlan 222, p 0, ethertype 802.1Q, vlan 111, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 0a:58:0a:16:00:02, length 300
14:23:19.505542 0a:58:0a:16:00:02 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 350: vlan 222, p 0, ethertype 802.1Q, vlan 111, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 0a:58:0a:16:00:02, length 300
14:23:26.939948 0a:58:0a:16:00:02 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 350: vlan 222, p 0, ethertype 802.1Q, vlan 111, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 0a:58:0a:16:00:02, length 300
14:23:30.856168 0a:58:0a:16:00:02 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 350: vlan 222, p 0, ethertype 802.1Q, vlan 111, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 0a:58:0a:16:00:02, length 300
seba@ubuntu:~$ sudo tcpdump -i vethdb61d4d5 -nn -e vlan
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vethdb61d4d5, link-type EN10MB (Ethernet), capture size 262144 bytes
14:24:22.138539 02:eb:9f:67:c9:42 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 99: vlan 0, p 0, ethertype 0x8942,
0x0000: 0207 04aa bbcc ddee ff04 0502 0000 0080 ................
0x0010: 0602 0078 fe12 a423 0501 4f4e 4f53 2044 ...x...#..ONOS.D
0x0020: 6973 636f 7665 7279 fe17 a423 0502 6f66 iscovery...#..of
0x0030: 3a30 3030 3061 6162 6263 6364 6465 6566 :0000aabbccddeef
0x0040: 6608 0c50 534d 4f31 3233 3435 3637 3800 f..PSMO12345678.
0x0050: 00 .
14:24:25.227095 02:eb:9f:67:c9:42 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 99: vlan 0, p 0, ethertype 0x8942,
0x0000: 0207 04aa bbcc ddee ff04 0502 0000 0080 ................
0x0010: 0602 0078 fe12 a423 0501 4f4e 4f53 2044 ...x...#..ONOS.D
0x0020: 6973 636f 7665 7279 fe17 a423 0502 6f66 iscovery...#..of
0x0030: 3a30 3030 3061 6162 6263 6364 6465 6566 :0000aabbccddeef
0x0040: 6608 0c50 534d 4f31 3233 3435 3637 3800 f..PSMO12345678.
0x0050: 00 .
seba@ubuntu:~$ sudo tcpdump -i veth1753c3e9 -nn -e vlan
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on veth1753c3e9, link-type EN10MB (Ethernet), capture size 262144 bytes
14:25:45.793833 02:eb:9f:67:c9:42 > 01:80:c2:00:00:0e, ethertype 802.1Q (0x8100), length 99: vlan 0, p 0, ethertype LLDP, LLDP, length 81
14:25:45.809959 02:eb:9f:67:c9:42 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 99: vlan 0, p 0, ethertype 0x8942,
0x0000: 0207 04aa bbcc ddee ff04 0502 0000 0080 ................
0x0010: 0602 0078 fe12 a423 0501 4f4e 4f53 2044 ...x...#..ONOS.D
0x0020: 6973 636f 7665 7279 fe17 a423 0502 6f66 iscovery...#..of
0x0030: 3a30 3030 3061 6162 6263 6364 6465 6566 :0000aabbccddeef
0x0040: 6608 0c50 534d 4f31 3233 3435 3637 3800 f..PSMO12345678.
0x0050: 00 .
14:25:48.907251 02:eb:9f:67:c9:42 > 01:80:c2:00:00:0e, ethertype 802.1Q (0x8100), length 99: vlan 0, p 0, ethertype LLDP, LLDP, length 81
14:25:48.923985 02:eb:9f:67:c9:42 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 99: vlan 0, p 0, ethertype 0x8942,
0x0000: 0207 04aa bbcc ddee ff04 0502 0000 0080 ................
0x0010: 0602 0078 fe12 a423 0501 4f4e 4f53 2044 ...x...#..ONOS.D
0x0020: 6973 636f 7665 7279 fe17 a423 0502 6f66 iscovery...#..of
0x0030: 3a30 3030 3061 6162 6263 6364 6465 6566 :0000aabbccddeef
0x0040: 6608 0c50 534d 4f31 3233 3435 3637 3800 f..PSMO12345678.
0x0050: 00 .
2. Packet capture on BNG interface
sebadhcp@ubuntu:~$ sudo tcpdump -i ens192 -nn -e vlan
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ens192, link-type EN10MB (Ethernet), capture size 262144 bytes
oot@rg-5bf974486-24cgj:/usr/sbin# ./dhclient eth0
^C
root@rg-5bf974486-24cgj:/usr/sbin# ./dhclient eth0 -v
Internet Systems Consortium DHCP Client 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/0a:58:0a:16:00:02
Sending on LPF/eth0/0a:58:0a:16:00:02
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 (xid=0x249e397e)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 (xid=0x249e397e)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 (xid=0x249e397e)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 (xid=0x249e397e)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 (xid=0x249e397e)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12 (xid=0x249e397e)
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16 (xid=0x249e397e)
ens192 Link encap:Ethernet HWaddr 00:0c:29:bd:fc:42
inet6 addr: fe80::20c:29ff:febd:fc42/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3856 errors:0 dropped:3502 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:335454 (335.4 KB) TX bytes:1976 (1.9 KB)
ens192.222 Link encap:Ethernet HWaddr 00:0c:29:bd:fc:42
inet6 addr: fe80::20c:29ff:febd:fc42/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:1328 (1.3 KB)
ens192.222.111 Link encap:Ethernet HWaddr 00:0c:29:bd:fc:42
inet addr:172.18.0.10 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:febd:fc42/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:648 (648.0 B)
seba@ubuntu:~$ ip route
default via 10.153.188.254 dev ens160 onlink
10.23.0.0/16 dev pon1 proto kernel scope link src 10.23.0.1
10.153.188.0/24 dev ens160 proto kernel scope link src 10.153.188.197
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
blackhole 192.168.243.192/26 proto bird
192.168.243.193 dev cali6f1298a2b69 scope link
192.168.243.194 dev cali4569b2cf12e scope link
192.168.243.195 dev cali99684127aca scope link
192.168.243.196 dev calibb1132b33bc scope link
192.168.243.197 dev cali754ac093510 scope link
192.168.243.198 dev cali65d1e41e222 scope link
192.168.243.199 dev cali86226b69002 scope link
192.168.243.200 dev calied0938bd8ac scope link
192.168.243.201 dev cali2565aeebcfb scope link
192.168.243.202 dev calibfa1bf26fe7 scope link
192.168.243.203 dev cali912300a2ba9 scope link
192.168.243.204 dev cali8c9fb63ea5b scope link
192.168.243.205 dev cali5a46da4eea2 scope link
192.168.243.206 dev califad695e60f2 scope link
192.168.243.207 dev calic11e3a096de scope link
192.168.243.208 dev cali4bfbf188d6c scope link
192.168.243.209 dev cali959e13e6071 scope link
192.168.243.210 dev cali60a5e888a60 scope link
192.168.243.211 dev calia6e47a46fe7 scope link
192.168.243.212 dev calic5041eea11c scope link
192.168.243.213 dev calif74f1456239 scope link
192.168.243.214 dev cali750e7413f34 scope link
192.168.243.215 dev cali2ab5560572c scope link
192.168.243.216 dev calic95561ac468 scope link
192.168.243.217 dev cali21878ab8cea scope link
192.168.243.218 dev cali34a80d9624a scope link
192.168.243.219 dev calic6044886de4 scope link
192.168.243.220 dev cali89406feeacc scope link
192.168.243.221 dev cali81e8347f2af scope link
192.168.243.222 dev cali0acdb4d0232 scope link
192.168.243.223 dev calic63eee14f06 scope link
192.168.243.225 dev cali6e8fef62859 scope link
192.168.243.226 dev calif8f80af8e54 scope link
seba@ubuntu:~$
root@localhost:/usr/bin/ofdpa# ./client_flowtable_dump
Table ID 10 (VLAN): Retrieving all entries. Max entries = 16384, Current entries = 20.
-- inPort = 1 (Physical) vlanId:mask = 0x0000:0x1fff (VLAN 0) | GoTo = 20 (Termination MAC) newVlanId = 0x1ffe (VLAN 4094) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 693
-- inPort = 1 (Physical) vlanId:mask = 0x10de:0x1fff (VLAN 222) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 33
-- inPort = 1 (Physical) vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 715
-- inPort = 1 (Physical) vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 687
-- inPort = 17 (Physical) vlanId:mask = 0x0000:0x1fff (VLAN 0) | GoTo = 20 (Termination MAC) newVlanId = 0x1ffe (VLAN 4094) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 695
-- inPort = 17 (Physical) vlanId:mask = 0x10de:0x1fff (VLAN 222) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 42
-- inPort = 17 (Physical) vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 719
-- inPort = 17 (Physical) vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 689
-- inPort = 33 (Physical) vlanId:mask = 0x0000:0x1fff (VLAN 0) | GoTo = 20 (Termination MAC) newVlanId = 0x1ffe (VLAN 4094) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 697
-- inPort = 33 (Physical) vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 722
-- inPort = 33 (Physical) vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 691
-- inPort = 34 (Physical) vlanId:mask = 0x0000:0x1fff (VLAN 0) | GoTo = 20 (Termination MAC) newVlanId = 0x1ffe (VLAN 4094) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 696
-- inPort = 34 (Physical) vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 721
-- inPort = 34 (Physical) vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 690
-- inPort = 47 (Physical) vlanId:mask = 0x0000:0x1fff (VLAN 0) | GoTo = 20 (Termination MAC) newVlanId = 0x1ffe (VLAN 4094) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 702
-- inPort = 47 (Physical) vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 723
-- inPort = 47 (Physical) vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 694
-- inPort = 48 (Physical) vlanId:mask = 0x0000:0x1fff (VLAN 0) | GoTo = 20 (Termination MAC) newVlanId = 0x1ffe (VLAN 4094) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 698
-- inPort = 48 (Physical) vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 720
-- inPort = 48 (Physical) vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 20 (Termination MAC) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 692
Table ID 20 (Termination MAC): Retrieving all entries. Max entries = 512, Current entries = 36.
-- inPort:mask = 1:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 699
-- inPort:mask = 1:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 700
-- inPort:mask = 1:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 701
-- inPort:mask = 1:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 672
-- inPort:mask = 1:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 670
-- inPort:mask = 1:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 671
-- inPort:mask = 17:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 703
-- inPort:mask = 17:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 704
-- inPort:mask = 17:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 705
-- inPort:mask = 17:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 675
-- inPort:mask = 17:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 673
-- inPort:mask = 17:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 674
-- inPort:mask = 33:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 710
-- inPort:mask = 33:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 709
-- inPort:mask = 33:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 711
-- inPort:mask = 33:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 681
-- inPort:mask = 33:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 677
-- inPort:mask = 33:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 679
-- inPort:mask = 34:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 706
-- inPort:mask = 34:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 707
-- inPort:mask = 34:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 708
-- inPort:mask = 34:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 680
-- inPort:mask = 34:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 678
-- inPort:mask = 34:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 676
-- inPort:mask = 47:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 716
-- inPort:mask = 47:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 717
-- inPort:mask = 47:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 718
-- inPort:mask = 47:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 684
-- inPort:mask = 47:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 685
-- inPort:mask = 47:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 688
-- inPort:mask = 48:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 713
-- inPort:mask = 48:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 712
-- inPort:mask = 48:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffa:0x1fff (VLAN 4090) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 714
-- inPort:mask = 48:0xffffffff etherType = 0x0800 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 682
-- inPort:mask = 48:0xffffffff etherType = 0x86dd destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 30 (Unicast Routing) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 683
-- inPort:mask = 48:0xffffffff etherType = 0x8847 destMac:mask = 0018.2330.d7fa:ffff.ffff.ffff vlanId:mask = 0x1ffe:0x1fff (VLAN 4094) | GoTo = 23 (MPLS 0) outPort = 0 (Physical) | priority = 32768 hard_time = 0 idle_time = 0 cookie = 686
Table ID 60 (ACL Policy): Retrieving all entries. Max entries = 3072, Current entries = 11.
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x0000:0x0000 vlanId:mask = 0x10de:0x1fff (VLAN 222) | GoTo = 0 (None) outPort = 0 (Physical) | priority = 60000 hard_time = 0 idle_time = 0 cookie = 45
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x0800:0xffff dstIp4 = 192.168.0.201/255.255.255.255 | GoTo = 0 (None) outPort = CONTROLLER (Reserved) clearAction | priority = 40000 hard_time = 0 idle_time = 0 cookie = 11
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x0806:0xffff | GoTo = 0 (None) outPort = CONTROLLER (Reserved) | priority = 30000 hard_time = 0 idle_time = 0 cookie = 34
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x86dd:0xffff srcIp6 = ::/:: dstIp6 = ::/:: IP Protocol = 0x3a ICMP Type = 133 | GoTo = 0 (None) outPort = CONTROLLER (Reserved) | priority = 30000 hard_time = 0 idle_time = 0 cookie = 38
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x86dd:0xffff srcIp6 = ::/:: dstIp6 = ::/:: IP Protocol = 0x3a ICMP Type = 134 | GoTo = 0 (None) outPort = CONTROLLER (Reserved) | priority = 30000 hard_time = 0 idle_time = 0 cookie = 37
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x86dd:0xffff srcIp6 = ::/:: dstIp6 = ::/:: IP Protocol = 0x3a ICMP Type = 135 | GoTo = 0 (None) outPort = CONTROLLER (Reserved) | priority = 30000 hard_time = 0 idle_time = 0 cookie = 35
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x86dd:0xffff srcIp6 = ::/:: dstIp6 = ::/:: IP Protocol = 0x3a ICMP Type = 136 | GoTo = 0 (None) outPort = CONTROLLER (Reserved) | priority = 30000 hard_time = 0 idle_time = 0 cookie = 40
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x86dd:0xffff srcIp6 = ::/:: dstIp6 = fe80::218:23ff:fe30:d7fa/ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff | GoTo = 0 (None) outPort = CONTROLLER (Reserved) clearAction | priority = 40000 hard_time = 0 idle_time = 0 cookie = 12
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x888e:0xffff | GoTo = 0 (None) outPort = CONTROLLER (Reserved) clearAction | priority = 40000 hard_time = 0 idle_time = 0 cookie = 3
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x88cc:0xffff | GoTo = 0 (None) outPort = CONTROLLER (Reserved) clearAction | priority = 40000 hard_time = 0 idle_time = 0 cookie = 10
-- inPort:mask = 0:0x0 srcMac:mask = 0000.0000.0000:0000.0000.0000 destMac:mask = 0000.0000.0000:0000.0000.0000 etherType:mask = 0x8942:0xffff | GoTo = 0 (None) outPort = CONTROLLER (Reserved) clearAction | priority = 40000 hard_time = 0 idle_time = 0 cookie = 2
root@localhost:/usr/bin/ofdpa# ./client_flowtable_dump | grep 172
root@localhost:/usr/bin/ofdpa#
Hi,
How you verified that? Using BCM packet counters?
The onos flows you sent (below) are at which stage? And there is no port 1.
onos> flows -s
deviceId=of:000000182330d7fa, flowRuleCount=32
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:17, VLAN_VID:None], treatment=[immediate=[VLAN_ID:4094], transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:8, VLAN_VID:4094], treatment=[transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:8, VLAN_VID:4090], treatment=[transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:17, VLAN_VID:4090], treatment=[transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:8, VLAN_VID:None], treatment=[immediate=[VLAN_ID:4094], transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:17, VLAN_VID:4094], treatment=[transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:17, VLAN_VID:222], treatment=[transition=TABLE:20]
ADDED, bytes=0, packets=0, table=10, priority=32768, selector=[IN_PORT:8, VLAN_VID:222], treatment=[transition=TABLE:20]
ADDED, bytes=0, packets=0, table=20, priority=32768, selector=[IN_PORT:8, 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:8, 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:8, 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:17, 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:17, 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:8, 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:17, 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:8, 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:17, 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:17, 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:8, 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:17, ETH_DST:00:00:02:01:06:01, ETH_TYPE:ipv6, VLAN_VID:4094], treatment=[transition=TABLE:30]
ADDED, bytes=0, packets=0, table=50, priority=1000, selector=[VLAN_VID:222], treatment=[deferred=[GROUP:0x40de0000], transition=TABLE:60]
ADDED, bytes=0, packets=0, table=60, priority=60000, selector=[VLAN_VID:222], treatment=[immediate=[NOACTION]]
ADDED, bytes=7482, packets=86, table=60, priority=40000, selector=[ETH_TYPE:lldp], treatment=[immediate=[OUTPUT:CONTROLLER], clearDeferred]
ADDED, bytes=0, packets=0, table=60, priority=40000, selector=[ETH_TYPE:ipv6, IPV6_DST:fe80::200:2ff:fe01:601/128], treatment=[immediate=[OUTPUT:CONTROLLER], clearDeferred]
ADDED, bytes=0, packets=0, table=60, priority=40000, selector=[ETH_TYPE:bddp], treatment=[immediate=[OUTPUT:CONTROLLER], clearDeferred]
ADDED, bytes=0, packets=0, table=60, priority=40000, selector=[ETH_TYPE:ipv4, IPV4_DST:192.168.0.201/32], treatment=[immediate=[OUTPUT:CONTROLLER], clearDeferred]
ADDED, bytes=0, packets=0, table=60, priority=40000, selector=[ETH_TYPE:eapol], treatment=[immediate=[OUTPUT:CONTROLLER], clearDeferred]
ADDED, bytes=0, packets=0, table=60, priority=30000, selector=[ETH_TYPE:ipv6, IP_PROTO:58, ICMPV6_TYPE:135], treatment=[immediate=[OUTPUT:CONTROLLER]]
ADDED, bytes=0, packets=0, table=60, priority=30000, selector=[ETH_TYPE:ipv6, IP_PROTO:58, ICMPV6_TYPE:136], treatment=[immediate=[OUTPUT:CONTROLLER]]
ADDED, bytes=680, packets=8, table=60, priority=30000, selector=[ETH_TYPE:ipv6, IP_PROTO:58, ICMPV6_TYPE:133], treatment=[immediate=[OUTPUT:CONTROLLER]]
ADDED, bytes=0, packets=0, table=60, priority=30000, selector=[ETH_TYPE:ipv6, IP_PROTO:58, ICMPV6_TYPE:134], treatment=[immediate=[OUTPUT:CONTROLLER]]
ADDED, bytes=0, packets=0, table=60, priority=30000, selector=[ETH_TYPE:arp], treatment=[immediate=[OUTPUT:CONTROLLER]]
deviceId=of:0000aabbccddeeff, flowRuleCount=8
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]]
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:eapol], treatment=[immediate=[OUTPUT:CONTROLLER]]
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:6f00000080, VLAN_VID:222], treatment=[immediate=[VLAN_POP], transition=TABLE:1]
ADDED, bytes=0, packets=0, table=0, priority=1000, selector=[IN_PORT:128, VLAN_VID:None], treatment=[immediate=[VLAN_PUSH:vlan, VLAN_ID:111], transition=TABLE:1]
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]]
ADDED, bytes=0, packets=0, table=1, priority=1000, selector=[IN_PORT:2, VLAN_VID:111], treatment=[immediate=[VLAN_POP, OUTPUT:128]]
onos>
Sent: Wednesday, November 21, 2018 1:00 AM
--
You received this message because you are subscribed to the Google Groups "CORD Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cord-discuss...@opencord.org.
To post to this group, send email to cord-d...@opencord.org.
Visit this group at https://groups.google.com/a/opencord.org/group/cord-discuss/.
To view this discussion on the web visit https://groups.google.com/a/opencord.org/d/msgid/cord-discuss/d9b10594-d71b-4c8e-b096-47e3882dd11a%40opencord.org.
From the flow counters, there are no packet hitting the flows installed by x-connect.
I assume you replaced port 1 by 8 in the below experiment. Not sure what is wrong, I would cross check the physical connections and bring up the whole pod once again.
/Sreeju
...