NSH Service Chaining with two SF


Suman Kpatra/KOL/TCS <suman.kpatra@...>
 

Dear Jim,

I want to follow below RSP:
gbpsfc1​(sff-source) -> 1,255 -> vpp​(sff) -> 1,255 -> gbpsfc2​(SF1) -> 1,254 -> vpp​
(sff)-> 1,254 -> gbpsfc3(SF2)-> 1,253 -> vpp​(sff) -> 1,253-> gbpsfc1(sff-destination)

gbpsfc1​(sff-source)-> IP:192.168.50.70
vpp​(sff)-> IP:192.168.50.91
gbpsfc2​(SF1)-> IP:192.168.50.71
gbpsfc3​(SF1)-> IP:192.168.50.72


gbpsfc1(sff-source)

python3 sff_client.py ­­remote­sff­ip=192.168.50.91 ­­remote­sff­port=4790
­­sfp­id=1 ­­sfp­index=255 ­­encapsulate=gpe­nsh­ipv4 ­­inner­src­ip=10.1.1.1
­­inner­dest­ip=10.1.1.2 ­­ctx1=9901 ­­ctx2=9902 ­­ctx3=9903 ­­ctx4=9904

Configuration in vpp(sff)

set int state GigabitEthernet0/8/0 up
set int ip address GigabitEthernet0/8/0 192.168.50.91/24
nsh vxlan tunnel src 192.168.50.70 dst 192.168.50.91 c1 9901 c2 9902 c3 9903 c4 9904 spi 1 si 255 vni 16777215 md-type 1 next-ip4 decap-next nsh-vxlan-gpe

nsh vxlan tunnel src 192.168.50.91 dst 192.168.50.71 c1 9901 c2 9902 c3 9903 c4 9904 spi 1 si 255 vni 16777215 md-type 1 next-ip4 decap-next nsh-vxlan-gpe
nsh vxlan tunnel src 192.168.50.71 dst 192.168.50.91 c1 9901 c2 9902 c3 9903 c4 9904 spi 1 si 254 vni 16777215 md-type 1 next-ip4 decap-next nsh-vxlan-gpe

nsh vxlan tunnel src 192.168.50.91 dst 192.168.50.72 c1 9901 c2 9902 c3 9903 c4 9904 spi 1 si 254 vni 16777215 md-type 1 next-ip4 decap-next nsh-vxlan-gpe
nsh vxlan tunnel src 192.168.50.72 dst 192.168.50.91 c1 9901 c2 9902 c3 9903 c4 9904 spi 1 si 253 vni 16777215 md-type 1 next-ip4 decap-next nsh-vxlan-gpe

nsh vxlan tunnel src 192.168.50.91 dst 192.168.50.70 c1 9901 c2 9902 c3 9903 c4 9904 spi 1 si 253 vni 16777215 md-type 1 next-ip4 decap-next nsh-vxlan-gpe


The issue is i am able to receive packets at gbpsfc2​(SF1) but not at gbpsfc23(SF2). Could you please suggest where m going wrong?

Thanks,
Suman

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you


James Neil Guichard
 

Are you able to confirm that packets are sent back from SF1 with NSH 1, 254? 

Jim

From: Suman Kpatra/KOL/TCS <suman.kpatra@...>
Date: Monday, April 4, 2016 at 4:21 AM
To: Jim Guichard <jguichar@...>
Cc: "Abhijeet.karve@..." <Abhijeet.karve@...>, "pratik.dave@..." <pratik.dave@...>, "nsh_sfc-dev@..." <nsh_sfc-dev@...>, Suman Kpatra/KOL/TCS <suman.kpatra@...>
Subject: NSH Service Chaining with two SF

Dear Jim,

I want to follow below RSP:
gbpsfc1​(sff-source) -> 1,255 -> vpp​(sff) -> 1,255 -> gbpsfc2​(SF1) -> 1,254 -> vpp​
(sff)-> 1,254 -> gbpsfc3(SF2)-> 1,253 -> vpp​(sff) -> 1,253-> gbpsfc1(sff-destination)

gbpsfc1​(sff-source)-> IP:192.168.50.70
vpp​(sff)-> IP:192.168.50.91
gbpsfc2​(SF1)-> IP:192.168.50.71
gbpsfc3​(SF1)-> IP:192.168.50.72


gbpsfc1(sff-source)

python3 sff_client.py ­­remote­sff­ip=192.168.50.91 ­­remote­sff­port=4790
­­sfp­id=1 ­­sfp­index=255 ­­encapsulate=gpe­nsh­ipv4 ­­inner­src­ip=10.1.1.1
­­inner­dest­ip=10.1.1.2 ­­ctx1=9901 ­­ctx2=9902 ­­ctx3=9903 ­­ctx4=9904

Configuration in vpp(sff)

set int state GigabitEthernet0/8/0 up
set int ip address GigabitEthernet0/8/0 192.168.50.91/24
nsh vxlan tunnel src 192.168.50.70 dst 192.168.50.91 c1 9901 c2 9902 c3 9903 c4 9904 spi 1 si 255 vni 16777215 md-type 1 next-ip4 decap-next nsh-vxlan-gpe

nsh vxlan tunnel src 192.168.50.91 dst 192.168.50.71 c1 9901 c2 9902 c3 9903 c4 9904 spi 1 si 255 vni 16777215 md-type 1 next-ip4 decap-next nsh-vxlan-gpe
nsh vxlan tunnel src 192.168.50.71 dst 192.168.50.91 c1 9901 c2 9902 c3 9903 c4 9904 spi 1 si 254 vni 16777215 md-type 1 next-ip4 decap-next nsh-vxlan-gpe

nsh vxlan tunnel src 192.168.50.91 dst 192.168.50.72 c1 9901 c2 9902 c3 9903 c4 9904 spi 1 si 254 vni 16777215 md-type 1 next-ip4 decap-next nsh-vxlan-gpe
nsh vxlan tunnel src 192.168.50.72 dst 192.168.50.91 c1 9901 c2 9902 c3 9903 c4 9904 spi 1 si 253 vni 16777215 md-type 1 next-ip4 decap-next nsh-vxlan-gpe

nsh vxlan tunnel src 192.168.50.91 dst 192.168.50.70 c1 9901 c2 9902 c3 9903 c4 9904 spi 1 si 253 vni 16777215 md-type 1 next-ip4 decap-next nsh-vxlan-gpe


The issue is i am able to receive packets at gbpsfc2​(SF1) but not at gbpsfc23(SF2). Could you please suggest where m going wrong?

Thanks,
Suman

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you