> I think that is telling you not to use /32 address on interface for which you 
> expect there to be connected peers.
> From an IP networking perspective, if you want two peers to be connected on 
> an interface, they need to be within the same subnet, so use a /31.

For p2p links there are actually two valid approaches to IP subnetting.
The BSD approach where you have to independent /32s on each side and a routing 
entry for the other side. Or a connected route /31 or larger. The act of 
configuring an address with a prefix is really a shortcut for configuring the 
address _and_ the connected prefix of course.

Sounds to me like the SAS algorithm needs a bit of work.
(I'd like to use it for ICMP error sending too, where it also should handle the 
case of picking a source address from another interface than the outgoing 
interface).

Cheers,
Ole

> From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> on behalf of Artem Glazychev 
> via lists.fd.io <artem.glazychev=xored....@lists.fd.io>
> Date: Wednesday, 4 August 2021 at 08:37
> To: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io>
> Subject: [vpp-dev] memif: failed: no source address for egress interface
> 
> Hello,
> Found a problem with some types of interfaces.
> 
> For example, memif. When I'm creating memif interfaces and run ping I see:
> 
> DBGvpp# ping 10.10.2.1
> Failed: no source address for egress interface
> ...
> 
> But it is worth mentioning that I am setting /32 mask for IP address
> 
> Managed to fix IP mode with these patches: 
> https://gerrit.fd.io/r/c/vpp/+/32801, https://gerrit.fd.io/r/c/vpp/+/33303
> 
> But Ethernet mode still doesn't work.
> 
> ==============================
> 
> There was already a similar topic: 
> https://lists.fd.io/g/vpp-dev/topic/84038840
> 
> Created a jira issue with details: https://jira.fd.io/browse/VPP-1992
> 
> Does anyone have any thoughts on this? Thank you.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 

Attachment: signature.asc
Description: Message signed with OpenPGP

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19929): https://lists.fd.io/g/vpp-dev/message/19929
Mute This Topic: https://lists.fd.io/mt/84656776/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