rk3399网络不通
我网络都配置好了,网线也查到别的板子试过了可以通信,网口也在闪烁,就是ping不通,ping 自己的地址是通的下面是我的截图:
windows的网络配置:
以太网适配器 以太网:
连接特定的 DNS 后缀 . . . . . . . :
本地链接 IPv6 地址. . . . . . . . : fe80::4de2:c306:c102:a3b4%14
IPv4 地址 . . . . . . . . . . . . : 192.168.1.241
子网掩码. . . . . . . . . . . . : 255.255.255.0
IPv4 地址 . . . . . . . . . . . . : 192.168.52.11
子网掩码. . . . . . . . . . . . : 255.255.255.0
IPv4 地址 . . . . . . . . . . . . : 192.168.100.241
子网掩码. . . . . . . . . . . . : 255.255.255.0
IPv4 地址 . . . . . . . . . . . . : 192.168.100.243
子网掩码. . . . . . . . . . . . : 255.255.255.0
默认网关. . . . . . . . . . . . . : 192.168.100.254
firefly开发板的网络配置:
root@firefly:/# cat etc/netplan/config.yaml
# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager
ethernets:
eth0:
addresses:
- 192.168.100.58/24
nameservers:
addresses:
routes:
- to: 0.0.0.0/0
via: 192.168.100.254
root@firefly:/# netplanapply
ifconfig的详情:
root@firefly:/# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>mtu 1500
inet 192.168.100.58netmask 255.255.255.0broadcast 192.168.100.255
inet6 fe80::d861:17ff:feda:15adprefixlen 64scopeid 0x20<link>
ether da:61:17:da:15:adtxqueuelen 1000(Ethernet)
RX packets 951bytes 57355 (57.3 KB)
RX errors 462dropped 50overruns 0frame 462
TX packets 113bytes 16984 (16.9 KB)
TX errors 0dropped 0 overruns 0carrier 0collisions 0
device interrupt 24
lo: flags=73<UP,LOOPBACK,RUNNING>mtu 65536
inet 127.0.0.1netmask 255.0.0.0
inet6 ::1prefixlen 128scopeid 0x10<host>
looptxqueuelen 1(Local Loopback)
RX packets 730bytes 54856 (54.8 KB)
RX errors 0dropped 0overruns 0frame 0
TX packets 730bytes 54856 (54.8 KB)
TX errors 0dropped 0 overruns 0carrier 0collisions 0
wlan0: flags=4099<UP,BROADCAST,MULTICAST>mtu 1500
ether c0:84:7d:95:d6:c6txqueuelen 1000(Ethernet)
RX packets 0bytes 0 (0.0 B)
RX errors 0dropped 0overruns 0frame 0
TX packets 0bytes 0 (0.0 B)
TX errors 0dropped 0 overruns 0carrier 0collisions 0
路由表信息:
root@firefly:/# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.100.254 0.0.0.0 UG 100 0 0 eth0
192.168.100.0 0.0.0.0 255.255.255.0 U 100 0 0 eth0
防火墙信息:
root@firefly:/# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ping 不通IP的结果
root@firefly:/# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.100.58 icmp_seq=6 Destination Host Unreachable
From 192.168.100.58 icmp_seq=7 Destination Host Unreachable
From 192.168.100.58 icmp_seq=8 Destination Host Unreachable
From 192.168.100.58 icmp_seq=9 Destination Host Unreachable
^C
--- 8.8.8.8 ping statistics ---
11 packets transmitted, 0 received, +4 errors, 100% packet loss, time 10001ms
pipe 4
root@firefly:/# ping baidu.com
ping: baidu.com: Temporary failure in name resolution
ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.077 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.128 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.130 ms
希望大佬能帮一下,不甚感激
页:
[1]