From owner-freebsd-questions@FreeBSD.ORG Thu Feb 8 13:14:48 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AB75216A400 for ; Thu, 8 Feb 2007 13:14:41 +0000 (UTC) (envelope-from george.vanev@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id 3549E13C461 for ; Thu, 8 Feb 2007 13:14:40 +0000 (UTC) (envelope-from george.vanev@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so431047uge for ; Thu, 08 Feb 2007 05:14:40 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Ji03VTjXoc9k8UhQbtXdvoYmzXUAkWDm8UAFY3o6PsTChKkWMmLaq4lViUYywm43ztzhmB0TNXYVZBpmlX8M4VWHSCkqZsj+T7SeXACmzElEnl6cKwV3oZh/a11xUzdlWn/srbO135DJyyWB+viGuWH5BP/Gy2X1s3MDPUloPpI= Received: by 10.78.201.15 with SMTP id y15mr1241371huf.1170940478666; Thu, 08 Feb 2007 05:14:38 -0800 (PST) Received: by 10.78.132.3 with HTTP; Thu, 8 Feb 2007 05:14:38 -0800 (PST) Message-ID: <6f4f57f60702080514n388e435fmfa7d46e10723be77@mail.gmail.com> Date: Thu, 8 Feb 2007 15:14:38 +0200 From: "George Vanev" To: "Bill Moran" In-Reply-To: <20070208080613.9eb65d64.wmoran@collaborativefusion.com> MIME-Version: 1.0 References: <6f4f57f60702080210m5d3ffbc1o33105f1b75564963@mail.gmail.com> <20070208080613.9eb65d64.wmoran@collaborativefusion.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: Routing problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: George.Vanev@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Feb 2007 13:14:48 -0000 On 2/8/07, Bill Moran wrote: > > In response to "George Vanev" : > > > I have FreeBSD 6.2 box with 1 NIC and 2 IPs. > > The first IP is to access internet, the second > > is for the ISP's LAN. > > Unfortunately I have internet, but no access to > > the other network. > > > > I made a test. I assigned to the NIC only the local > > IP and removed the defaultrouter. Then, of course, > > I have no internet but was able to access the ISP's > > network. > > > > I've tried everything I know, but still nothing > > Consider providing more details, such as the output of ifconfig and > netstat -rn. > > Sure sounds like a routing issue, but I doubt anyone can say anything > more without details. > > -- > Bill Moran > Collaborative Fusion Inc. > You are right. ifconfig ---------- rl0: flags=8843 mtu 1500 options=8 inet 212.25.37.96 netmask 0xffffff00 broadcast 212.25.37.255 inet 192.168.67.41 netmask 0xfffffc00 broadcast 192.168.67.255 ether 00:17:31:e7:92:18 media: Ethernet autoselect (100baseTX ) status: active rl1: flags=8843 mtu 1500 options=8 inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 ether 00:50:bf:d5:f1:33 media: Ethernet autoselect (100baseTX ) status: active plip0: flags=108810 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 212.25.37.1 UGS 0 458268 rl0 10/24 link#2 UC 0 0 rl1 10.0.0.2 00:15:60:ae:f7:61 UHLW 1 231827 rl1 922 10.0.0.3 00:17:08:2d:08:26 UHLW 1 1686 rl1 1004 10.0.0.255 ff:ff:ff:ff:ff:ff UHLWb 1 67 rl1 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.64/22 link#1 UC 0 0 rl0 192.168.64.1 00:02:a5:90:a9:b6 UHLW 1 0 rl0 1200 192.168.64.3 00:17:08:58:83:8d UHLW 1 0 rl0 1113 212.25.37 link#1 UC 0 0 rl0 212.25.37.1 00:02:a5:90:a9:b6 UHLW 2 0 rl0 1195 In this case I can't access nothing from 192.168.64/22 rl0: flags=8843 mtu 1500 options=8 inet 192.168.67.41 netmask 0xfffffc00 broadcast 192.168.67.255 ether 00:17:31:e7:92:18 media: Ethernet autoselect (100baseTX ) status: active rl1: flags=8843 mtu 1500 options=8 inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 ether 00:50:bf:d5:f1:33 media: Ethernet autoselect (100baseTX ) status: active plip0: flags=108810 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 10/24 link#2 UC 0 0 rl1 10.0.0.2 00:15:60:ae:f7:61 UHLW 1 232034 rl1 784 10.0.0.3 00:17:08:2d:08:26 UHLW 1 1712 rl1 866 10.0.0.255 ff:ff:ff:ff:ff:ff UHLWb 1 67 rl1 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.64/22 link#1 UC 0 0 rl0 In this case I don't have internet, but I can access 192.168.64/22 -- George Vanev