[Click] click Digest, Vol 93, Issue 17

Gcina Dludla gcinalo at gmail.com
Mon Mar 21 12:02:36 EDT 2011


how to ping I ping the computer outside my network?

On Fri, Mar 18, 2011 at 6:00 PM, <click-request at pdos.csail.mit.edu> wrote:

> Send click mailing list submissions to
>        click at amsterdam.lcs.mit.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> or, via email, send a message with subject or body 'help' to
>        click-request at amsterdam.lcs.mit.edu
>
> You can reach the person managing the list at
>        click-owner at amsterdam.lcs.mit.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of click digest..."
>
>
> Today's Topics:
>
>   1. Re: click Digest, Vol 93, Issue 16 (wubaochuan)
>   2. Re: click Digest, Vol 93, Issue 16 (Beyers Cronje)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 18 Mar 2011 09:09:37 +0800
> From: wubaochuan <wubaochuan at seu.edu.cn>
> Subject: Re: [Click] click Digest, Vol 93, Issue 16
> To: click at pdos.csail.mit.edu
> Message-ID: <500410586.07368 at seu.edu.cn>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Harald,
>       Thank you for your response! According to manual page of
>       I have tried:
>       ip :: Strip(14)  -> IPPrint -> ipc :: IPClassifier(10.0.0.1/24, -);
>       ipc[0] -> sia :: SetIPAddress(10.0.0.1) -> rtsrc :: DirectIPLookup(
>                10.0.0.1/24    10.0.2.2    0,
>                0.0.0.0/0.0.0.0    0
>        );
>
>        But click core dump after several seconds it started.
>
>
>
> Yours
> Chuan
>
>
>
> click-request at pdos.csail.mit.edu wrote:
> >    2. Re: Help, how to route according to source IP address of an
> >       IP packet (Harald Schioeberg)
> > Message: 2
> > Date: Thu, 17 Mar 2011 10:20:49 +0100
> > From: Harald Schioeberg <harald at net.t-labs.tu-berlin.de>
> > Subject: Re: [Click] Help, how to route according to source IP address
> >       of an IP packet
> > To: click at pdos.csail.mit.edu
> > Message-ID: <4D81D271.1070302 at net.t-labs.tu-berlin.de>
> > Content-Type: text/plain; charset=ISO-8859-1
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> >
> >
> > On 03/12/2011 03:55 PM, wubaochuan wrote:
> >
> >> hi everyone,
> >>         The IPv4 Routing elements can route IP packets according to the
> >> destination address of IP packets,
> >>
> >
> > looking at iproutetable.cc:153:
> >     int port = lookup_route(p->dst_ip_anno(), gw);
> >
> > it looks like the route-tables actually use the destination annotation...
> >
> >
> > How to route IP packets according to
> >
> >> source address of IP packets?
> >>
> >
> > and you can set the DstAnno using GetIPAddress, to grab the source IP
> > you would use offset 12,...
> >
> > that means
> >       GetIPAddress(12)->SomeIPRoutetable(...)
> >
> > should do the trick.
> >
> >
> >> I want to forward all IP packets from
> >> 10.2.2.0/24 to a machine.
> >>
> >
> > well, this simple case can be done just using a classifier, like:
> >
> > Classifier(12/0a020200%ffffff00, - )
> >
> > I tried none of these, but maybe they set you on the right track.
> >
> >       Harald
> >
> >
> >
> >>        Thank you.
> >> Yours
> >> Chuan
> >> _______________________________________________
> >> click mailing list
> >> click at amsterdam.lcs.mit.edu
> >> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> >>
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.10 (GNU/Linux)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> >
> > iEYEARECAAYFAk2B0m4ACgkQy8wrZ9OvkU1+dwCeMe9zNrZpWnilblFWcC0W2Q88
> > tzwAoIyBmJ9sBTSahgDdag2tejo0IJfM
> > =lQAE
> > -----END PGP SIGNATURE-----
> >
> >
>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 18 Mar 2011 03:17:27 +0200
> From: Beyers Cronje <bcronje at gmail.com>
> Subject: Re: [Click] click Digest, Vol 93, Issue 16
> To: wubaochuan <wubaochuan at seu.edu.cn>
> Cc: click at pdos.csail.mit.edu
> Message-ID:
>        <AANLkTimfS45qQ2Hu081q8goq71_xUQgwXA66S0Umfa2R at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> Before using IPPrint or IPClassifier you need to use MarkIPHeader or
> CheckIPHeader to set the IP header annotations.
>
> Beyers
>
> On Fri, Mar 18, 2011 at 3:09 AM, wubaochuan <wubaochuan at seu.edu.cn> wrote:
>
> > Hi Harald,
> >       Thank you for your response! According to manual page of
> >       I have tried:
> >       ip :: Strip(14)  -> IPPrint -> ipc :: IPClassifier(10.0.0.1/24,
> -);
> >       ipc[0] -> sia :: SetIPAddress(10.0.0.1) -> rtsrc :: DirectIPLookup(
> >                10.0.0.1/24    10.0.2.2    0,
> >                0.0.0.0/0.0.0.0    0
> >        );
> >
> >        But click core dump after several seconds it started.
> >
> >
> >
> > Yours
> > Chuan
> >
> >
> >
> > click-request at pdos.csail.mit.edu wrote:
> > >    2. Re: Help, how to route according to source IP address of an
> > >       IP packet (Harald Schioeberg)
> > > Message: 2
> > > Date: Thu, 17 Mar 2011 10:20:49 +0100
> > > From: Harald Schioeberg <harald at net.t-labs.tu-berlin.de>
> > > Subject: Re: [Click] Help, how to route according to source IP address
> > >       of an IP packet
> > > To: click at pdos.csail.mit.edu
> > > Message-ID: <4D81D271.1070302 at net.t-labs.tu-berlin.de>
> > > Content-Type: text/plain; charset=ISO-8859-1
> > >
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > >
> > >
> > > On 03/12/2011 03:55 PM, wubaochuan wrote:
> > >
> > >> hi everyone,
> > >>         The IPv4 Routing elements can route IP packets according to
> the
> > >> destination address of IP packets,
> > >>
> > >
> > > looking at iproutetable.cc:153:
> > >     int port = lookup_route(p->dst_ip_anno(), gw);
> > >
> > > it looks like the route-tables actually use the destination
> annotation...
> > >
> > >
> > > How to route IP packets according to
> > >
> > >> source address of IP packets?
> > >>
> > >
> > > and you can set the DstAnno using GetIPAddress, to grab the source IP
> > > you would use offset 12,...
> > >
> > > that means
> > >       GetIPAddress(12)->SomeIPRoutetable(...)
> > >
> > > should do the trick.
> > >
> > >
> > >> I want to forward all IP packets from
> > >> 10.2.2.0/24 to a machine.
> > >>
> > >
> > > well, this simple case can be done just using a classifier, like:
> > >
> > > Classifier(12/0a020200%ffffff00, - )
> > >
> > > I tried none of these, but maybe they set you on the right track.
> > >
> > >       Harald
> > >
> > >
> > >
> > >>        Thank you.
> > >> Yours
> > >> Chuan
> > >> _______________________________________________
> > >> click mailing list
> > >> click at amsterdam.lcs.mit.edu
> > >> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> > >>
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v1.4.10 (GNU/Linux)
> > > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> > >
> > > iEYEARECAAYFAk2B0m4ACgkQy8wrZ9OvkU1+dwCeMe9zNrZpWnilblFWcC0W2Q88
> > > tzwAoIyBmJ9sBTSahgDdag2tejo0IJfM
> > > =lQAE
> > > -----END PGP SIGNATURE-----
> > >
> > >
> >
> > _______________________________________________
> > click mailing list
> > click at amsterdam.lcs.mit.edu
> > https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> >
>
>
> ------------------------------
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
>
> End of click Digest, Vol 93, Issue 17
> *************************************
>



-- 

Warm Regards
Angeline Gcina Dludla

*MSc Candidate (IT Engineering)*
*KAIST University*
Global IT Technology Program (ITTP)

119 Munji-ro, Yuseong-gu, Deajeon

305-732, Republic of Korea

Cell: +82-42-2226-8084

Fax: +82-42-350-6858

E-mail: gcinalo at gmail.com <mncedisie at gmail.com> / gcinalo at kaist.ac.kr

http://ittp.kaist.ac.kr


More information about the click mailing list