On 6/11/2011 7:27 μμ, G. Miliotis wrote:
On 6/11/2011 4:57 μμ, S P wrote:
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
Does it not look to you like this VPS had no default route
specified? Maybe this is why the command did not work.
Nope, it happened to me and it was the 'metric 100' that did it.
--G