-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
multihome server, wrong answer ip #1257
Comments
Please attach application logs with Why does |
192.168.100.20 asks 10.10.10.10 - this is correct request and verbose log show nothing about incoming and outgoing interfaces/adresses
|
Are you sure? Because in logs there is a request from
This means that 192.168.100.100 interface is used. AGH correctly responds back to this client via the same interface. |
this means that request came to intercase has 192.168.100.100 but it was targeted to 10.10.10.10 which is at the same pc with 192.168.100.100 and reachable via this interface |
1 similar comment
this means that request came to intercase has 192.168.100.100 but it was targeted to 10.10.10.10 which is at the same pc with 192.168.100.100 and reachable via this interface |
We're talking about a little bit different things here. That's why I asked:
Because I also don't understand how can |
yes, we talk about different... 10.10.10.10 is on the same server as 192.168.100.100 (different interfaces), but 10.10.10.10 can be reached from 192.168.100.0/24 network because on pc with 192.168.100.20 there is route 10.10.10.0/24 via 192.168.100.20 |
I don't think this is true. A normal software doesn't control source IP field in IPv4 packets - it only can do it once by using So once again, I don't see anything wrong here from AGH's side. |
if to compare with bind |
Could you please show |
That's interesting. I wonder why they need a different listening socket in this case.
which is 192.168.100.100 as source IP address. |
I encountered the same problem! dig google.com @_AGH dig google.com @_AGH +tcp |
@shNanChen do you also have multiple IP addresses on the same interface? I guess this is the same issue as this one then: #1490 |
Issue Details
machine with AdG has two interfaces: 10.10.10.10, 192.168.100.100
there is another machine connected directly by net 192.168.100.20
and it has route to 10.10.10.0/24 via 192.168.100.100
so, if there is dns request from 192.168.100.20 to 10.10.10.10, reply is send not from 10.10.10.10, but from 192.168.100.100 and nothing works...
in same configuration bind works fine
The text was updated successfully, but these errors were encountered: