From owner-freebsd-questions Fri Jul 2 11:51:44 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 4FF6A1573F for ; Fri, 2 Jul 1999 11:51:42 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.9.3/8.9.3) with ESMTP id LAA13310; Fri, 2 Jul 1999 11:51:34 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Fri, 2 Jul 1999 11:51:34 -0700 (PDT) From: Doug White To: ryndin@mtk.comcor.ru Cc: questions@FreeBSD.ORG Subject: Re: two networks In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 1 Jul 1999 ryndin@mtk.comcor.ru wrote: > We have two network or subnetwork first is 222.1.2.0 and another is > 222.1.6.0. We have FreeBSD box with two interfaces xl0(222.1.2.84) and > ep0(222.1.6.1). We set gateway_enable="yes", router_enable="YES", > router="routed" and routerflags="-s". We cann't ping from one network > another, but from 222.1.6.0 network boxes (for example 222.1.6.2 box) > we can ping 222.1.2.84 interface and from 222.1.2.0 network boxes we > cann't ping 222.1.6.1 interface. We need to see both networks from any > box. How can we do it? Thanks in advance, Alexey. First of all, don't run routed unles you _really_ need it. Routed has this habit of mucking up the works. Secondly, make sure your YES's are in caps, ie gateway_enable="YES" Third, what does 'ifconfig -a' and 'netstat -rn' look like after you've shut off routed and rebooted? Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message