network admin: can't set gateway outside my class when setting static address

Bug #241572 reported by mspanc
4
Affects Status Importance Assigned to Milestone
gnome-system-tools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: network-manager

It is impossible to configure interface using static address, when gateway is outside my class.

It's no so common, but is technically possible.

E.g. config:

IP 192.168.0.1
mask 255.255.255.0
gateway 192.168.1.1

should be equivalent to

ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up
route add 192.168.1.1 dev eth0
route add default gw 192.168.1.1 dev eth0

It works OK under windows, where you have warning but it's still possible to force gateway outside class.

Tags: iso-testing
Revision history for this message
Alexander Sack (asac) wrote :

in hardy NM didnt support static IPs. thus i guess its network-admin instead.

tags: added: iso-testing
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Can not set a static IP address using the live environment 8.04.4 dated 2010-01-21.1. If set using network manager, the system refuses to open any other applications, can not obtain logs because the connection is missing, and can not save to any device even in a tty.

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

Charlie, this has nothing to do with network-admin if you say you're using NetworkManager (but I think in Hardy it does not support static IPs). Your comment is far to vague to be helpful as-is, I guess you should open a new report.

Anyway, about this bug report, you should try NetworkManager in Lucid because it's highly unlikely that anything will happen in network-admin, let alone backporting it to Hardy. Sorry!

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

This has been fixed in Maverick development release. Using the following:

E.g. config:

IP 192.168.51.4
mask 255.255.255.0
gateway 192.168.52.1

I am now able to access the internet after making the changes in both terminal using the route commands and /etc/network/interfaces

Changed in gnome-system-tools (Ubuntu):
status: New → Fix Released
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.