Hello Ole,

I just had a try on VRF, probably this is what I am looking for.
Regarding to the FIB lookup, we don’t want to rely on the standard route 
procedure performed in lookup node.
We are thinking about some product specific logic to decide which VLAN to tag 
the packet and which interface to send packet out.

host-veth1 (up):
  13.13.13.114/24
host-veth1.111 (up):
  13.13.13.114/24 table 2

Thanks much for your help.

Best Regards
Michael

-----Original Message-----
From: Ole Troan <otr...@employees.org> 
Sent: 2018年8月14日 17:46
To: Yu, Michael A. (NSB - CN/Qingdao) <michael.a...@nokia-sbell.com>
Cc: vpp-dev <vpp-dev@lists.fd.io>; Neale Ranns <nra...@cisco.com>
Subject: Re: Overlapping IP/subnet support on base/vlan interface

Michael,

> I have checked the latest code in master branch and confirm ” VPP does not 
> support multiple interfaces in the same subnet” is still true.
> And I can understand the commit https://gerrit.fd.io/r/#/c/8057/ is to expand 
> the check of overlapping subnet to all interfaces in the same table/VRF.
> From draft check and previous discussion I can also understand that the 
> limitation is that only one fib entry (the latter one) can exist in the fib 
> table for one given subnet, but I am not sure if this is the only place 
> limitation exists.
> And from what I see there is no plan to support “multiple interfaces in the 
> same subnet” configuration.
>  
> Could you help confirm my understanding? Thanks.
> Actually overlapping IP configuration is one of use cases we want to support 
> in our project so we want to understand the limitation and to see how we can 
> handle it, thanks for your help.

This is traditionally solved by either VRFs or bridging.
Can you explain how you imagine this to work?

How should the FIB lookup work how should address resolution work?

Best regards,
Ole


> From: Yu, Michael A. (NSB - CN/Qingdao)
> Sent: 2018年8月13日 14:51
> To: 'Neale Ranns' <nra...@cisco.com>; vpp-dev <vpp-dev@lists.fd.io>
> Subject: Overlapping IP/subnet support on base/vlan interface
>  
> Hello Neale and VPP experts,
>  
> We have one use case to support in VPP, to configure overlapping IP on flat 
> interface and VLAN sub-interface, like below:
>  
> Eth1    -- 13.13.13.114
> Eth1.11  -- 13.13.13.114
> Eth1.12  -- 13.13.13.114
>  
> But we found that this kind of configuration is not supported yet and 
> below error would be printed after we configure one IP on the flat 
> interface and when we configure the same IP on the vlan sub-interface. 
> (we are using 18.01)
>  
> [root@localhost tools]# vppctl set int ip addr host-veth1.111 
> 13.13.13.114/24 set interface ip address: Prefix 13.13.13.114/24 
> already found on interface host-veth1
>  
> We made some search and found in attached email it’s claimed ” VPP does not 
> support multiple interfaces in the same subnet.” and 
> https://gerrit.fd.io/r/#/c/8057/was submitted to forbid this kind of 
> configuration.
>  
> Our questions are that:
>  
> 1.       If the statement ” VPP does not support multiple interfaces in the 
> same subnet” is still true in latest implementation? (my assumption is yes)
> 2.       Is there any plan to support this kind of configuration (overlapping 
> subnet or IP on flat interface and vlan sub-interface) in the future?
> 3.       Do you know where this limitation comes from? we want to understand 
> the feasibility to break this limitation.  
>  
> Could you help? Thanks!
>  
> Best Regards
> Michael

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10150): https://lists.fd.io/g/vpp-dev/message/10150
Mute This Topic: https://lists.fd.io/mt/24500872/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to