traceroute is your friend.  I'm sure you've tried it, just didn't post
the results?



On 12/16/05, Fernando Braga <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm facing an unusual problem with routing. I can access an internal
> server (with real IP) thru an OpenBSD gateway (gwA). Everything works
> when connection is initiated from the Internet. But gwB can't make its
> way back to the Internet.
>
> Every attempt to access any host on the Internet gets to gwA
> int_wireless, but doesn't goes out on ext_if. gwB can't even ping gwA
> external address 1.2.3.2.
>
> It makes no difference whether pf is enabled or not and, yes,
> net.inet.ip.forward is enabled.
>
> They're connected thru wireless bridges. I'll try to represent the
> network below:
>
> gwA has 3 interfaces: sis0 (external), vr0 (internal), and xl0 (int_wireless).
> gwB has 2 interfaces: sis0 (ext_wireless), and rl0 (internal).
>
> +-------+                                  +-----+
> |  gwB  |sis0----<< RADIO BRIDGES >>----xl0| gwA |sis0-----<< INTERNET >>
> +-------+                                  +-----+
>
> gwB's
> -----
> gwB:24$ cat /etc/hostname.sis0
>                                                    inet 10.10.10.250
> 255.255.255.0 NONE
> inet alias 1.2.3.65 255.255.255.192 NONE
> gwB:25$
>
> gwA's
> -----
> gwA:511$ cat /etc/hostname.xl0
> inet 10.10.10.254 255.255.255.0 NONE
> !/sbin/route add -net 1.2.3.64/26 10.10.10.250
> gwA:512$ cat /etc/hostname.sis0
> inet 1.2.3.2 255.255.255.192 NONE
> gwA:513$
>
> gwA:514$ sysctl -a net.inet.ip.forwarding
> net.inet.ip.forwarding=1
>
> Has anyone a clue ?
>
> TIA,
>
> --
> Fernando M. Braga

Reply via email to