Re: default route not set up??

1999-05-03 Thread Rodney W. Grimes
> Hi, > There are two things going on with the route setup. > > if [ "x$defaultrouter" != "xNO" ] ; then > static_routes="default ${static_routes}" > route_default="default ${defaultrouter}" > fi > > > 1) since route_default is never used, it should be del

Re: default route not set up??

1999-05-02 Thread Lars Fredriksen
Thanks for setting me straight! I am backtracking trying to find out what I did wrong initially when I tried to set it up. I certainly botched the debugging part :-( Lars Stefan Bethke wrote: > Don't! > > --On Son, 2. Mai 1999 12:44 Uhr -0500 Lars Fredriksen > wrote: > > > So rc.conf should read

Re: default route not set up??

1999-05-02 Thread Stefan Bethke
Don't! --On Son, 2. Mai 1999 12:44 Uhr -0500 Lars Fredriksen wrote: > So rc.conf should read: (example from my setup) > > > defaultrouter="YES" # Set to default gateway (or NO). > static_routes="local" # Set to static route list (or leave > empty). > route_local=" -net

Re: default route not set up??

1999-05-02 Thread Lars Fredriksen
Hi, There are two things going on with the route setup. if [ "x$defaultrouter" != "xNO" ] ; then static_routes="default ${static_routes}" route_default="default ${defaultrouter}" fi 1) since route_default is never used, it should be deleted, ignore that li

Re: default route not set up??

1999-05-02 Thread Andreas Braukmann
Hi, On Sat, May 01, 1999 at 03:18:23PM +0200, Dag-Erling Smorgrav wrote: > "Daniel C. Sobral" writes: > > Dag-Erling Smorgrav wrote: > > > # Configure routing interesting code deleted ... [..] > > Looking there, it *does* seem that there is a problem. defaultrouter > > is only used to set rou

Re: default route not set up??

1999-05-01 Thread Dag-Erling Smorgrav
"Daniel C. Sobral" writes: > Dag-Erling Smorgrav wrote: > > "Daniel C. Sobral" writes: > > > Dag-Erling Smorgrav wrote: > > > > [exerpt from /etc/rc.network] > > > Looking there, it *does* seem that there is a problem. defaultrouter > > > is only used to set route_default, which is *not* used. At

Re: default route not set up??

1999-05-01 Thread Daniel C. Sobral
Dag-Erling Smorgrav wrote: > > > > # Configure routing > > > > > > if [ "x$defaultrouter" != "xNO" ] ; then > > > static_routes="default ${static_routes}"# look here... > > > route_default="default ${defaultrouter}" > > > fi > > > > > > # Set up any stat

Re: default route not set up??

1999-05-01 Thread Dag-Erling Smorgrav
"Daniel C. Sobral" writes: > Dag-Erling Smorgrav wrote: > > # Configure routing > > > > if [ "x$defaultrouter" != "xNO" ] ; then > > static_routes="default ${static_routes}"# look here... > > route_default="default ${defaultrouter}" > > fi > > > > # Se

Re: default route not set up??

1999-05-01 Thread Daniel C. Sobral
Dag-Erling Smorgrav wrote: > > Lars Fredriksen writes: > > If you set "defaultrouter" in /etc/rc.conf to an ip address, > > I expected that rc.network would > > do a route add default ..., but instead I find that rc.network doesn't > > do anything with the defaultrouter variable except to pas

Re: default route not set up??

1999-05-01 Thread Dag-Erling Smorgrav
Lars Fredriksen writes: > If you set "defaultrouter" in /etc/rc.conf to an ip address, > I expected that rc.network would > do a route add default ..., but instead I find that rc.network doesn't > do anything with the defaultrouter variable except to pass it on to the > route_default variable,

default route not set up??

1999-04-30 Thread Lars Fredriksen
Hi, I must be missing something If you set "defaultrouter" in /etc/rc.conf to an ip address, I expected that rc.network would do a route add default ..., but instead I find that rc.network doesn't do anything with the defaultrouter variable except to pass it on to the route_default var