Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2019 05:54:14 +0700
From:      Budi Janto <budijanto@studiokaraoke.co.id>
To:        freebsd-questions@freebsd.org
Subject:   alc0 network interface problem
Message-ID:  <a6724e4d-a8f2-45bc-792d-2327e1f5fc8e@studiokaraoke.co.id>

next in thread | raw e-mail | index | archive | help
Hi,

I use onboard Atheros Giga network interface on GigaByte motherboard, 
but get strange problem here.

root@MTS-DB-P1:~ # uname -a
FreeBSD MTS-DB-P1 12.1-RELEASE-p1 FreeBSD 12.1-RELEASE-p1 GENERIC  amd64

root@MTS-DB-P1:~ # dmesg | grep alc
alc0: <Atheros AR8161 PCIe Gigabit Ethernet> port 0xd000-0xd07f mem 
0xf7c00000-0xf7c3ffff irq 18 at device 0.0 on pci2
alc0: 11776 Tx FIFO, 12032 Rx FIFO
alc0: Using 1 MSIX message(s).
miibus1: <MII bus> on alc0
alc0: Using defaults for TSO: 65518/35/2048
alc0: Ethernet address: 94:de:80:c4:50:2f

root@MTS-DB-P1:~ # kldstat -v | grep alc
                  49 alc/miibus
                  48 pci/alc

root@MTS-DB-P1:~ # ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
 
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
         ether 18:d6:c7:02:9b:45
         inet 192.168.0.250 netmask 0xffffff00 broadcast 192.168.0.255
         media: Ethernet autoselect (1000baseT <full-duplex>)
         status: active
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
alc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
 
options=c319a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MCAST,WOL_MAGIC,VLAN_HWTSO,LINKSTATE>
         ether 94:de:80:c4:50:2f
         inet 192.168.1.150 netmask 0xffffff00 broadcast 192.168.1.255
         media: Ethernet 1000baseT <full-duplex> (100baseTX <full-duplex>)
         status: active
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
         options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
         inet6 ::1 prefixlen 128
         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
         inet 127.0.0.1 netmask 0xff000000
         groups: lo
         nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

root@MTS-DB-P1:~ # ping -c5 192.168.1.150
PING 192.168.1.150 (192.168.1.150): 56 data bytes
64 bytes from 192.168.1.150: icmp_seq=0 ttl=64 time=0.025 ms
64 bytes from 192.168.1.150: icmp_seq=1 ttl=64 time=0.030 ms
64 bytes from 192.168.1.150: icmp_seq=2 ttl=64 time=0.034 ms
64 bytes from 192.168.1.150: icmp_seq=3 ttl=64 time=0.027 ms
64 bytes from 192.168.1.150: icmp_seq=4 ttl=64 time=0.039 ms

Everything looks like OK, But always failed ping to outside the machine. 
No error reporting from dmesg or /var/log/messages

root@MTS-DB-P1:~ # ping -c5 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
^C
--- 192.168.1.1 ping statistics ---
5 packets transmitted, 0 packets received, 100.0% packet loss

Need clue for this problem, Thank you. Note: Cable, Switch already good 
condition.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a6724e4d-a8f2-45bc-792d-2327e1f5fc8e>