From owner-freebsd-questions@FreeBSD.ORG Tue Jun 17 19:39:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A19B1065675 for ; Tue, 17 Jun 2008 19:39:30 +0000 (UTC) (envelope-from maddaemon@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.191]) by mx1.freebsd.org (Postfix) with ESMTP id A44858FC19 for ; Tue, 17 Jun 2008 19:39:29 +0000 (UTC) (envelope-from maddaemon@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so4133595fkk.11 for ; Tue, 17 Jun 2008 12:39:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=rdIhZpFnG/mVO6caiUnUIJRKTtxAwmIiBQO2TE4j0YU=; b=PvF/BL/dFC+NuIK9o/DsJ2CJb+dJmGDC7sJ/6YC/XCjsmpbA6imNS/JbenY+G6UzAX ys7VyU594vwLnVr21K1l8oK9FFeq7wAJDrdGEyrhVlWthr/C2E+H/Yl3dd6U6RsfbZNm E4qcWxc9GsJ+mPeTcimCJy/HXmNPIxJxP05jU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=T5rywRFDVsrGwH7AO/0Y4JnLurbJwPSfWc4NO8OxPqgRQ8YrnDEPCQvs67h5Rpmkvu 0kiCFOviE5qt29z+111My85XqxS6lxHftq8Y2WJBUpannLlC9KwTxhiJ5H5GGPDtweSe cnaFH2K9Y2DTUMDnldSaI7ZZLki1WUxjqbDfY= Received: by 10.82.113.6 with SMTP id l6mr488552buc.88.1213729891567; Tue, 17 Jun 2008 12:11:31 -0700 (PDT) Received: by 10.82.188.6 with HTTP; Tue, 17 Jun 2008 12:11:31 -0700 (PDT) Message-ID: <6c1774c50806171211g147f41ahb5e2edf0334dad93@mail.gmail.com> Date: Tue, 17 Jun 2008 15:11:31 -0400 From: "The MadDaemon" To: "FreeBSD - Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Dual NIC routing (?) problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2008 19:39:30 -0000 List, I'm having a problem with a dual-homed host running 7.0-RELEASE with regards to traffic on one of the interfaces that I'm hoping someone knows something about. The goal of this box is to run Nessus on bge0 only (which is plugged into a trunk port on a switch), keeping fxp0 free as the admin interface and for serving web pages on my LAN. Here's ifconfig: bge0: flags=8802 metric 0 mtu 1500 options=9b ether 00:19:b9:22:a8:22 inet 0.0.0.0 netmask 0xffffff00 broadcast 0.0.0.255 media: Ethernet autoselect (100baseTX ) status: active fxp0: flags=8843 metric 0 mtu 1500 options=b ether 00:02:b3:bb:59:17 inet 10.20.10.24 netmask 0xffffff00 broadcast 172.20.10.255 inet 10.20.10.28 netmask 0xffffffff broadcast 172.20.10.28 inet 10.20.10.29 netmask 0xffffffff broadcast 172.20.10.29 media: Ethernet autoselect (100baseTX ) status: active /etc/rc.conf section: # Created: Mon Jun 9 09:32:52 2008 defaultrouter="10.20.10.254" hostname="darkhorse.mydomain.local" ifconfig_fxp0="inet 10.20.10.24 netmask 255.255.255.0" ifconfig_fxp0_alias0="inet 10.20.10.28 netmask 255.255.255.255" ifconfig_fxp0_alias1="inet 10.20.10.29 netmask 255.255.255.255" ifconfig_bge0="inet 0.0.0.0 netmask 255.255.255.0" I'm not sure what other changes need to be made or where, but when I assign an IP/netmask to bge0, bring up the interface, and try to ping the gateway (or anything else), I get 100% packet loss. I've even tried to assign a new default route, but I get an error stating there's already a default route. I know I'm completely missing something here, but I just can't figure out *what*. Any help would be most appreciated. -MD -- It said "use Linux 2.4 kernel or better" so I installed FreeBSD. Now everything runs better. Why didn't they just tell me to do that to begin with?