Date: Thu, 10 Jun 1999 21:11:49 -0400 (EDT) From: "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com> To: H.vanReenen@UCI.KUN.NL (Hans van Reenen) Cc: freebsd-questions@FreeBSD.ORG Subject: Re: A simple network configuration question. Message-ID: <199906110111.VAA20323@cc942873-a.ewndsr1.nj.home.com> In-Reply-To: <Pine.A41.4.10.9906100652430.62464-100000@baserv.uci.kun.nl> from Hans van Reenen at "Jun 10, 99 07:04:39 am"
next in thread | previous in thread | raw e-mail | index | archive | help
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 <if> inet 131.174.118.146 netmask 255.255.252.0 Where '<if>' 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906110111.VAA20323>