I will close this report, due to the lack of response of the original OP
(so I assume the problem is fixed)
** Changed in: network-manager (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/426279
Title:
network manager is assigning same ip to multiple interface on the same
host
Status in “network-manager” package in Ubuntu:
Invalid
Bug description:
I am facing a problem with network manager on Ubuntu 9.04. Please find the
details below:
First, Let me explain about our HOST and TARGET setup:
_________________________________________________________________________________________________________________
HOST Setup:
(A) Ubuntu 9.04 on x86 Machine with
> eth0 (Default dhcp interface)
> Usb0 (Usb Net)
Note:
1. Static IP is assigned to the usb0 interface by adding following entry to
the /etc/network/interfaces file on
the host:
===========================
allow-hotplug usb0
auto usb0
iface usb0 inet static
address 10.0.0.1
netmask 255.255.255.0
===========================
2. kernel modules being used are: cdc_ether and usbnet
Note: This Host acts as “DHCP Server for Target Board listening on USB
Net Interface(i.e Usb0)” and
“DHCP client on eth0 interface”
(B) TARGET Setup:
ARM Based Board, linux running on it having
> Usb interface with usbnet support
Note:
1. Target ARM Board uses Ethernet over usb,
linux mounts the root filesystem over NFS
using the host machine as NFS
server(Ubuntu 9.04 host).
2. Target ARM Board gets IP by sending dhcp
request to the host machine (which acts as a
dhcp server for the target).
The host side dhcpd.conf looks like:
________________________________________________________________
ddns-update-style none;
allow bootp;
subnet 10.0.0.0 netmask 255.255.255.0 {
default-lease-time 1209600;
max-lease-time 31557600;
host target-usbnet{
hardware ethernet e4:9b:e7:66:2f:7b;
fixed-address 10.0.0.2;
option root-path "10.0.0.1: /target";
}
}
________________________________________________________________
Problem Description:
TARGET:
1. When I boot the Target device(acts as USB Ether
Gadget), at the host side a new interface
named usb0 is detected and gets an IP, 10.0.0.2
HOST:
2. But the problem is that the network manager(at the
host) assigns the same IP (assigned to usb0)
to the other interface as well, which is default
eth0.
(So Eth0 interface IP is overwritten by 10.0.0.1,
can be seen using ifconfig)
3. Even restarting the “network manager” (sudo
/etc/init.d/NetworkManager restart) or restarting
the network service does not resolve this issue.
4. Host keeps the same IP assigned to both the
interfaces.
As a result, usb0 continues to work with IP 10.0.0.1 (Can communicate
with the target) while eth0 (default
dhcp interface) loses out the connection.
I have to reboot the host system to overcome this issue.
Is this a known bug in network manager? Is there any workaround /clean
solution to this problem?
__________________________________________________________________
Information on Package:
$ apt-cache policy network-manager
network-manager:
Installed: 0.7.1~rc4.1.cf199a964-0ubuntu2
Candidate: 0.7.1~rc4.1.cf199a964-0ubuntu2
Version table:
*** 0.7.1~rc4.1.cf199a964-0ubuntu2 0
500 http://in.archive.ubuntu.com jaunty/main Packages
100 /var/lib/dpkg/status
$
__________________________________________________________________
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/426279/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp