From owner-freebsd-net@FreeBSD.ORG Wed Nov 10 13:50:15 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54C4F16A4CE for ; Wed, 10 Nov 2004 13:50:15 +0000 (GMT) Received: from mail.trippynames.com (mail.trippynames.com [38.113.223.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31E9543D41 for ; Wed, 10 Nov 2004 13:50:15 +0000 (GMT) (envelope-from sean@chittenden.org) Received: from localhost (localhost [127.0.0.1]) by mail.trippynames.com (Postfix) with ESMTP id 894AFA6C2B for ; Wed, 10 Nov 2004 05:50:14 -0800 (PST) Received: from mail.trippynames.com ([127.0.0.1]) by localhost (rand.nxad.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 81088-02 for ; Wed, 10 Nov 2004 05:50:12 -0800 (PST) Received: from [192.168.123.123] (unknown [38.113.223.82]) by mail.trippynames.com (Postfix) with ESMTP id C3B11A6C8B for ; Wed, 10 Nov 2004 05:50:12 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: <7070775A-331F-11D9-A34C-000A95C705DC@chittenden.org> Content-Type: text/plain; charset=US-ASCII; format=flowed To: net@freebsd.org From: Sean Chittenden Date: Wed, 10 Nov 2004 05:50:10 -0800 X-Mailer: Apple Mail (2.619) Subject: Ability to live lock 5.3 via routing... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 13:50:15 -0000 Pretty easy for me to reproduce. The machine live locks so I can't get anything out of it, serial console or otherwise. :( Imagine a machine with two NICs, fxp0 and fxp1 (though it could be any two NICs). The following commands should lead to a lock: # Add the primary address on the external NIC ifconfig fxp0 192.168.1.2 netmask 255.255.255.0 media 100baseTX mediaopt full-duplex # Add the default gateway route add default 192.168.1.1 # Add a network to the internal interface ifconfig fxp1 10.10.10.1 netmask 255.255.255.0 media 100baseTX mediaopt full-duplex # On the external interface, on the same VLAN, there are two other networks. # Add aliases that way the machine can participate on those networks. ifconfig fxp0 alias 192.168.2.250 netmask 255.255.255.255 ifconfig fxp0 alias 192.168.3.250 netmask 255.255.255.255 # Add a route so that machines on the internal network can get # to the 192.168.2.0/24 network. This command succeeds. route add -net 192.168.2.250/24 192.168.2.250 # Add a route so that machines on the internal network can also # get to the 192.168.3.0/24 network. This command results in a hard # lock of the system. route add -net 192.168.3.250/24 192.168.3.250 I'm unable to debug this problem further. Can someone shed some light onto this and/or help me debug it further? As I've said, I can't even break to a debugger or get at the machine via a serial connection. :( Help? -sc -- Sean Chittenden