From: Juergen Schroeder <schroedj@data.ub.uni-marburg.de>
Subject: route: default to tu2 ?
Date: 1998/07/23 [thread overview]
Message-ID: <6p71tb$edb$1@surz18.HRZ.Uni-Marburg.DE> (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)
next reply other threads:[~1998-07-23 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-23 4:00 Juergen Schroeder [this message]
1998-07-23 4:00 ` route: default to tu2 ? Nikola Milutinovic
1998-07-27 4:00 ` Juergen Schroeder
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox