Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jul 1999 07:11:18 -0500 (CDT)
From:      Patrick Walentiny <pezzy@vntech.com>
To:        ryndin@mtk.comcor.ru
Cc:        questions@FreeBSD.ORG
Subject:   Re: two network interfaces
Message-ID:  <Pine.BSF.4.10.9907010707390.5752-100000@mercenary.vntech.com>
In-Reply-To: <C32567A1.0035B7EB.00@mtk.comcor.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,
	I could be wrong about this, mostly cause I haven't gone through
all the rc scripts in etc by hand, but to my knowlege you have to have it
set with gateway_enable="YES" instead of just gateway="YES", maybe it was
just a mistype on  your part because it seems odd that you can ping both
interfaces.
if you want to do this without a reboot type 
% sysctl -w net.inet.ip.forwarding=1
if the prompt claims it was set to 0 previously then I think you have your
problem licked.  Otherwise? *shrug*.

	Patrick.

On Thu, 1 Jul 1999 ryndin@mtk.comcor.ru wrote:

> 
> 
> Hi everybody!
> I have some problem: we need some box to be gateway and it has two interfaces:
> xl0 222.1.2.84 netmask 0xffffff00 and ep0 222.1.6.1 netmask 0xffffff00 and
> gateway="YES" is set in "/etc/rc.conf", but boxes from one subnetwork can ping
> both interfaces of this box and cann't ping any box in the other subnetwork.
> What I need to do?
> Thanks in advance Alexey.
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 



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.10.9907010707390.5752-100000>