*BSD News Article 62733


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!inferno.mpx.com.au!news.unimelb.EDU.AU!munnari.OZ.AU!news.hawaii.edu!ames!purdue!lerc.nasa.gov!magnus.acs.ohio-state.edu!math.ohio-state.edu!howland.reston.ans.net!newsfeed.internetmci.com!in2.uu.net!nntp.news.primenet.com!news.primenet.com!ip185.lax.primenet.com!taxfree
From: taxfree@primenet.com (Henry Stapp)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Routing Problem w/ default gateway outside subnet
Date: 21 Feb 1996 16:37:02 -0700
Organization: NetLinx Internet Design Studios
Lines: 46
Sender: root@primenet.com
Message-ID: <taxfree.14.002E6708@primenet.com>
X-Posted-By: ip185.lax.primenet.com
X-Newsreader: Trumpet for Windows [Version 1.0 Rev B final beta #4]

Hi All,

Interesting problem here. Our server is co-located with an ISP who has 
provided small subnets for their clients to use. (ie 205.147.0.* for the 
ISP's machines, and 205.147.1-15.* for colocated machines and ISDN/T1 
connections to customer's private office subnets)

Our server is 205.147.5.82 and the netmask is 255.255.255.240. 
The router, which is on the same physical wire as the server, has the address 
205.147.0.1. The problem is that when you specify the .0.1 address as the 
default gateway you get a "network unreachable" error.  

The usual solution, according to the ISP, is to manually add the default route 
_something_ like this...

route add default 205.147.0.1 metric 0

Although this works fine on Solaris and Linux it fails on both BSDI and 
FreeBSD. 

A call to BSDI tech support was greeted with a real bad attitude
"our system works the way it's supposed to! your ISP is a fool! WE CANT HELP 
YOU!"       hrmph! so much for them :(

Our temporary solution was to open up the netmask to encompass all subnets 
from .0 to .5, then manually add routes as necessary to the non-local subnets 
from .1 to .4 

This will eventually lead to problems down the road if we get moved to a much 
higher subnet number, or if we open up multiple routes to the net...

Has anyone got a better solution than opening up the subnet mask or switching 
OS's?

Thanks in advance,

Henry





The ISP says the 
standard solution is to manually add a route _something_ like this

route add default 205.147.0.1 metric 0