*BSD News Article 94155


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Q: Two class-c on the network
Date: 22 Apr 1997 10:55:50 GMT
Organization: Awfulhak Ltd.
Lines: 27
Message-ID: <5ji5fm$jsu@ui-gate.utell.co.uk>
References: <5jb305$ds9@reader.seed.net.tw>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39513


In article <5jb305$ds9@reader.seed.net.tw>,
	ronald@trace.com.tw writes:
> I am switching one Linux box to FreeBSD (2.1.17), and got a problem:
> 
> I have two class c on one network.
> 
> I thought it would be enough to edit /etc/sysconfig:
> 
> 
> static_routs="class-c1 class-c2"
> route_class-c1="203.67.189.0 -netmask 0xffffff00 -interface 203.67.189.254"
> route_class-c2="210.64.165.0 -netmask 0xffffff00 -interface 203.67.189.254"

These are "sh" environment variables, the '-' character is illegal.
Also, "static_routs" should be "static_routes" - I assume this is a
typo.

> However, it retuns with only the class-c1 active and class-c2 not added.
> 
> I have to add now by hand (rc.local) 

Should work.

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour !