Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 1997 11:41:01 -0400 (EDT)
From:      "Michael W. Lucas" <mwlucas@bigbrother.rust.net>
To:        randyk@ccsales.com (Randy A. Katz)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: problems with freebsd router
Message-ID:  <199708211541.LAA02459@bigbrother.rust.net>
In-Reply-To: <3.0.3.32.19970821073104.009186d0@ccsales.com> from "Randy A. Katz" at "Aug 21, 97 07:31:04 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Randy,

Been there, did that.  Thanks, though.

--ml

> Excuse me if I'm wrong but:
> 
> network_interfaces="vx0 vx1 lo0"    # List of network interfaces (lo0 is
> loopback).
> ifconfig_vx0="inet 209.69.72.162  netmask 255.255.255.0"
> ifconfig_vx1="inet (ipaddress for 2nd segment)  netmask 255.255.255.0"
> ifconfig_lo0="inet 127.0.0.1"   # default loopback device configuration.
> 
> Perhaps the above is not set?
> 
> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> >        inet 209.69.72.162 netmask 0xffffff00 broadcast 209.69.72.255
> >        ether 00:a0:24:ca:12:c8
> >vx1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
> >        ether 00:20:af:f5:c4:0e
> >lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
> >lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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
> >
> >
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708211541.LAA02459>