Hi Shahid,
Actually I have the same requirement that two IPs from same subnet configured 
on one interface and I tried to configure that way but it failed, vpp will 
complain as bellows
[cid:[email protected]]
https://gerrit.fd.io/r/#/c/8057/
this patch did the check and disable overlapping sub-nets on any interface, is 
this reasonable? I suppose it is okay to configure multiple ip addresses within 
same subnet to one same interface.  Linux supports this, but vpp doesn’t.

so how did you solve your problem?

BRs,
Kevin
From: [email protected] [mailto:[email protected]] On Behalf Of Shahid Khan
Sent: Friday, April 26, 2019 9:19 PM
To: Ole Troan <[email protected]>
Cc: Damjan Marion <[email protected]>; [email protected]
Subject: [E] Re: [vpp-dev] vip in VPP

Just default gw ... i will check assigning two IPs from same subnet to one 
interface ...


-Shahid

On Apr 26, 2019 18:14, "Ole Troan" 
<[email protected]<mailto:[email protected]>> wrote:
> Can we configure one interface with two ips from same subnet ?

There's certainly nothing wrong with that, so if it for some reason doesn't 
work, that can be patched.
You can of course put the same IP on different VPP instances on e.g. a loopback 
interface. If you have some way of routing to them.

VRRP is not supported. Do you have some application requiring state 
synchronisation on top, or is this just for default gateway?

Cheers,
Ole

>
> -Shahid
>
> On Apr 26, 2019 17:56, "Damjan Marion" 
> <[email protected]<mailto:[email protected]>> wrote:
>
>
> > On 26 Apr 2019, at 14:15, Shahid Khan 
> > <[email protected]<mailto:[email protected]>> wrote:
> >
> > Not on different interfaces ....same subnet on parent and its sub interface 
> > ... Parent interface will have real ip and sub interface will have VIP
>
> sub-interface is from fib perspective different interface and it is typically 
> tagged with some vlan tags.
>
> What’s wrong with having one interface with 2 IPs assigned. 2nd IP can be 
> added/removed based on control plane decision (i.e. change of vrrp state).
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
>
> View/Reply Online (#12861): https://lists.fd.io/g/vpp-dev/message/12861
> Mute This Topic: https://lists.fd.io/mt/31351846/675193
> Group Owner: [email protected]<mailto:vpp-dev%[email protected]>
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  
> [[email protected]<mailto:[email protected]>]
> -=-=-=-=-=-=-=-=-=-=-=-
________________________________
This e-mail message may contain confidential or proprietary information of 
Mavenir Systems, Inc. or its affiliates and is intended solely for the use of 
the intended recipient(s). If you are not the intended recipient of this 
message, you are hereby notified that any review, use or distribution of this 
information is absolutely prohibited and we request that you delete all copies 
in your control and contact us by e-mailing to [email protected]. This 
message contains the views of its author and may not necessarily reflect the 
views of Mavenir Systems, Inc. or its affiliates, who employ systems to monitor 
email messages, but make no representation that such messages are authorized, 
secure, uncompromised, or free from computer viruses, malware, or other 
defects. Thank You
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13049): https://lists.fd.io/g/vpp-dev/message/13049
Mute This Topic: https://lists.fd.io/mt/31636478/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to