Thanks Michael, Andy and James. I think that worked

# ip -4 route show
212.13.194.0/23 dev eth0  proto kernel  scope link  src 212.13.194.244

# ip addr add 85.119.82.244/21 dev eth0

# ip route change default via 85.119.80.1 dev eth0 metric 100
# ip -4 route show
212.13.194.0/23 dev eth0  proto kernel  scope link  src 212.13.194.244
85.119.80.0/21 dev eth0  proto kernel  scope link  src 85.119.82.244
default via 85.119.80.1 dev eth0  metric 100

I am guessing that the above is the expected result.

Once again, thanks for the very quick responses.

- Sandy




On Sun, Nov 6, 2011 at 9:36 AM, Andy Smith <andy@bitfolk.com> wrote:
Hi Michael,

On Sun, Nov 06, 2011 at 02:12:02PM +0000, Michael Watkin wrote:
> > # ip route change default via 85.119.80.1
> > RTNETLINK answers: No such file or directory

[…]

> I saw this too. I had to change it to:
>
> # ip route change default via 85.119.80.1 dev eth0 metric 100
>
> and then it worked.

Brilliant, thanks. I think it's the addition of "dev eth0" which
made the difference here. I'll update the page since it's not going
to cause any harm.

Sandy, can you confirm this (with the "metric 100" part) works for
you?

Cheers,
Andy

--
http://bitfolk.com/ -- No-nonsense VPS hosting

_______________________________________________
users mailing list
users@lists.bitfolk.com
https://lists.bitfolk.com/mailman/listinfo/users