Hi Ole,
Yea, i have my routes on the "show ip6 fib", but still even ping did not
work.
I tried to ping the ips assigned to the local ports on vpp, -> did not work
tried ip4, still did not work.
I could not figure out what "Configuration" i am missing here.
Outputs :
vpp# sh interfaces
Name Idx State Counter
Count
FortyGigabitEthernet2/0/0 1 up
FortyGigabitEthernet4/0/0 2 up
local0 0 down
vpp# sh ip fib
ipv4-VRF:0, fib_index 0, flow hash: src dst sport dport proto
0.0.0.0/0
unicast-ip4-chain
[@0]: dpo-load-balance: [index:0 buckets:1 uRPF:0 to:[0:0]]
[0] [@0]: dpo-drop ip4
0.0.0.0/32
unicast-ip4-chain
[@0]: dpo-load-balance: [index:1 buckets:1 uRPF:1 to:[0:0]]
[0] [@0]: dpo-drop ip4
10.1.1.0/24
unicast-ip4-chain
[@0]: dpo-load-balance: [index:8 buckets:1 uRPF:7 to:[0:0]]
[0] [@4]: ipv4-glean: FortyGigabitEthernet2/0/0
10.1.1.1/32
unicast-ip4-chain
[@0]: dpo-load-balance: [index:9 buckets:1 uRPF:8 to:[0:0]]
[0] [@2]: dpo-receive: 10.1.1.1 on FortyGigabitEthernet2/0/0
20.1.1.0/24
unicast-ip4-chain
[@0]: dpo-load-balance: [index:10 buckets:1 uRPF:9 to:[0:0]]
[0] [@4]: ipv4-glean: FortyGigabitEthernet4/0/0
20.1.1.1/32
unicast-ip4-chain
[@0]: dpo-load-balance: [index:11 buckets:1 uRPF:10 to:[0:0]]
[0] [@2]: dpo-receive: 20.1.1.1 on FortyGigabitEthernet4/0/0
224.0.0.0/4
unicast-ip4-chain
[@0]: dpo-load-balance: [index:3 buckets:1 uRPF:3 to:[0:0]]
[0] [@0]: dpo-drop ip4
240.0.0.0/4
unicast-ip4-chain
[@0]: dpo-load-balance: [index:2 buckets:1 uRPF:2 to:[0:0]]
[0] [@0]: dpo-drop ip4
255.255.255.255/32
unicast-ip4-chain
[@0]: dpo-load-balance: [index:4 buckets:1 uRPF:4 to:[0:0]]
[0] [@0]: dpo-drop ip4
vpp# ping 20.1.1.1
Statistics: 300 sent, 0 received, 100% packet loss
Thanks,
Pragash Vijayaragavan
Grad Student at Rochester Institute of Technology
email : [email protected]
ph : 585 764 4662
On Thu, Aug 31, 2017 at 7:44 AM, Ole Troan <[email protected]> wrote:
> Pragash,
>
> > I am just trying to send and receive ip6 traffic through the vpp.
> > I configured the ports with ip6 addresses and send traffic as below. But
> it was not forwarded to the destination port 2.
> >
> > [ Traffic gen (dst ip - port 2) ]---------------[ (port 1) vpp (port
> 2) ]
>
> Right, that has nothing to do with source address selection on VPP.
> You might want to verify that the FIB is set correctly. "show ip6 fib".
>
> Cheers,
> Ole
>
> >
> >
> >
> > Thanks,
> >
> > Pragash Vijayaragavan
> > Grad Student at Rochester Institute of Technology
> > email : [email protected]
> > ph : 585 764 4662
> >
> >
> > On Thu, Aug 31, 2017 at 5:53 AM, Ole Troan <[email protected]> wrote:
> > Pragash,
> >
> > > Is there any cli command for source address selection in the vpp?
> >
> > No. Source address selection only comes into play for locally originated
> packets. VPP itself has only a few of those, and they are somewhat special
> case. Like ND for example.
> >
> > An application could use ip_address_dump/ip_address_details APIs and
> then follow the algorithm in RFC6724/RFC8028. But before we talk about
> solutions, what problem are you trying to solve?
> >
> > Best regards,
> > Ole
> >
> > >
> > > Thanks,
> > >
> > > Pragash Vijayaragavan
> > > Grad Student at Rochester Institute of Technology
> > > email : [email protected]
> > > ph : 585 764 4662
> > >
> > >
> > > On Wed, Aug 30, 2017 at 4:14 AM, Ole Troan <[email protected]>
> wrote:
> > > Pragash,
> > >
> > > > I have a quick question, i am able to assign multiple ips for an
> interface in vpp. Is this correct behavior.
> > >
> > > Yes. Shouldn't it be?
> > > Note that VPP itself doesn't implement source address selection so the
> local application would have to deal with that.
> > >
> > > Best regards,
> > > Ole
> > >
> > >
> > > >
> > > > pragash@revvit:~/VPP$ sudo vppctl sh interfaces address
> > > > FortyGigabitEthernet2/0/0 (up):
> > > > 10.1.1.1/24
> > > > 10.2.1.1/24
> > > > 2001::1/48
> > > > fe80::3efd:feff:fea6:8ef0/128
> > > > 2001::2/48
> > > > 2003::2/48
> > > > 2004::2/48
> > > > FortyGigabitEthernet4/0/0 (up):
> > > > 2002::1/48
> > > > fe80::3efd:feff:fea6:8e78/128
> > > > 9001::2/48
> > > > local0 (dn):
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Pragash Vijayaragavan
> > > > Grad Student at Rochester Institute of Technology
> > > > email : [email protected]
> > > > ph : 585 764 4662
> > > >
> > > > _______________________________________________
> > > > vpp-dev mailing list
> > > > [email protected]
> > > > https://lists.fd.io/mailman/listinfo/vpp-dev
> > >
> > >
> >
> >
>
>
_______________________________________________
vpp-dev mailing list
[email protected]
https://lists.fd.io/mailman/listinfo/vpp-dev