From owner-freebsd-bugs Sat May 25 12:30:13 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4099537B404 for ; Sat, 25 May 2002 12:30:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4PJU2p40650; Sat, 25 May 2002 12:30:02 -0700 (PDT) (envelope-from gnats) Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117]) by hub.freebsd.org (Postfix) with ESMTP id 424D037B406 for ; Sat, 25 May 2002 12:23:41 -0700 (PDT) Received: from www.freebsd.org (localhost [127.0.0.1]) by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g4PJNehG054303 for ; Sat, 25 May 2002 12:23:40 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.2/8.12.2/Submit) id g4PJNeOM054302; Sat, 25 May 2002 12:23:40 -0700 (PDT) Message-Id: <200205251923.g4PJNeOM054302@www.freebsd.org> Date: Sat, 25 May 2002 12:23:40 -0700 (PDT) From: Guido Laubner To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/38554: changing interface ipaddress doesn't seem to work Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 38554 >Category: kern >Synopsis: changing interface ipaddress doesn't seem to work >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 25 12:30:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Guido Laubner >Release: 4.0-RELEASE >Organization: >Environment: FreeBSD gatekeeper.die-insel.germany.net 4.0-RELEASE #2: Sun Mar 11 23:42:23 MET 2001 guido@gatekeeper.die-insel.germany.net:/usr/src/sys/compile/GATEKEEPER i386 >Description: When I change the IP address of an interface the system continues to use the old address. Ifconfig does display the new address though. I've changed the IP address multiple times and the systems seem to love the very first address for that interface, which was set on boot time. I do have another system (same version, different HW aparat from networking interface) which shows the same problem. >How-To-Repeat: In a window do this: prompt# more /tmp/bla *.* @192.168.0.88 prompt# ifconfig -a rl0: flags=8843 mtu 1500 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:30:84:3a:26:16 media: autoselect (100baseTX ) status: active supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP 100baseTX ep0: flags=8943 mtu 1492 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 ether 00:a0:24:56:f7:e0 media: 10baseT/UTP supported media: 10base2/BNC 10baseT/UTP 10base5/AUI sl0: flags=c010 mtu 552 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 prompt# < kill syslogd now > prompt# syslogd -f /tmp/bla prompt# tcpdump -n -i ep0 tcpdump: listening on ep0 20:45:49.015965 arp who-has 192.168.0.88 tell 192.168.0.1 20:45:56.968093 arp who-has 192.168.0.44 tell 192.168.0.44 20:48:33.186548 arp who-has 192.168.0.88 tell 192.168.0.1 In other window (on same machine!) 20:45:49# logger test 20:45:56# ifconfig ep0 192.168.0.44 20.48:33# logger test Watch when the machine arps for it's new ip. The next "logger" doesn't cause a new arp request for the syslog server with the _NEW_ ip, but with the old ip ! It doesn't change when it stop the syslogd and start a new one after changing the ip. >Fix: Sorry... >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message