Package: iproute2 Version: 4.9.0-1+deb9u1 Hi, I was doing very simple config of moving network physical interface into "test" network name-space, assigned it IP address, activated the interface in there... and simple pinging the iface does not work (so I can't progress). I'm quite in a hot need to have this working as it's excellent feature to save a lot resources (need to send various data among single-PC interfaces over external routed infrastructure, that's why I want to separate interfaces in namespaces)
sudo ip netns add test sudo ip link set dev ens192 netns test sudo ip -n test addr add 1.1.1.1/24 dev ens192 sudo ip netns exec test ping 1.1.1.1 peterg@debian:~$ sudo ip -n test link [sudo] password for peterg: 1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN mode DEFAULT group default qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether 00:50:56:00:49:01 brd ff:ff:ff:ff:ff:ff peterg@debian:~$ sudo ip -n test route 1.1.1.0/24 dev ens192 proto kernel scope link src 1.1.1.1 peterg@debian:~$ sudo ip -n test add 1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN group default qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 00:50:56:00:49:01 brd ff:ff:ff:ff:ff:ff inet 1.1.1.1/24 scope global ens192 valid_lft forever preferred_lft forever peterg@debian:~$ uname -a Linux debian 4.9.0-7-amd64 #1 SMP Debian 4.9.110-1 (2018-07-05) x86_64 GNU/Linux inside a VM on VMware ESXI. BR! Peter Gasparovic _________________________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you.