1 |
On 06/12/2018 09:17 AM, Hilco Wijbenga wrote: |
2 |
> Okay, I've got it mostly working now. The missing route seems to be |
3 |
> "10.0.0.0", "255.0.0.0", "0.0.0.0", "100". |
4 |
|
5 |
255.0.0.0/8 is special and 0.0.0.0/0 is very special. |
6 |
|
7 |
255/8 is not globally routed and contains 255.255.255.255 which is used |
8 |
as a broadcast address. |
9 |
|
10 |
> So not the gateway but 0.0.0.0. |
11 |
|
12 |
0/0 is functionally equivalent to the default gateway. |
13 |
|
14 |
> This works both in Gentoo and VirtualBox ... except for (at least) |
15 |
> one internal site. |
16 |
> |
17 |
> I have a.i.company.com ("a") and b.i.company.com ("b"). Dig in Gentoo |
18 |
> tells me both are aliases for a.r1.i.company.com and b.r1.i.company.com, |
19 |
> respectively. They both resolve to 10.x.y.z addresses. But "a" works |
20 |
> in both Gentoo and VB, while "b" cannot be resolved in VB (dig finds |
21 |
> nothing). I can obviously work around that but I'm very confused why it |
22 |
> doesn't work the same in both. |
23 |
|
24 |
It sounds like you also need to route 10/8 in addition to the |
25 |
aforementioned prefixes. |
26 |
|
27 |
I find it suspect that "b" doesn't work. I wonder if it's related to |
28 |
the DNS server that you're querying, specifically if it's internal / |
29 |
external and if it's routed through the VPN too. |
30 |
|
31 |
|
32 |
|
33 |
-- |
34 |
Grant. . . . |
35 |
unix || die |