Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 1997 00:44:09 +0000
From:      Brian Somers <brian@awfulhak.org>
To:        "Mark Cheeseman" <cheese@apnpc.com.au>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Default router not on network 
Message-ID:  <199711200044.AAA12346@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Thu, 20 Nov 1997 08:51:13 GMT." <B0000032679@zen.apnpc.com.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> I'm trying to get a couple of FreeBSD boxes running at an ISP, who 
> wants us to use an address not in our class C as the default route. 
> FreeBSD doesn't seem to want to know about this. The ISP is adamant 
> that they can't put an alias from our address block on their router, 
> and adds words to the effect of  "it works for Linux".
> 
> How can I convince FreeBSD (2.1.7, btw) to route through such an 
> address?

Try:

  root route add 1.2.3.4 -iface de0

where 1.2.3.4 is the address of the router and de0 is your interface. 
It'll "work for FreeBSD" too :-)

> Thanks,
> Mark
> 
> --
> Mark Cheeseman, Manager, APN Online  cheese@apnpc.com.au  Tel +61 2 9936 8680  
> http://www.zdnet.com.au/  http://www.gamespot.com.au/  Fax +61 2 9955 8871

-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <bri@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711200044.AAA12346>