[Click] Address Translation

Roman Chertov rchertov at cs.ucsb.edu
Sun Jun 14 20:02:52 EDT 2009


Khalid,

There is an element in the current GIT tree called IP6Encap.

Roman

khalid mengal wrote:
> Hello,
> 
> I want to use click to translate IPv4 packets into IPv6. Protocol translation is working fine but I have some problems in address translation. The ProtocolTranslator46 converts IPv4 addresses into "IPv4-competible IPv6 addresses" (::d.d.d.d) however I want to modify the addresses as well, e.g. into the form 2001::d.d.d.d. Can some body guide me how to do (probably using AddressTranslator)?
> 
> FromDevice(eth0)->
> Classifier(12/0800)->          /* ignore non-IP packets */
> Strip(14)->
> CheckIPHeader() ->
> IPPrint->
> ProtocolTranslator46()->
> //AddressTranslator(....)->
> CheckIP6Header()->
> IP6Print ->
> Queue->
> EtherEncap(0x0800, 1:1:1:1:1:1, 2:2:2:2:2:2)->
> ToDevice(eth1)
> 
> 
> best regards,
> Khalid
> 
> 
>       
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> 



More information about the click mailing list