Date: Mon, 28 Sep 1998 13:21:49 -0700 (PDT) From: Dan Busarow <dan@dpcsys.com> To: Leonardo Madrigal <lmadrig@acnet.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: litle question Message-ID: <Pine.BSF.3.96.980928131347.19866B-100000@java.dpcsys.com> In-Reply-To: <360FDD04.DBBD820@acnet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 28 Sep 1998, Leonardo Madrigal wrote: > The fisrt nic have the ip 167.114.28.234 with netmask 255.255.255.192 > The seond nic will have the ip 167.114.17.101 with netmask > 255.255.255.224 > > > My cisco have to gateways, one its for the modem's access (isp) and the > gateway is 167.114.28.193,also > the first ip 167.114.28.234 use this gateway for its internet > connection. > The second gateway on the cisco its 167.114.17.97 for LAN connection. > > in my rc.conf i have > > ifconfig_vx0="inet 167.114.28.234 netmask 255.255.255.192" > defaultrouter="167.114.28.193" > gateway_enable="YES" > router_enable="YES" > > i think i have to write another line on the rc.conf to especify the ip > 167.114.17.101 to the second nic ifconfig_vx1="inet 167.114.17.101 netmask 255.255.255.224" > but which routes do i need in the server so the LAN can see the > 167.114.17.101 ethernet card > for firewall purposes? Set router_enable to router_enable="NO" The ifconfig's will set up the needed routes. You will need to tell the Cisco that it can reach 167.114.17.96/27 via 167.114.28.234 ip route 167.114.17.96 255.255.255.240 167.114.28.234 Dan -- Dan Busarow 949 443 4172 Dana Point Communications, a California corporation dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 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.3.96.980928131347.19866B-100000>