kern/168268: if_re doesn't work if you set MAC address

Irakli M ika256 at gmail.com
Wed May 23 18:20:02 UTC 2012


>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 at 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 at 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:


More information about the freebsd-bugs mailing list