From owner-freebsd-questions@FreeBSD.ORG Sun Jan 6 06:18:45 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6842B4C1 for ; Sun, 6 Jan 2013 06:18:45 +0000 (UTC) (envelope-from aqqa11@earthlink.net) Received: from elasmtp-dupuy.atl.sa.earthlink.net (elasmtp-dupuy.atl.sa.earthlink.net [209.86.89.62]) by mx1.freebsd.org (Postfix) with ESMTP id 1C0C6345 for ; Sun, 6 Jan 2013 06:18:44 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=ZSeLZT7NHnv1dYpTUQ+QBCzsTYrzVM0FpayHz6/ABwPxsr1Uu481AGkDllyjuZRW; h=Message-ID:Date:From:Reply-To:To:Subject:Mime-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:X-ELNK-Trace:X-Originating-IP; Received: from [209.86.224.35] (helo=elwamui-huard.atl.sa.earthlink.net) by elasmtp-dupuy.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1TrjXA-0001mI-1M for freebsd-questions@freebsd.org; Sun, 06 Jan 2013 01:16:36 -0500 Received: from 108.50.132.153 by webmail.earthlink.net with HTTP; Sun, 6 Jan 2013 01:16:35 -0500 Message-ID: <10714877.1357452995765.JavaMail.root@elwamui-huard.atl.sa.earthlink.net> Date: Sun, 6 Jan 2013 01:16:35 -0500 (EST) From: John To: freebsd-questions@freebsd.org Subject: strange network problem with multiple interfaces Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailer: EarthLink Zoo Mail 1.0 X-ELNK-Trace: 2552ff5019365d7e94f5150ab1c16ac080818c873b4a4d1b1c040384235359c1019db39328e4b64f350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 209.86.224.35 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: John List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jan 2013 06:18:45 -0000 hi, I just installed stock FreeBSD 9.0 on a PowerEdge server with two network cards: bce0 is directly connected to isp's gateway bce1~3 are connected to the inside port of a router configured as 192.168.1.0/24 network with 192.168.1.1 as gateway If the ENTIRE content of /etc/rc.conf is: hostname="test.com" ifconfig_bce0="inet 1.2.3.4 netmask 255.255.255.0" defaultrouter="1.2.3.1" #the above numbers are supplied by isp ifconfig_bce1="inet 192.168.1.4 netmask 255.255.255.0" static_routes="interface1" route_interface1="-net 192.168.1.0/24 192.168.1.1" then the machine can do all public network activities without problem, but doesn't appear to be able to connect to the router at all. In fact, if I do: tcpdmp -l -i eth1 host 192.168.1.1 and then do "telnet 192.168.1.1 443", there are two wierd results: 1. the tcpdump catches nothing 2. the telnet window got the following result: Trying 192.168.1.1... telnet: connect to address 192.168.1.1: Operation not permitted telnet: Unable to connect to remote host routing table is the following: #netstat -rn Destination Gateway Flags Refs Use Netif Expire default 1.2.3.1 UGS 0 193 bce0 1.2.3.0/24 link#1 U 0 0 bce0 1.2.3.4 link#1 UHS 0 0 lo0 127.0.0.1 link#5 UH 0 0 lo0 192.168.1.0/24 192.168.1.1 UGS 0 1 bce1 192.168.1.4 link#2 UHS 0 1 lo0 No firewall is configured. Also unless there is a known relevant bug of the stock 9.0, we want to stick to this version for the moment due to some other concern. Could someone help to enlighten what I did wrong? Thank you!