Thank you for taking the time to report this bug and helping to make
Ubuntu better. The issue that you reported is one that should be
reproducible with the live environment of the Desktop CD of the
development release - Precise Pangolin. It would help us greatly if you
could test with it so we can work on getting it fixed in the next
release of Ubuntu. You can find out more about the development release
at http://www.ubuntu.com/testing/ . Thanks again and we appreciate your
help.

** Changed in: network-manager (Ubuntu)
       Status: New => Incomplete

-- 
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/932703

Title:
  network manager does not correctly honor RFC3442 (classless static
  route option for dhcpv4)

Status in “network-manager” package in Ubuntu:
  Incomplete

Bug description:
  According to syslog, dhcp-server sends:

  address 10.0.0.123/24
  classless static route 10.0.0.138/32 gw 10.0.0.2
  classless static route 10.0.0.0/24 gw 0.0.0.0
  classless static route 192.168.13.0/24 gw 0.0.0.0
  gateway 10.0.0.1

  but the host-route to 10.0.0.138 is not found in routing table.

  a packet-sniff with wireshark confirms, that syslog of NetworkManager
  indeed reflects what the dhcp-server was sending.

  
  full SYSLOG SNIPPETS of NetworkManager output:

  Feb 15 12:59:03 well NetworkManager[1171]: <info> (eth0): DHCPv4 state 
changed preinit -> reboot
  Feb 15 12:59:03 well NetworkManager[1171]: <info> Activation (eth0) Stage 4 
of 5 (IP4 Configure Get) scheduled...
  Feb 15 12:59:03 well NetworkManager[1171]: <info> Activation (eth0) Stage 4 
of 5 (IP4 Configure Get) started...
  Feb 15 12:59:03 well NetworkManager[1171]: <info>   address 10.0.0.123
  Feb 15 12:59:03 well NetworkManager[1171]: <info>   prefix 24 (255.255.255.0)
  Feb 15 12:59:03 well NetworkManager[1171]: <info>   classless static route 
10.0.0.138/32 gw 10.0.0.2
  Feb 15 12:59:03 well NetworkManager[1171]: <info>   classless static route 
10.0.0.0/24 gw 0.0.0.0
  Feb 15 12:59:03 well NetworkManager[1171]: <info>   classless static route 
192.168.13.0/24 gw 0.0.0.0
  Feb 15 12:59:03 well NetworkManager[1171]: <info>   gateway 10.0.0.1
  Feb 15 12:59:03 well NetworkManager[1171]: <info>   hostname 'well'
  Feb 15 12:59:03 well NetworkManager[1171]: <info>   nameserver '10.0.0.1'
  Feb 15 12:59:03 well NetworkManager[1171]: <info>   nameserver '195.34.133.21'
  Feb 15 12:59:03 well NetworkManager[1171]: <info>   nameserver '8.8.8.8'
  Feb 15 12:59:03 well NetworkManager[1171]: <info>   domain name 
'local.qyanu.net'
  Feb 15 12:59:03 well NetworkManager[1171]: <info> Activation (eth0) Stage 5 
of 5 (IP Configure Commit) started...
  Feb 15 12:59:03 well avahi-daemon[1172]: Joining mDNS multicast group on 
interface eth0.IPv4 with address 10.0.0.123.
  Feb 15 12:59:03 well avahi-daemon[1172]: New relevant interface eth0.IPv4 for 
mDNS.
  Feb 15 12:59:03 well avahi-daemon[1172]: Registering new address record for 
10.0.0.123 on eth0.IPv4.
  Feb 15 12:59:04 well NetworkManager[1171]: <info> (eth0): device state 
change: ip-config -> activated (reason 'none') [70 100 0]
  Feb 15 12:59:04 well NetworkManager[1171]: <info> Policy set 'Wired 
connection 1' (eth0) as default for IPv4 routing and DNS.
  Feb 15 12:59:04 well NetworkManager[1171]: <info> Activation (eth0) 
successful, device activated.
  Feb 15 12:59:04 well NetworkManager[1171]: <info> Activation (eth0) Stage 5 
of 5 (IP Configure Commit) complete.
  Feb 15 12:59:04 well NetworkManager[1171]: <info> Activation (eth0) Stage 4 
of 5 (IP4 Configure Get) complete.
  Feb 15 12:59:04 well dbus[1155]: [system] Activating service 
name='org.freedesktop.nm_dispatcher' (using servicehelper)
  Feb 15 12:59:04 well dbus[1155]: [system] Successfully activated service 
'org.freedesktop.nm_dispatcher'

  output of `route -n':
  $ route -n
  Kernel IP routing table
  Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
  0.0.0.0         10.0.0.1        0.0.0.0         UG    0      0        0 eth0
  10.0.0.0        0.0.0.0         255.255.255.0   U     1      0        0 eth0
  169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
  192.168.13.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0

  Note, that the route to 10.0.0.138/32 specified by dhcp-server is
  missing and should have been added to routing-table by network-
  manager.

  adding the route manually is possible:

  $ sudo route add 10.0.0.138/32 gw 10.0.0.2
  $ route -n
  Kernel IP routing table
  Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
  0.0.0.0         10.0.0.1        0.0.0.0         UG    0      0        0 eth0
  10.0.0.0        0.0.0.0         255.255.255.0   U     1      0        0 eth0
  10.0.0.138      10.0.0.2        255.255.255.255 UGH   0      0        0 eth0
  169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
  192.168.13.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0

  
  MORE INFORMATION ABOUT SYSTEM

  $ lsb_release -rd                                                             
                                                                                
                                                                                
           
  Description:    Ubuntu 11.10                                                  
                                                                                
                                                                                
                            
  Release:        11.10

  
  $ apt-cache policy network-manager
  network-manager:
    Installed: 0.9.1.90-0ubuntu5.1
    Candidate: 0.9.1.90-0ubuntu5.1
    Version table:
   *** 0.9.1.90-0ubuntu5.1 0
          500 http://at.archive.ubuntu.com/ubuntu/ oneiric-updates/main amd64 
Packages
          100 /var/lib/dpkg/status
       0.9.1.90-0ubuntu3 0
          500 http://at.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: network-manager 0.9.1.90-0ubuntu5.1
  ProcVersionSignature: Ubuntu 3.0.0-16.28-generic 3.0.17
  Uname: Linux 3.0.0-16-generic x86_64
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  CRDA: Error: [Errno 2] No such file or directory
  Date: Wed Feb 15 13:03:36 2012
  IfupdownConfig:
   auto lo
   iface lo inet loopback
  InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  IpRoute:
   default via 10.0.0.1 dev eth0  proto static 
   10.0.0.0/24 dev eth0  proto kernel  scope link  src 10.0.0.123  metric 1 
   169.254.0.0/16 dev eth0  scope link  metric 1000 
   192.168.13.0/24 dev eth0  proto static
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
   WimaxEnabled=true
  ProcEnviron:
   LANGUAGE=
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: network-manager
  UpgradeStatus: No upgrade log present (probably fresh install)
  mtime.conffile..etc.NetworkManager.NetworkManager.conf: 
2012-02-05T15:53:29.997695

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/932703/+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

Reply via email to