[Jool-list] [Hint]: jool network scenario understand and corresponding http request

Alberto Leiva ydahhrk at gmail.com
Wed Jul 29 09:28:07 CDT 2020


> my system is linux customize board and right now wget is not accessible.
> So finding some other alternative to , check the connectivity.

The wget command I posted in my previous mail was supposed to be run
from node A (IPv6 client), not B (Jool).

If you want to run it from Jool, you have to use IPv4:

kunal at B:~$ wget http://34.196.x.x

Alternatively, try curl:

kunal at A:~$ curl -g -6 http://[2001:ab5::34.196.x.x]

kunal at B:~$ wget -g http://34.196.x.x

> Even without reinstalling the jool is there is any way I can check my all packets going out off jool correctly ?

1. Please give me the exact output of these two pings:

    ping6 2001:ab5::34.196.x.x # Run this on A
    ping 34.196.x.x # Run this on B

2. Is node C outside of your domain? Do you have a terminal on it?
3. Which version of Jool are you using?

> I have not set any thing related to 34.196.x.x . So I am not understanding how the jool will filter and sending all packets. ?

Given a packet that comes from node A,
Its source address will become Jool's pool4 address (172.19.61.209)
Its destination address will be translated with pool6 (2001:ab5::/96)

For example:

1. You're trying to send 2001:ab5:0:1::X -> 2001:ab5::34.196.x.x from node A.
2. The source address is translated with pool4, so it simply becomes
172.19.61.209
3. The destination address is translated with IPv6, so we remove
2001:ab5::/96. So 2001:ab5::34.196.x.x becomes 34.196.x.x
4. The outgoing packet is 172.19.61.209 -> 34.196.x.x

On Tue, Jul 28, 2020 at 11:03 PM Kunal Chauhan <atkunalchauhan at gmail.com> wrote:
>
> >Alternatively, use wget:
>
> >$ wget http://[2001:ab5::34.196.x.x]
> my system is linux customize board and right now wget is not accessible.
> So finding some other alternative to , check the connectivity.
> Even without reinstalling the jool is there is any way I can check my all packets going out off jool correctly ?
>
> >but notice that you only gave us your ICMP pool4. For HTTP
>
> I have set a ICMP pool4 as :
> jool -i alpha1  pool4 display --tcp
> +------------+-------+--------------------+-----------------+-------------+
> |       Mark | Proto |     Max iterations |         Address |       Ports |
> +------------+-------+--------------------+-----------------+-------------+
> |          0 |  TCP |       1024 ( auto) |     172.19.8.60 | 61001-65535 |
> +------------+-------+--------------------+-----------------+-------------+
> Also
> I have not set any thing related to 34.196.x.x . So I am not understanding how the jool will filter and sending all packets. ?
>
>
> On Wed, Jul 29, 2020 at 2:19 AM Alberto Leiva <ydahhrk at gmail.com> wrote:
>>
>> Your request shold be
>>
>> http://[2001:ab5::34.196.x.x]
>>
>> Where "34.196.x.x" is the IPv4 address of C.
>>
>> Input that in Firefox's address bar.
>>
>> Alternatively, use wget:
>>
>> $ wget http://[2001:ab5::34.196.x.x]
>>
>> > my pool4 is
>> > jool -i alpha1  pool4 display --icmp
>>
>> Ok, but notice that you only gave us your ICMP pool4. For HTTP
>> requests, you will also need a TCP pool4.
>>
>> On Tue, Jul 28, 2020 at 10:43 AM Kunal Chauhan <atkunalchauhan at gmail.com> wrote:
>> >
>> > > Are you asking how the request should look like? For that, we need ?
>> >  Ans:  Yes
>> > node A  ----              Jool (B)        ------node (G )gatway  ------- node C (Server)
>> > 2001:ab5:0:1::X        2001:ab5:0:1::X | 172.19.61.x     172.19.61.x | 34.196.x.x     34.196.x.x
>> >
>> > Actully scenerio is from A to C a http request I am trying to make ,and due to some restriction the ping is block from node c or from gateway end.
>> > so i am not able to check my connectivity or need some help for configuration / trouble shoot because ping is not blocked.
>> >
>> > >your pool6 and, if you're using SIIT, also your EAM table
>> >
>> >
>> > I am using satefull NAT64 and not much expertise in SIIT and EAM.
>> > #my pool4 is
>> > jool -i alpha1  pool4 display --icmp
>> > +------------+-------+--------------------+-----------------+-------------+
>> > |       Mark | Proto |     Max iterations |         Address |       Ports |
>> > +------------+-------+--------------------+-----------------+-------------+
>> > |          0 |  ICMP |       1024 ( auto) |     172.19.61.209 | 61001-65535 |
>> > +------------+-------+--------------------+-----------------+-------------+
>> >
>> > #my added pool6 is as
>> > jool instance add alpha1 --iptables --pool6 2001:ab5::/96
>> >
>> > On Tue, Jul 28, 2020 at 8:32 PM Alberto Leiva <ydahhrk at gmail.com> wrote:
>> >>
>> >> > Q how node A to C connectivity check can be obtain  ,as the ping is blocked at Server C. ? Node A makes http request to Server C.
>> >>
>> >> Sorry, it seems like you answered your own question.
>> >> Are you asking how the request should look like? For that, we need
>> >> your pool6 and, if you're using SIIT, also your EAM table.
>> >>
>> >> On Tue, Jul 28, 2020 at 1:21 AM Kunal Chauhan via Jool-list
>> >> <jool-list at nic.mx> wrote:
>> >> >
>> >> > Hi Team,
>> >> >
>> >> > As for as I putted my jool in following network
>> >> >
>> >> > Network detail:
>> >> >
>> >> > node A  ----           Jool (B)        ------node (G )gatway  ------- node C (Server)
>> >> > 1234::6        1234::1 | 172.19.61.x     172.19.61.x | 34.196.x.x     34.196.x.x
>> >> >
>> >> > Status:
>> >> > A ----> B is ping is working. on ipv6
>> >> > B---->  G is pingable on ipv4
>> >> >
>> >> > if G ---> C ping is suppose to be work fine as per network.
>> >> >
>> >> > Query:
>> >> > Q how node A to C connectivity check can be obtain  ,as the ping is blocked at Server C. ? Node A makes http request to Server C.
>> >> >
>> >> > --
>> >> > Thanks
>> >> > kunal
>> >> > _______________________________________________
>> >> > Jool-list mailing list
>> >> > Jool-list at nic.mx
>> >> > https://mail-lists.nic.mx/listas/listinfo/jool-list
>> >
>> >
>> >
>> > --
>> > Thanks with Regards!
>> >
>> > Kunal Chauhan
>> > Mob:09813614826
>> > Mob:08860397903
>> > E-mail:atkunalchauhan at gmail.com
>> >
>
>
>
> --
> Thanks with Regards!
>
> Kunal Chauhan
> Mob:09813614826
> Mob:08860397903
> E-mail:atkunalchauhan at gmail.com
>


More information about the Jool-list mailing list