From nobody@FreeBSD.org  Wed Mar 14 05:42:59 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id BADA937B719
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 14 Mar 2001 05:42:57 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f2EDgvw04551;
	Wed, 14 Mar 2001 05:42:57 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200103141342.f2EDgvw04551@freefall.freebsd.org>
Date: Wed, 14 Mar 2001 05:42:57 -0800 (PST)
From: tafkam@tafkam.myweb.nl
To: freebsd-gnats-submit@FreeBSD.org
Subject: change IP-address on pccard (3Com) fails
X-Send-Pr-Version: www-1.0

>Number:         25801
>Category:       misc
>Synopsis:       change IP-address on pccard (3Com) fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    imp
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 14 05:50:00 PST 2001
>Closed-Date:    Sun Sep 29 12:19:14 MDT 2002
>Last-Modified:  Sun Sep 29 12:19:14 MDT 2002
>Originator:     Eilko Bos
>Release:        4.3-BETA (Wed Mar 14 12:00:20)
>Organization:
>Environment:
FreeBSD linda 4.2-BETA FreeBSD 4.2-BETA #0: Wed Nov 22 12:03:04 CET 2000     tafkam@linda:/usr/obj/usr/src/sys/STEALTH  i386

FreeBSD linda 4.3-BETA FreeBSD 4.3-BETA #0: Wed Mar 14 12:00:20 CET 2001     tafkam@linda:/usr/obj/home/src/sys/STEALTH  i386

>Description:
I have a Dell Latitude CPt with a 3Com 3CCFEM556B pcmcia card.
This is recognized by the kernel as interface 'ep0'.
I had the problem with my 4.2-BETA kernel, I found out last week.
I cvsupped this morning, built a new kernel, and still have the problem.

When I add an ip-address by hand with:

ifconfig ep0 192.168.1.123 netmask 255.255.255.0 broadcast 192.168.1.255
it succeeds. I can connect to other machines. When I change the
ip-address to something else like:

ifconfig ep0 192.168.1.222 netmask 255........

then 'ifconfig' will show the new ip-address correctly.
However, when connecting to other machines, or doing a ping, the
interface will still think it has 192.168.1.123 as ip-address. So
no networktraffic is possible for this interface:
It, on one hand, thinks it is 192.168.1.222. While pinging to another
machine, it will do an
192.168.1.123 icmp-request (which is answerd with an icmp-reply to
192.168.1.123). 
ep0 does not pick this up, since it thinks it is 192.168.1.222

An `ifconfig ep0 delete ` in between does not help either.

When changing the ip-address by means of dhclient
(Internet Software Consortium DHCP Client) there are no problems at all.

The only way to get things right by hand is to remove the card from its
slot and put it back in. In that way the interface will be gone
completely.

>How-To-Repeat:
Just manually change the ip-address of ep0. 
>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->imp 
Responsible-Changed-By: unfurl 
Responsible-Changed-When: Wed May 30 22:33:40 PDT 2001 
Responsible-Changed-Why:  
imp asked for it 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25801 
State-Changed-From-To: open->closed 
State-Changed-By: imp 
State-Changed-When: Sun Sep 29 12:18:55 MDT 2002 
State-Changed-Why:  
This works on the cards I just tried here. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=25801 
>Unformatted:
