ip route get problem

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

 



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
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux