Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#24690 - [initscripts] allow static IP address without gateway
Attached to Project:
Arch Linux
Opened by Matthias Dienstbier (fs4000) - Saturday, 11 June 2011, 15:46 GMT
Last edited by Tom Gundersen (tomegun) - Sunday, 19 June 2011, 17:02 GMT
Opened by Matthias Dienstbier (fs4000) - Saturday, 11 June 2011, 15:46 GMT
Last edited by Tom Gundersen (tomegun) - Sunday, 19 June 2011, 17:02 GMT
|
DetailsI know you don't intend to extend the network daemon, but could at least the use of static IP without a gateway be implemented?
There are people that don't use the LAN for connecting to the internet. |
This task depends upon
And in network_down you can't delete route default if it wasn't set. AFAIK "ip link set dev $interface down" deletes all routes, too.
interface=eth0
address=10.0.2.240
# ip addr; ip route
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff
inet 10.0.2.240/24 brd 10.0.2.255 scope global eth0
10.0.2.0/24 dev eth0 proto kernel scope link src 10.0.2.240
https://github.com/falconindy/initscripts-arch/commit/824567cb23ed0bab4ed4568be139ee0c75d7598d