From owner-freebsd-current@FreeBSD.ORG Sat Jul 9 12:19:48 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9464616A41C for ; Sat, 9 Jul 2005 12:19:48 +0000 (GMT) (envelope-from dorijan@kset.org) Received: from marvin.kset.org (marvin.kset.org [161.53.74.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id F417343D45 for ; Sat, 9 Jul 2005 12:19:47 +0000 (GMT) (envelope-from dorijan@kset.org) Received: from insane (cmung2571.cmu.carnet.hr [192.168.1.214]) by marvin.kset.org (8.12.3/8.12.3/Debian-7.1) with ESMTP id j69CJlGa028138 for ; Sat, 9 Jul 2005 14:19:47 +0200 Received: from placebo.znet ([10.168.4.3]) by insane (602LAN SUITE 2004) id 32cce0d9 for freebsd-current@freebsd.org; Sat, 9 Jul 2005 14:18:51 +0200 Date: Sat, 9 Jul 2005 14:18:17 +0200 From: Dorijan Jelincic X-Mailer: The Bat! (v3.5.30) Professional Organization: FER X-Priority: 3 (Normal) Message-ID: <1906108251.20050709141817@kset.org> To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: ifconfig problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dorijan Jelincic List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2005 12:19:48 -0000 Hello , Problem is that if you set same ip adress twice for same adapter freebsd loosers routes to itself. Example: ifconfig rl0 192.168.1.1/24 ping 192.168.1.1 and everything is ok.. but if I do it again ifconfig rl0 192.168.1.1/24 I got no route to host also, if there is a ospfd in the system, and one adapter gone down and then up, and in the meantime freebsd got that route from ospfd, and I want to set ip adress again I got File allready exist Example: free-andromeda# ping 10.168.15.134 PING 10.168.15.134 (10.168.15.134): 56 data bytes 64 bytes from 10.168.15.134: icmp_seq=0 ttl=64 time=6.584 ms 64 bytes from 10.168.15.134: icmp_seq=1 ttl=64 time=2.896 ms 64 bytes from 10.168.15.134: icmp_seq=2 ttl=64 time=2.871 ms 64 bytes from 10.168.15.134: icmp_seq=3 ttl=64 time=2.849 ms ^C --- 10.168.15.134 ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max/stddev = 2.849/3.800/6.584/1.607 ms after couple of second, after I got routes from ospfd, ping dies (this is a redundant link, routes I got from other router but not throught this link) free-andromeda# ping 10.168.15.134 PING 10.168.15.134 (10.168.15.134): 56 data bytes ^C --- 10.168.15.134 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss but the link is still up.. and if I do this: free-andromeda# ifconfig acx0 10.168.15.133/30 free-andromeda# ping 10.168.15.133 PING 10.168.15.133 (10.168.15.133): 56 data bytes 64 bytes from 10.168.15.133: icmp_seq=0 ttl=64 time=0.248 ms 64 bytes from 10.168.15.133: icmp_seq=1 ttl=64 time=0.138 ms ^C --- 10.168.15.133 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.138/0.193/0.248/0.055 ms free-andromeda# free-andromeda# ifconfig acx0 10.168.15.133/30 free-andromeda# ping 10.168.15.133 PING 10.168.15.133 (10.168.15.133): 56 data bytes ping: sendto: No route to host ping: sendto: No route to host ^C --- 10.168.15.133 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss (problem from above) and later if I do this: free-andromeda# ifconfig acx0 10.168.160.1/24 free-andromeda# ifconfig acx0 10.168.15.133/30 ifconfig: ioctl (SIOCAIFADDR): File exists I am running current-004, and zebra 0.95 -- "Well it's just that lately I've noticed everyone seems to trust me. It's quite unnerving." - Garak, DS9 : Empok Nor Dorijan Jelincic, 9a3ajd