Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* route: default to tu2 ?
@ 1998-07-23  4:00 Juergen Schroeder
  1998-07-23  4:00 ` Nikola Milutinovic
  0 siblings, 1 reply; 3+ messages in thread
From: Juergen Schroeder @ 1998-07-23  4:00 UTC (permalink / raw)


Hello,

I had a second ethernet card in my alphas (100MB) and I want 
change my default route to go via this second interface.

I changed in /etc/rc.config 
NETDEV_0="tu1"
NETDEV_1="tu0"
[..]
IFCONFIG_0="123.234.219.178 netmask 255.255.255.0 speed 200"
IFCONFIG_1="123.234.219.123 netmask 255.255.255.0"

the tu1 to NETDEV_0 ... 

but always reports

$ netstat -r

Destination      Gateway            Flags     Refs     Use  Interface
default          cirz0930.HRZ.Uni-M UGS         4      192  tu0 <-!!!
localhost        localhost          UH          1        2  lo0
137.248.219      axub02.UB.Uni-Marb U          29    28882  tu1

What correct is the syntax for 

(route delete default 137.248.219.250 first!)

route add default 137.248.219.250 -interface tu1

Error:
old usage of trailing digit, assuming route via gateway
add net default: gateway 137.248.219.250

and I got again
default          cirz0930.HRZ.Uni-M UGS         4      192  tu0 <-!!!

TIA
	Juergen

(DUNIX 4.0D)



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-07-27  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-23  4:00 route: default to tu2 ? Juergen Schroeder
1998-07-23  4:00 ` Nikola Milutinovic
1998-07-27  4:00   ` Juergen Schroeder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox