From owner-freebsd-questions Thu Aug 21 07:45:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA24065 for questions-outgoing; Thu, 21 Aug 1997 07:45:29 -0700 (PDT) Received: from rkntws40casa (pool46.hiper.net [207.137.172.46]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id HAA24049; Thu, 21 Aug 1997 07:45:13 -0700 (PDT) Message-Id: <3.0.3.32.19970821073210.00a40620@ccsales.com> X-Sender: randyk@ccsales.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Thu, 21 Aug 1997 07:32:10 -0700 To: "Michael W. Lucas" , freebsd-questions@FreeBSD.ORG From: "Randy A. Katz" Subject: Re: problems with freebsd router In-Reply-To: <199708211341.JAA01219@bigbrother.rust.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Oh, And then after doing that you'll need to give it routes through route add. At 09:41 AM 8/21/97 -0400, Michael W. Lucas wrote: >Hello, > >I'm trying to use a FreeBSD box (2.2.1) as a router between two different >Ethernet segments. The second Ethernet card doesn't work properly. > >The Ethernet cards are 3C590s. I've rebuilt the kernel to allow vx1, and >set gateway=yes in /etc/sysconfig, as per the mailing list archives. Both >cards have IP addresses set in sysconfig, and routerflog is set to -s, per >the man page. > >Upon boot, the machine recognizes both cards, i.e.: > >pedicular 9% ifconfig -a >vx0: flags=8843 mtu 1500 > inet 209.69.72.162 netmask 0xffffff00 broadcast 209.69.72.255 > ether 00:a0:24:ca:12:c8 >vx1: flags=8802 mtu 1500 > ether 00:20:af:f5:c4:0e >lp0: flags=8810 mtu 1500 >lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 >pedicular 10% > >Oddly, if I do "ifconfig vx1 up", the card comes up. I can manually >assign it an IP address, but I get errors like: > >Aug 21 05:42:41 pedicular routed[67]: punt RTM_ADD without gateway >Aug 21 05:42:41 pedicular routed[67]: write(rt_sock) RTM_ADD 209.69.36.128/29 -- >> 209.69.36.129: File exists > >Obviously, I'm don't quite know what I'm doing. Help? Please? > >Thanks, >Michael > >