if_re NIC ping responds only after manual re-create or dhclient

Beeblebrox zaphod at berentweb.com
Fri Oct 18 07:15:22 UTC 2013


I can't ping (from host or client) either of two if_re NICs I have installed
on the system. I can ping to the outside from the host. I have disabled all
services (HTTP, SSH, etc.) and pf for debugging. kldstat shows re/miibus,
pci/re modules as loaded. Pinging just hangs with no output (192.168.1.10 is
IP of one of the NICs on host):
$ ping 192.168.1.10
PING 192.168.1.10 (192.168.1.10): 56 data bytes
^C
--- 192.168.1.10 ping statistics ---
23 packets transmitted, 0 packets received, 100.0% packet loss

If I request IP by dhclient or if I remove the assigned IP addresses and
then add it back with:
# ifconfig re0 192.168.1.10 delete
# ifconfig re0 192.168.1.10/24
Then self-ping starts to work. Restarting the network as a service does NOT
give the same result.

my /etc/src.conf has:  WITHOUT_INET6= yes   WITHOUT_INET6_SUPPORT= yes
/etc/rc.conf has:   ipv6_activate_all_interfaces="NO"   
ip6addrctl_enable="NO"    #ipv6_enable="NO"
/boot/loader.conf has:  ipv6_load="NO"

All I can think of, is that this is either an if_re issue (highly unlikely)
or an IPv6 setting conflict.

My hardware:
re0: <RealTek 8169/8169S/8169SB(L)/8110S/8110SB(L) Gigabit Ethernet> port
0xd800-0xd8ff mem 0xfebfbc00-0xfebfbcff irq 22 at device 7.0 on pci4
re0: Chip rev. 0x10000000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX,
100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master,
1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow,
1000baseT-FDX-flow-master, auto, auto-flow

re1: <RealTek 8168/8111 B/C/CP/D/DP/E/F PCIe Gigabit Ethernet> port
0xe800-0xe8ff mem 0xfdfff000-0xfdffffff,0xfdff8000-0xfdffbfff irq 17 at
device 0.0 on pci6
re1: Using 1 MSI-X message
re1: Chip rev. 0x2c800000
re1: MAC rev. 0x00000000
miibus1: <MII bus> on re1
rgephy1: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus1
rgephy1:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX,
100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master,
1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow,
1000baseT-FDX-flow-master, auto, auto-flow



-----
FreeBSD-9.2-stable_amd64_root-on-zfs_clang-only-world
--
View this message in context: http://freebsd.1045724.n5.nabble.com/if-re-NIC-ping-responds-only-after-manual-re-create-or-dhclient-tp5852849.html
Sent from the freebsd-stable mailing list archive at Nabble.com.


More information about the freebsd-stable mailing list