ovpn-dco: nestns-test.sh - fix the issue that veth is not created successfully
Hi Antonio,
Have you encountered this issue? Please help to review.
Tony
Antonio Quartulli
AppliedRe: [Openvpn-devel] [PATCH] ovpn-dco: nestns-test.sh - fix the issue that veth is not created successfully.
In reply to a message not in the archiveHi,
Quoted 6 lines · Tony He
According to user manual of "ip link", the command should be "ip link add veth0 type veth peer name veth1"
instead of
"ip link add veth0 type veth peer veth1"
Quoted 6 lines
With this fix, after running "./netns-test.sh", we can do ping test by executing "ip netns exec peer0 ping 5.5.5.2"
Tested in Ubuntu 18.04 PC.
Signed-off-by Tony He <[email protected]...>
Applied to master in revision c56b9d024570 with slightly amended commit message.
Cheers,
Signature · 1 line
Antonio Quartulli
Hi Tony,
Quoted 5 lines · Tony He
Hi Antonio,
Have you encountered this issue? Please help to review.
No, we have never encountered this issue.
My feeling is that you are using userspace tools that are older than what we normally use.
I see you are using Ubuntu 18.04 and that might be the reason.
In any case, your patch is small and does not hurt :-)
Thanks
Signature · 1 line
Antonio Quartulli
Hi Antonio,
To confirm, I installed a Ubuntu 20.04 VM and saw it supports these two formates.
Tony
Quoted 24 lines · Antonio Quartulli <[email protected]...> 于2020年11月18日周三 下午11:05写道:
Hi Tony,
Quoted 5 lines · Tony He
Hi Antonio,
Have you encountered this issue? Please help to review.
No, we have never encountered this issue.
My feeling is that you are using userspace tools that are older than what we normally use.
I see you are using Ubuntu 18.04 and that might be the reason.
In any case, your patch is small and does not hurt :-)
Thanks
--
Antonio Quartulli
OpenVPN Inc.
Hi Tony,
Quoted 5 lines · Tony He
Hi Antonio,
To confirm, I installed a Ubuntu 20.04 VM and saw it supports these two formates.
Thanks a lot for checking - this is what I imagined too. The ip tool has introduced several shortcuts over time to make it more user friendly.
Nonetheless, your patch has been applied so that our script can work on older distros too.
Best Regards,
Signature · 1 line
Antonio Quartulli