0

I have server with four IP addresses [ 1 parent IP , 3 virtual IPs]. I need to enable route to make appropriate IP address as a outgoing ip address for itself.

IP address list:

10.11.12.100
10.11.12.101
10.11.12.102
10.11.12.103

Example :

10.11.12.100 -->  outgoing traffic through 10.11.12.100
10.11.12.101 -->  outgoing traffic through 10.11.12.101
10.11.12.102 -->  outgoing traffic through 10.11.12.102
10.11.12.103 -->  outgoing traffic through 10.11.12.103

I tried the below command, it shows error

ip route change 10.11.12.101/32 dev eth0 proto kernel scope link src 10.11.12.101
RTNETLINK answers: No such file or directory

Please someone help. Thanks in advance.

  • What is the error? – Michael Hampton Aug 12 '16 at 16:38
  • this is the error message RTNETLINK answers: No such file or directory – KMG Aug 13 '16 at 5:33
  • anyone have chance to check this ?. Still I couldn't fix it. – KMG Aug 16 '16 at 11:07

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.