Good Morning, I'm using a wsn simulator (openWSN) in which nodes can communicate using a "tun0" interface. I'm using ubuntu 16.04.

My goal is pinging the DAG root, once of these nodes, from an other pc that is in an other network. The DAG root has a IPv6 address bbbb::1415:92cc:0:1 and nodes communicate using the tun0. I'm thinking to procede in this way:

1) ping the tun0 interface

2) redirect data that arrive at tun0 to the DAG root

Is this the right approach? Trying to approach to (1) I've realized that is not possible ping the tun0 because hasn't a global IPv6. I suppose that a static IP is needed, but how to do?

Here some network informations:

"route -n" shows:

    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.151.0.1      0.0.0.0         UG    0      0        0 eth0
10.91.0.0       0.0.0.0         255.255.0.0     U     9      0        0 wlan0
10.151.0.0      0.0.0.0         255.255.0.0     U     1      0        0 eth0

"ip a" shows:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 14:58:d0:c8:20:03 brd ff:ff:ff:ff:ff:ff
    inet 10.151.1.22/16 brd 10.151.255.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::1658:d0ff:fec8:2003/64 scope link 
       valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 9c:ad:97:9d:fd:0d brd ff:ff:ff:ff:ff:ff
    inet 10.91.3.113/16 brd 10.91.255.255 scope global wlan0
       valid_lft forever preferred_lft forever
    inet6 fe80::9ead:97ff:fe9d:fd0d/64 scope link 
       valid_lft forever preferred_lft forever
7: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 500
    link/none 
    inet6 bbbb::1/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::1/64 scope link 
       valid_lft forever preferred_lft forever

Can someone help me? thank you

chiesto 17 Ott '16, 16:00

dgnicolay's gravatar image

dgnicolay
2012

chiuso 17 Ott '16, 16:23

dadexix86's gravatar image

dadexix86 ♦♦
16.9k716161

Hi, and welcome to the Italian support page for Ubuntu and flavours!
Here, the required language is Italian.

Please rewrite your question in Italian (I will re-open it then) or for international support please refer to the Community Support webpage, that contains all the needed informations and links to international support services.

(17 Ott '16, 16:26) dadexix86 ♦♦ dadexix86's gravatar image

La domanda è stata chiusa con il seguente motivo «Domanda in inglese» da dadexix86 17 Ott '16, 16:23

Segui questa domanda

Via email:

Una volta eseguito l'accesso potrai iscriverti a tutti gli aggiornamenti qui

Via RSS:

Risposte

Risposte e commenti

Basi di markdown

  • *corsivo* o __corsivo__
  • **grassetto** o __grassetto__
  • collegamento:[testo](http://url.com/ "titolo")
  • immagine?![alt testo](/path/img.jpg "titolo")
  • elenco numerato: 1. Foo 2. Bar
  • per aggiungere un'interruzione di riga, aggiungi due spazi a fine riga e premi «Invio»
  • è supportato anche semplice HTML

Tag:

×17

domanda posta: 17 Ott '16, 16:00

domanda visualizzata: 405 volte

ultimo aggiornamento: 17 Ott '16, 16:26

Chiedi è un servizio di supporto gestito da Ubuntu-it. Contattaci!

powered by OSQAPostgreSQL database
Ubuntu e Canonical sono marchi registrati da Canonical Ltd.