Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jun 2012 16:56:49 -0500
From:      Mark Felder <feld@feld.me>
To:        "UNIX developer @ Google.com" <developerunix@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problem with routing in VmWare VMS
Message-ID:  <op.wf9wkzvm34t2sn@tech304>
In-Reply-To: <1842148286.20120621235936@gmail.com>
References:  <1842148286.20120621235936@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 21 Jun 2012 15:59:36 -0500, UNIX developer @ Google.com  
<developerunix@gmail.com> wrote:

> /etc/rc.conf
> ifconfig_em0=" inet 192.168.1.10 netmask 255.255.255.0"
> ifconfig_em1=" inet 192.168.2.1 netmask 255.255.255.0"
> defaultrouter="192.168.1.1"
> gateway_enable="YES"
> static_routes="clnet"
> route_clnet="-net 192.168.2.0/24 192.168.1.10"

You simply CANNOT do this. Traffic for 192.168.2.0/24 is bound to em1 and  
cannot be changed. You setup a static route that basically says "to find  
192.168.2.0/24, don't use em1 but instead ask 192.168.1.10 how to find it"?

This makes no sense at all.



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