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 : pxv3...@rit.edu
> ph : 585 764 4662
> 
> 
> On Wed, Aug 30, 2017 at 4:14 AM, Ole Troan <otr...@employees.org> 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 : pxv3...@rit.edu
> > ph : 585 764 4662
> >
> > _______________________________________________
> > vpp-dev mailing list
> > vpp-dev@lists.fd.io
> > https://lists.fd.io/mailman/listinfo/vpp-dev
> 
> 

Attachment: signature.asc
Description: Message signed with OpenPGP

_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to