Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Nov 1999 12:04:00 +0100 (CET)
From:      Micke Josefsson <mj@isy.liu.se>
To:        taohuang <freebsd_tao@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   RE: Some question about install two ethernet adapter
Message-ID:  <XFMail.991123120400.mj@isy.liu.se>
In-Reply-To: <19991123102508.26890.qmail@hotmail.com>

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

On 23-Nov-99 taohuang wrote:
> Dear all,
> 
> I want to install two 3com509b ethernet adapter for the freebsd. Then how can
> do that?
> Coz I use ep0 for one and then how about the other one? (ep0 is for
> 3com509b)
> 
> Thanks
> 
From my /etc/rc.conf:

network_interfaces="vx0 fxp0 lo0"       # List of network interfaces (lo0
is loopback).
ifconfig_lo0="inet 127.0.0.1"   # default loopback device configuration.
ifconfig_vx0="inet 130.236.49.135 netmask 255.255.248.0"
ifconfig_fxp0="inet 192.168.0.2 netmask 255.255.255.0"


I imagine putting fxp1 in list above and create an entry for ifconfig_fxp1
would do the trick.

Do you want to separate traffic from the two interfaces too? Then also do

gateway_enable="NO"             # Set to YES if this host will be a gateway.
router_enable="NO"              # Set to YES to enable a routing daemon.


/Micke

----------------------------------
Michael Josefsson, MSEE
mj@isy.liu.se

This message was sent by XFMail
running on FreeBSD 3.1 
----------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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