Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not ping6 to nodes #403

Open
llaughing opened this issue Oct 16, 2019 · 0 comments
Open

Could not ping6 to nodes #403

llaughing opened this issue Oct 16, 2019 · 0 comments

Comments

@llaughing
Copy link

The issuse is that I can ping from PC to bbbb::100 and slip-radio but cannot ping from PC to nodes

Here are my configurations
RAW_ETH=0
BRIDGE=1
CREATE_BRIDGE=0
DEV_ETH=enxb827eb92ab64
DEV_BRIDGE=br0
DEV_TAP=tap0

LOG_LEVEL=3
and when i ping nodes ,it appear from bbbb::ba27:ebff:feb0:2d23 icmp_seq=1Destination unreachable Address unreachable
6lbr.log
/usr/lib/6lbr/bin/cetic_6lbr_router -c /etc/6lbr/nvm.dat -o /etc/6lbr/nvm.conf -s /dev/ttyUSB0 -R -t tap0 -B 115200 -U /usr/lib/6lbr/6lbr-ifup -D /usr/lib/6lbr/6lbr-ifdown -w /usr/lib/6lbr/www -L 3 -W /var/log/6lbr.timestamp -P 60 -C /var/log/6lbr.ip -m /usr/lib/6lbr/plugins
Contiki-develop-1.4.1 started with IPV6, RPL
Rime started with address 1.2.3.4.5.6.7.8
MAC mac_wrapper RDC br-rdc SEC llsec-wrapper NETWORK sicslowpan
2019-10-16 20:10:31.420451: NOTICE: 6LBR: Starting 6LBR version 1.4.x (Contiki-develop-1.4.1)
2019-10-16 20:10:31.420811: INFO: ETH: 6LBR watchdog started (interval: 60)
2019-10-16 20:10:31.421130: INFO: PLUGIN: Loading /usr/lib/6lbr/plugins/dummy.so
2019-10-16 20:10:31.421508: INFO: PLUGIN: Loading /usr/lib/6lbr/plugins/lwm2m.so
2019-10-16 20:10:31.421862: INFO: PLUGIN: Initialising lwm2m-client
2019-10-16 20:10:31.421980: INFO: NVM: NVM Magic : 2009
2019-10-16 20:10:31.422001: INFO: NVM: NVM Version : 5
2019-10-16 20:10:31.422020: INFO: CONFIG: Loading configuration : /etc/6lbr/nvm.conf
2019-10-16 20:10:31.422054: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2019-10-16 20:10:31.422094: NOTICE: 6LBR: Log level: 30 (services: ffffffff)
2019-10-16 20:10:31.422128: INFO: MAC: Using 'csma' mac driver
2019-10-16 20:10:31.423793: INFO: SLIP: SLIP started on /dev/ttyUSB0
2019-10-16 20:10:31.434453: INFO: SCMD: Started br-cmd process
2019-10-16 20:10:31.434542: INFO: BR-RDC: Reset SLIP Radio
2019-10-16 20:10:31.434602: INFO: BR-RDC: Fetching MAC address
2019-10-16 20:10:31.441359: ERROR: SLIP: Unknown command
2019-10-16 20:10:31.441509: INFO: BR-RDC: Got MAC: 00:12:4b:00:05:af:83:1a
2019-10-16 20:10:32.434811: INFO: ETH: TAP Ethernet interface init
2019-10-16 20:10:32.436712: INFO: TAP: opened device /dev/tap0
2019-10-16 20:10:32.437171: INFO: TAP: Running 6lbr-ifup script '/usr/lib/6lbr/6lbr-ifup'
6lbr-ifup: Attach device tap0 to bridge br0
br0: flags=4163 mtu 1500
inet6 bbbb::ba27:ebff:feb0:2d23 prefixlen 64 scopeid 0x0
inet6 fe80::ba27:ebff:feb0:2d23 prefixlen 64 scopeid 0x20
ether b8:27:eb:b0:2d:23 txqueuelen 1000 (Ethernet)
RX packets 2731 bytes 738469 (721.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3189 bytes 327156 (319.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

tap0: flags=4163 mtu 1500
ether 02:0a:0b:0c:0d:0e txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

2019-10-16 20:10:32.604447: INFO: ETH: Eth MAC address : 02:00:05:af:83:1a
2019-10-16 20:10:32.604570: INFO: LLSEC: Using 'nullsec' llsec driver
2019-10-16 20:10:32.604616: INFO: 6LBR: Security layer initialized
2019-10-16 20:10:32.604786: ERROR: SLIP: Unknown command
2019-10-16 20:10:32.604864: INFO: HTTP: Starting webserver on port 80
2019-10-16 20:10:32.605109: INFO: NODECFG: Node Config init
2019-10-16 20:10:32.605162: INFO: NODECFG: No node_config.conf file specified
2019-10-16 20:10:32.605209: INFO: 6LBR: Tentative local IPv6 address fe80::212:4b00:5af:831a
2019-10-16 20:10:32.605336: INFO: 6LBR: Tentative global IPv6 address (WSN) aaaa::212:4b00:5af:831a
2019-10-16 20:10:32.605463: INFO: 6LBR: Tentative global IPv6 address (ETH) bbbb::100
2019-10-16 20:10:32.605538: INFO: 6LBR: RA Daemon enabled
2019-10-16 20:10:32.605580: INFO: 6LBR: Checking addresses duplication
2019-10-16 20:10:32.973379: ERROR: PF: Trying to send empty packet
2019-10-16 20:10:34.037244: ERROR: PF: Trying to send empty packet
2019-10-16 20:10:43.608374: INFO: 6LBR: Configured as DODAG Root aaaa::212:4b00:5af:831a
2019-10-16 20:10:43.608719: INFO: 6LBR: Starting IP64
2019-10-16 20:10:43.608829: INFO: 6LBR: IPv4 address : 172.16.0.2
2019-10-16 20:10:43.608957: INFO: 6LBR: Starting as RPL ROUTER
2019-10-16 20:10:43.609795: INFO: CONFIG: Loading configuration : /etc/6lbr/nvm.conf
2019-10-16 20:10:43.609931: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2019-10-16 20:10:43.610041: INFO: UDPS: UDP server started
CoAP push started
CoAP server started
2019-10-16 20:10:43.610232: INFO: DNS: DNS proxy started
2019-10-16 20:10:43.610338: INFO: PLUGIN: Initialising dummy
2019-10-16 20:10:43.610411: INFO: DUMMY: Dummy init
2019-10-16 20:10:43.610495: INFO: PLUGIN: Initialising lwm2m-client
2019-10-16 20:10:43.610567: INFO: LWM2M: LWM2M Client init
2019-10-16 20:10:43.610654: INFO: CONFIG: Loading configuration : /etc/6lbr/nvm.conf
2019-10-16 20:10:43.610737: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2019-10-16 20:10:43.610814: INFO: 6LBR: CETIC 6LBR Started
RD client started
2019-10-16 20:11:07.497586: ERROR: BR-RDC: br-rdc: send failed, slip ack timeout (9)
2019-10-16 20:11:07.525692: ERROR: BR-RDC: br-rdc: ack received for unknown packet (9)
2019-10-16 20:29:33.399844: FATAL: SLIP: read() : No such file or directory
2019-10-16 20:29:33.400551: INFO: TAP: Running 6lbr-ifdown script '/usr/lib/6lbr/6lbr-ifdown'
6lbr-ifdown: Remove interface tap0
2019-10-16 20:29:33.502189: INFO: BR-RDC: Set MAC: 00:00:00:00:00:00:00:00
2019-10-16 20:29:33.502635: FATAL: SLIP: slip_flushbuf::write() : Input/output error


2019骞� 10鏈� 16鏃� 鏄熸湡涓� 20:29:34 CST : Starting 6LBR
/usr/lib/6lbr/bin/cetic_6lbr_router -c /etc/6lbr/nvm.dat -o /etc/6lbr/nvm.conf -s /dev/ttyUSB0 -R -t tap0 -B 115200 -U /usr/lib/6lbr/6lbr-ifup -D /usr/lib/6lbr/6lbr-ifdown -w /usr/lib/6lbr/www -L 3 -W /var/log/6lbr.timestamp -P 60 -C /var/log/6lbr.ip -m /usr/lib/6lbr/plugins
Contiki-develop-1.4.1 started with IPV6, RPL
Rime started with address 1.2.3.4.5.6.7.8
MAC mac_wrapper RDC br-rdc SEC llsec-wrapper NETWORK sicslowpan
2019-10-16 20:29:34.565233: NOTICE: 6LBR: Starting 6LBR version 1.4.x (Contiki-develop-1.4.1)
2019-10-16 20:29:34.565548: INFO: ETH: 6LBR watchdog started (interval: 60)
2019-10-16 20:29:34.565886: INFO: PLUGIN: Loading /usr/lib/6lbr/plugins/dummy.so
2019-10-16 20:29:34.566232: INFO: PLUGIN: Loading /usr/lib/6lbr/plugins/lwm2m.so
2019-10-16 20:29:34.566536: INFO: PLUGIN: Initialising lwm2m-client
2019-10-16 20:29:34.566649: INFO: NVM: NVM Magic : 2009
2019-10-16 20:29:34.566670: INFO: NVM: NVM Version : 5
2019-10-16 20:29:34.566688: INFO: CONFIG: Loading configuration : /etc/6lbr/nvm.conf
2019-10-16 20:29:34.566721: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2019-10-16 20:29:34.566757: NOTICE: 6LBR: Log level: 30 (services: ffffffff)
2019-10-16 20:29:34.566777: INFO: MAC: Using 'csma' mac driver
2019-10-16 20:29:34.571764: INFO: SLIP: SLIP started on /dev/ttyUSB0
2019-10-16 20:29:34.582520: INFO: SCMD: Started br-cmd process
2019-10-16 20:29:34.582674: INFO: BR-RDC: Reset SLIP Radio
2019-10-16 20:29:34.582748: INFO: BR-RDC: Fetching MAC address
2019-10-16 20:29:34.587962: ERROR: SLIP: Unknown command
2019-10-16 20:29:34.588153: INFO: BR-RDC: Got MAC: 00:12:4b:00:05:af:83:1a
2019-10-16 20:29:34.935467: FATAL: SLIP: read() : No such file or directory

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant