From owner-freebsd-questions Thu Jun 10 18:10:35 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id C93E514D09 for ; Thu, 10 Jun 1999 18:10:28 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id VAA20323; Thu, 10 Jun 1999 21:11:49 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199906110111.VAA20323@cc942873-a.ewndsr1.nj.home.com> Subject: Re: A simple network configuration question. In-Reply-To: from Hans van Reenen at "Jun 10, 99 07:04:39 am" To: H.vanReenen@UCI.KUN.NL (Hans van Reenen) Date: Thu, 10 Jun 1999 21:11:49 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hans van Reenen wrote, > > Hello, > > I will try explain it clearly. > > e-net catv enet enet > PC-box ------- cable modem ------ com controller ------ gateway ----- > 131.174.118.146 131.174.116.7 > > Between the PC-box and the gateway it is a ethernet connection (no PPP), > and the PC-box is NOT a gateway itself (for example a home-lan). > > I hope it is specific enough to answer this question. So your LAN is at _least_ as big as 131.174.116/22, huh? You can configure this from the command line with, # ifconfig inet 131.174.118.146 netmask 255.255.252.0 Where '' is the name of your interface. To now set the default route to the gateway, # route add default 131.174.116.7 And that should be it. Is there are reason you said earlier that you did not want to do this from the rc-files? -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message