netns ifconfig problem

Bug #1371246 reported by Mikhail Kiselev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
iproute2 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I am using IP name space virtualization feature in Ubuntu 14.04. The simplest script for this is:
#! /bin/sh
ip netns add test
ip link set dev eth1 netns test
ip netns exec ip addr add 10.4.1.21/16 dev eth1
ip netns exec test ip link set dev eth1 up

The node has eth0 with 10.4.1.20/16 and connected eth0 to eth1 by external cable.

All had worked fine during updating Ubuntu 14.04 at the 14th or 15th of September. All is OK in Ubuntu 12.04 LTS.

After the starting script I have a wrong result for 'sudo ip netns exec test ifconfig eth1' output as zero's broadcast address in test IP name space. Command 'sudo ip netns exec test ping 10.4.21.1' has failed.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1371246/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → iproute2 (Ubuntu)
Revision history for this message
Mikhail Kiselev (kiselev-s) wrote :

Namespaces are working now after the last ubuntu update and plugging Ethernet cable.

Changed in iproute2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Per former comment closing the bug

Changed in iproute2 (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.