Re: can't set default route for virtual interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2011-12-27 at 17:32 -0600, Lloyd Standish wrote:
> + ip route add default via 192.168.2.1 table T1
> RTNETLINK answers: No such process

This normally means that the kernel doesn't think that 192.168.2.1 is a
valid address. Is that IP address definitely set up by that point in the
script?

Have you tried *not* using ifconfig to set up your interfaces? You
should only be using iproute2.

> Similarly, I was unable to use "ip" to set a "nexthop via" default route for virtual interfaces.
> 

Same probably applies to this.

Andy


--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux