Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Apr 1997 17:22:01 +1000 (EST)
From:      Ernie Elu <ernie@spooky.eis.net.au>
To:        freebsd-isp@freebsd.org
Subject:   routed and small subnets
Message-ID:  <199704190722.RAA17902@spooky.eis.net.au>

next in thread | raw e-mail | index | archive | help
I am trying to get routed to add routes for a couple of small subnets I have
hanging of ppp dialup modems. All systems are FreeBSD 2.2

I have tried about 10 different /etc/gateways lines but no matter what the
traceroute for any ip in the subnets wants to go out to the default router.


The /etc/gateways file entry is:

net 203.13.222.32/28 gateway 203.13.222.33 metric 1 passive
net 203.13.222.16/29 gateway 203.13.222.17 metric 2 passive


So there are 2 small subnets on of 8 addresses and the other of 16 talking


I can ping 203.13.222.17 and 203.13.222.33 but no other hosts in either of
the subnets.

If I kill off routed and do it manually 
ie. route add -net 203.13.222.32 -netmask 0xfffffff0 203.13.222.33

it works but of course modem lines
hang up so the routes get lost every now and then.


Is this the correct sort of thing to do with routed or is it best handled
some other way perhaps with static routes?


- Ernie.



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