[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: routing



Hi again, Sthu:

On Thursday 04 November 2010 18:25:24 Sthu Deus wrote:
> Thank You for Your time and answer again, Jesús:
> > you have *two* hops on
> > your local side; you Internet connection knows about the nearest to
> > it (from its perspective), which is 20.20.20.20, but it doesn't know
> > about the second hop, the one that goes from 20.20.20.20 to
> > 192.168.0.0/24, so you need to manage that part yourself (depending
> > on your environment by adding static routes or masquerading).
>
> In case we speak about "by adding static routes" - do I achieve this w/
> the help of route command or some other way?

I think we are starting going in circles.

> > PS: Please pay attention that I'm just using my crystal ball here.
> > You didn't explicitly answered my questions, so I can't know it for
> > certain, just speculating.
>
> Please do not worry on that - Your ball works just perfect!
> In other words I would tell You more if I could. But I try my best.

It's my ball; please let be me the one that tells if it works or not.

Regarding the questions, you *can* answer most of them, if not all.  Here they 
come again:

0) Just so we both can stablish to be working on known field.  Use these 
routing/firewalling rules:
        /sbin/iptables -F
        /sbin/iptables -t nat -F
        /sbin/iptables -t mangle -F
 
        /sbin/iptables -X
        /sbin/iptables -t nat -X
        /sbin/iptables -t mangle -X

        /sbin/iptables -P INPUT ACCEPT
        /sbin/iptables -P OUTPUT ACCEPT
        /sbin/iptables -P FORWARD ACCEPT
        
        echo "1" > /proc/sys/net/ipv4/ip_forward
1) What does sit at 10.10.10.10?
2) Can you ping 10.10.10.10 from host2?
3) Can you ping 152.46.7.81 from host2?
4) Can you ping 192.168.0.3 from host2?
5) Can you ping 192.168.0.125 from host1?
6) Can you ping 20.20.20.20 from host1?
7) Can you ping 152.46.7.81 from host1?

Cheers.


Reply to: