Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2012 18:12:37 GMT
From:      Irakli M <ika256@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/168268: if_re doesn't work if you set MAC address
Message-ID:  <201205231812.q4NICbFU021016@red.freebsd.org>
Resent-Message-ID: <201205231820.q4NIK2RA028096@freefall.freebsd.org>

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

>Number:         168268
>Category:       kern
>Synopsis:       if_re doesn't work if you set MAC address
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 23 18:20:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Irakli M
>Release:        9.0 Release
>Organization:
home
>Environment:
FreeBSD  9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:15:25 UTC 2012     root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
if_re has a bug
If you set ether address in ifconfig, ping fails,
but after, if you change interface to promiscuous mode ping become work.



re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>


re0@pci0:2:0:0: class=0x020000 card=0x816810ec chip=0x816810ec rev=0x06 hdr=0x00
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
    class      = network
    subclass   = ethernet

>How-To-Repeat:
/etc/rc.conf

ifconfig_re0="inet 192.168.0.2/24"	 	ping works

ifconfig_re0="inet 192.168.0.2/24"
ifconfig_re0_alias0="ether 00:02:1a:2b:3c:4d"	ping fails

tcpdump -i re0 				ping works until Ctrl+C :)
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205231812.q4NICbFU021016>