Hello,

I want to use "ip route get" to get the next hop ip, but I get the
following error:
RTNETLINK answers: Invalid argument

my command line is:
ip route get from 1.2.3.4 to 192.168.1.1 iif eth0

If I use: ip route get 192.168.1.1, it succeeded.

I don't know why it failed when I add "from" and "iif" option.

Please give me a hand. Thanks a lot.

Regards.

weiminghu
2005/1/28
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to