[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Static route
You can also do route add -net x.x.x.x/xx dst instead of -netmask
On Wed, 5 Apr 2000, Hannah Schroeter wrote:
| Hello!
|
| On Tue, Apr 04, 2000 at 08:14:51AM -0400, Andrew Swisher wrote:
| > [...]
|
| > I put my static routes in /etc/netstart, towards the bottom, just after the /etc/mygate file is consulted for the default route...works for me.
|
| As my default route depends on an additional static route,
| it's in hostname.foo:
|
| inet XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX
| # some comment
| ! route add -net XXX.XXX.XXX.XXX -netmask XXX.XXX.XXX.XXX -interface XXX.XXX.XXX.XXX -cloning
| # and so on
|
| Regards, Hannah.
|
---
Reverend Chris Cappuccio
http://www.dqc.org/~chris/