I have a similar problem when I directly attach my machine to my AT&T
DSL. It works fine on Windows, but here's what I get in 'daemon.log':

Jun 30 15:49:26 safir NetworkManager: <info>  Retrieved the following IP4 
configuration from the DHCP daemon:
Jun 30 15:49:26 safir NetworkManager: <info>    address 99.165.93.98
Jun 30 15:49:26 safir NetworkManager: <info>    netmask 255.255.0.0
Jun 30 15:49:26 safir NetworkManager: <info>    broadcast 255.255.255.255
Jun 30 15:49:26 safir NetworkManager: <info>    gateway 151.164.184.123
Jun 30 15:49:26 safir NetworkManager: <info>    nameserver 192.168.1.254
Jun 30 15:49:27 safir NetworkManager: <WARN>  nm_system_device_set_ip4_route(): 
Failed to set IPv4 default route on 'eth1': No such process

Notice that it is saying the netmask is 255.255.0.0 and assigning me the
IP address 99.165.93.98. Then it says the gateway is at 151.164.184.123.
I don't see how that is supposed to work. I booted into Windows and did
a 'netstat -rn' and Windows makes the default route to the gateway
(151.164.184.123) on interface (99.165.93.98), so I guess this would be
the equivalent on Ubuntu:

route add -host 151.164.184.123 dev eth1
route add default gw 151.164.184.123

This is pretty much what  Jens Georg suggested in his original
description, but John V's suggestion of checking if the mask is /32
won't work in my case. I took a look at John V's patch, though, and it
doesn't check the netmask, so it'll probably work for my case as well.
So, probably didn't need to add this comment after all. Well, it is a
case to keep in mind.

-- 
network-manager not able to set default route if netmask is 255.255.255.255
https://bugs.launchpad.net/bugs/159106
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to