Cannot get network working on my VisionFive 2 (ping a different machine).

Any ideas? Thanks!

FreeBSD machine:

$ ifconfig re0
re0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
        ether a8:a1:59:a2:50:45
        inet 192.168.10.20 netmask 0xffffff00 broadcast 192.168.10.255
        media: Ethernet autoselect (100baseTX <half-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>


VF2:

vf2# cat /etc/hostname.dwqe1
media media 100baseTX
inet autoconf
inet6 autoconf

Same for dwqe0.

vf2# dmesg | grep dwq
dwqe0 at simplebus0 gmac 0: rev 0x00, address 6c:cf:39:00:1c:29
ytphy0 at dwqe0 phy 0: YT8531 10/100/1000 PHY, rev. 11
dwqe1 at simplebus0 gmac 1: rev 0x00, address 6c:cf:39:00:1c:2a
ukphy0 at dwqe1 phy 0: Generic IEEE 802.3u media interface, rev. 8: OUI 0x000000, model 0x0012

vf2# ifconfig dwqe1
dwqe1: flags=a48843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF6TEMP,AUTOCONF6,AUTOCONF4> mtu 1500
        lladdr 6c:cf:39:00:1c:2a
        index 2 priority 0 llprio 3
        media: Ethernet 100baseTX
        status: active
        inet6 fe80::6ecf:39ff:fe00:1c2a%dwqe1 prefixlen 64 scopeid 0x2

vf2# ifconfig dwqe1 192.168.10.30 netmask 255.255.255.0

vf2# ifconfig dwqe1
dwqe1: flags=a48843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF6TEMP,AUTOCONF6,AUTOCONF4> mtu 1500
        lladdr 6c:cf:39:00:1c:2a
        index 2 priority 0 llprio 3
        media: Ethernet 100baseTX
        status: active
        inet6 fe80::6ecf:39ff:fe00:1c2a%dwqe1 prefixlen 64 scopeid 0x2
        inet 192.168.10.30 netmask 0xffffff00 broadcast 192.168.10.255

vf2# ping 192.168.10.20
PING 192.168.10.20 (192.168.10.20): 56 data bytes
ping: sendmsg: Host is down
ping: wrote 192.168.10.20 64 chars, ret=-1
ping: sendmsg: Host is down
ping: wrote 192.168.10.20 64 chars, ret=-1
ping: sendmsg: Host is down
ping: wrote 192.168.10.20 64 chars, ret=-1
^C
--- 192.168.10.20 ping statistics ---
9 packets transmitted, 0 packets received, 100.0% packet loss

vf2# netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags   Refs      Use   Mtu  Prio Iface
224/4              127.0.0.1          URS        0        0 32768     8 lo0
127/8              127.0.0.1          UGRS       0        0 32768     8 lo0
127.0.0.1          127.0.0.1          UHhl       1        2 32768     1 lo0
192.168.10/24      192.168.10.30      UCn        1        0     -     4 dwqe1
192.168.10.20      link#2             UHRLc      0        1     -     3 dwqe1
192.168.10.30      6c:cf:39:00:1c:2a  UHLl       0       33     -     1 dwqe1
192.168.10.255     192.168.10.30      UHb        0        0     -     1 dwqe1

Reply via email to