Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2001 05:42:57 -0800 (PST)
From:      tafkam@tafkam.myweb.nl
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/25801: change IP-address on pccard (3Com) fails
Message-ID:  <200103141342.f2EDgvw04551@freefall.freebsd.org>

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

>Number:         25801
>Category:       misc
>Synopsis:       change IP-address on pccard (3Com) fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 14 05:50:00 PST 2001
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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