Bill Jonas on Mon, 26 Aug 2002 15:45:14 -0400 |
On Mon, Aug 26, 2002 at 02:26:32PM -0400, Fred K Ollinger wrote: > > route add -net 192.168.3.0 netmask 255.255.255.0 gw 192.168.0.2 > You rock. Now where to put this so it works upon startup in debian 3.0? I'd try sticking in a script in /etc/network/if-up.d. On Mon, Aug 26, 2002 at 03:22:48PM -0400, gabriel rosenkoetter wrote: > I'd put it in /etc/rc.local, but I'm using NetBSD (where route(8) > syntax is subtly different, so that exact command line wouldn't > work). Actually, it looks just fine to me. Yes, I get momentarily confused sometimes (typing "route -n show" in Linux when I really just need "route -n", for example), but that particular line looks good enough to satisfy both BSD's and Linux's idea of route(8). -- Bill Jonas * bill@billjonas.com * http://www.billjonas.com/ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin Attachment:
pgpne6ouCjea0.pgp
|
|