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
--- Begin Message ---
VPP does not support multiple interfaces in the same subnet.
Your scenario will be a configuration error once:
https://gerrit.fd.io/r/#/c/8057/
is committed.
/neale
From: <vpp-dev@lists.fd.io> on behalf of bindiya Kurle
<bindiyaku...@gmail.com>
Date: Monday, 7 May 2018 at 07:27
To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Subject: [vpp-dev] Query on VPP behaviour when IP from same subnet
configured on plain and vlan interface
Hi,
13.0.0.200 -------------------------------|GigabitEthernet1/0/0 (plain
interface)13.0.0.2
|
GigabitEthernet1/0/0.111(vlan interface)13.0.0.5 packet to send out
destination IP (13.0.0.200)
Fig 1.
I am trying to configure two IP’s belonging to same subnet on plain and a
VLAN interface(refer fig 1).While sending a packet, the ip4-lookup node is
fetching the dpoi_index pertaining to the VLAN interface which in-turn gives
the software index to VLAN interface in lookup.
If I try same scenario on Linux ,ping to the same destination IP(IP:
13.0.0.200) works as kernel pick up the plain interface route since that is the
1st route in its routing table.
FIB table entry:
13.0.0.2/32<http://13.0.0.2/32> pmtu: 0
unicast-ip4-chain
[@0]: dpo-load-balance: [proto:ip4 index:12 buckets:1 uRPF:16 to:[0:0]]
[0] [@2]: dpo-receive: 13.0.0.2 on GigabitEthernet1/0/0
13.0.0.5/32<http://13.0.0.5/32> pmtu: 0
unicast-ip4-chain
[@0]: dpo-load-balance: [proto:ip4 index:17 buckets:1 uRPF:22 to:[0:0]]
[0] [@2]: dpo-receive: 13.0.0.5 on GigabitEthernet1/0/0.111
13.0.0.200/32<http://13.0.0.200/32> pmtu: 0
UNRESOLVED
Questions :
1. Is there any specific reason why VPP always returns last entry added for
that prefix instead of 1st entry? Can Vpp behaviour be made similar to Linux
kernel Behaviour?
Regards,
Bindiya
_._,_._,_
_____
Links:
You receive all messages sent to this group.
View/Reply Online (#9270)<https://lists.fd.io/g/vpp-dev/message/9270> |
Reply To
Sender<mailto:nra...@cisco.com?subject=Private:%20Re:%20Re%3A%20%5Bvpp-dev%5D%20Query%20on%20VPP%20behaviour%20when%20IP%20from%20same%20subnet%20configured%20on%20plain%20and%20vlan%20interface>
| Reply To
Group<mailto:vpp-dev@lists.fd.io?subject=Re:%20Re%3A%20%5Bvpp-dev%5D%20Query%20on%20VPP%20behaviour%20when%20IP%20from%20same%20subnet%20configured%20on%20plain%20and%20vlan%20interface>
| Mute This Topic<https://lists.fd.io/mt/18621611/675448> | New
Topic<https://lists.fd.io/g/vpp-dev/post>
Change Your Subscription<https://lists.fd.io/g/vpp-dev/editsub/675448>
Group Home<https://lists.fd.io/g/vpp-dev>
Contact Group Owner<mailto:vpp-dev+ow...@lists.fd.io>
Terms Of Service<https://lists.fd.io/static/tos>
Unsubscribe From This Group<https://lists.fd.io/g/vpp-dev/unsub>
_._,_._,_
--- End Message ---
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#10111): https://lists.fd.io/g/vpp-dev/message/10111
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]
-=-=-=-=-=-=-=-=-=-=-=-