Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

routes problem #25

Closed
trueeike opened this issue Jul 27, 2016 · 2 comments
Closed

routes problem #25

trueeike opened this issue Jul 27, 2016 · 2 comments

Comments

@trueeike
Copy link

I think it somewhere in librte_ans.a. But i dont have sources.

I can run 2 nginx at one ans on different ports. They will be available outside. But they cant reach one another by proxy_pass because of route issue.
From begin I have routes:

ANS IP routing table
Destination      Gateway          Netmask          Flags   Iface           
10.0.0.0         *                255.255.255.0    U C     eth0                             
10.0.0.101       *                255.255.255.255  U H L   eth0 

10.0.0.101 is outside client machine. ANS have IP 10.0.0.2.

When i try from client machine 10.0.0.101 curl 10.0.0.2:91 -> nginx proxypass ->10.0.0.2:80

ANS IP routing table
Destination      Gateway          Netmask          Flags   Iface           
10.0.0.0         *                255.255.255.0    U C     eth0            
10.0.0.2         *                255.255.255.255  U H L                   
10.0.0.101       *                255.255.255.255  U H L   eth0      

There is bad gateway 10.0.0.2 . Which added automatically.

@trueeike
Copy link
Author

Oh! Now i see. ANS doesn't support loop-back interface.

@bluenet13
Copy link
Member

Yes, doesn't support loop-back interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants