Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Apr 2001 16:28:09 -0700 (PDT)
From:      Vince Valenti <vince@blue-box.net>
To:        <freebsd-questions@freebsd.org>
Subject:   Correct way to have a host on two networks
Message-ID:  <Pine.BSF.4.33.0104051623270.78388-100000@kenny.blue-box.net>

next in thread | raw e-mail | index | archive | help
Right now, I have a machine that I want to be on two networks.  This is
what I have in my /etc/rc.conf:

network_interfaces="fxp0 lo0"
ifconfig_fxp0="inet 199.2.205.6 netmask 255.255.255.0"
ifconfig_fxp0_alias0="inet 206.163.50.6 netmask 255.255.255.255"
defaultrouter="199.2.205.254"

It seems to work, but I get messages like this from my kernel:

arplookup 206.163.50.254 failed: host is not on local network

Is there a way I can specify another default route for the second network?
What is the correct way to do this?

I appreciate any help.

Thanks,

-- 
Vince Valenti
Systems Administrator
BendNet - Rosenet - Rio



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?Pine.BSF.4.33.0104051623270.78388-100000>