[Bug 369620] Re: gateway setting in /etc/network/interfaces not working
Stéphane Graber
stgraber at stgraber.org
Thu Jan 12 15:38:10 UTC 2012
ifupdown uses "ip route add" instead of route, "ip route add" checks
that you don't have more than one default gateway and gets you that
"File exists".
Marking the bug as Invalid for ifupdown.
** Changed in: ifupdown (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/369620
Title:
gateway setting in /etc/network/interfaces not working
Status in “ifupdown” package in Ubuntu:
Invalid
Bug description:
Binary package hint: ifupdown
Given the following config in /etc/network/interfaces:
auto eth2
iface eth2 inet static
address 202.175.108.98
netmask 255.255.255.248
gateway 202.175.108.97
Running "ifdown eth2" will give an error saying eth2 not configured.
Running "ifup eth2" will give "SIOCADDRT: File exists". To fix the
problem, I had to change it to:
auto eth2
iface eth2 inet static
address 202.175.108.98
netmask 255.255.255.248
up route add default gw 202.175.108.97
Then both errors will go away.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/369620/+subscriptions
More information about the foundations-bugs
mailing list