*BSD News Article 93604


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!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!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: Class C Routing
Date: 15 Apr 1997 12:57:47 GMT
Organization: Awfulhak Ltd.
Lines: 27
Message-ID: <5ivu0b$1dg@ui-gate.utell.co.uk>
References: <33535C4D.7321@enta.net>
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:39098


In article <33535C4D.7321@enta.net>,
	Simon N Atkin <simat@enta.net> writes:
> Help !!!
> 
> How do you setup routing between two class C 's of 
> FreeBSD 2.2.1, I am having problems because our ISP
> is on a different class C (36) to me (132).

How are you physically connected ?  How have you configured
that interface ?

> I have tried the following
> 
> route add (internet gateway IP) (my local IP) 1
> route add -net (ISP Class C x.x.36) (my local IP x.x.132.1) 1

I'd tend to try
route add x.x.36.0 x.x.132.1  -netmask 255.255.255.0

> Any Ideas Please
> 
> Simon Atkin.

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