[Click] readout the ip address of eth0?

Stephan Zacharias zacharia at informatik.uni-bonn.de
Thu Jun 18 02:34:43 EDT 2009


Hi Bart,

thanks for your quickly reply. Based on your answer I will create an 
element for this job. I just thought, that there is already a tool
for doing this.

Best regards,
Stephan


Bart Braem schrieb:
> On 17 Jun 2009, at 16:41, Stephan Zacharias wrote:
>
>> I am working with nsclick and I am trying to readout
>> the IP address of the simulated device eth0 in my click
>> script.  I am just able to readout the source or destination
>> IP address of a package with the GetIPAddress element.
>>
>> Does someone know a way to readout the IP address of eth0?
>> I hope someone can help me.
>
>
> I think it's currently not possible to read the IP address of an 
> interface in nsclick, but adding a handler for it can not be that hard...
>
> Regards,
> Bart



More information about the click mailing list