* 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
* Re: route: default to tu2 ?
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
0 siblings, 1 reply; 3+ messages in thread
From: Nikola Milutinovic @ 1998-07-23 4:00 UTC (permalink / raw)
Juergen Schroeder wrote:
>
>
> 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 <-!!!
1. If you have two interfaces on the same network (137.248.219), then you
should let UNIX sort the traffic out on them.
2. Route via interface works only for local networks. Default gateway is for
forwarding to other networks.
3. What exactly is your configuration? Both cards on a switch, as a fail-over?
One on UTP and the other on BNC, as a bridge?
Having two cards on the same net is a tricky business. I'm not sure, but
try starting route daemon, maybe it'll get it right.
Nix.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: route: default to tu2 ?
1998-07-23 4:00 ` Nikola Milutinovic
@ 1998-07-27 4:00 ` Juergen Schroeder
0 siblings, 0 replies; 3+ messages in thread
From: Juergen Schroeder @ 1998-07-27 4:00 UTC (permalink / raw)
Nikola Milutinovic <milutinn@EUnet.yu> wrote:
: Juergen Schroeder wrote:
:> 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 <-!!!
: 1. If you have two interfaces on the same network (137.248.219), then you
: should let UNIX sort the traffic out on them.
: 2. Route via interface works only for local networks. Default gateway is for
: forwarding to other networks.
: 3. What exactly is your configuration? Both cards on a switch, as a fail-over?
: One on UTP and the other on BNC, as a bridge?
: Having two cards on the same net is a tricky business. I'm not sure, but
: try starting route daemon, maybe it'll get it right.
Hello Nikola.
Yes on the same subnet and on a switch.
tu0 10MB full TP
tu1 100MB full TP
Wont that all traffic goes over tu1. But because the old 10Mb card tu0
is on an 2100 it is also a combined eisa2pci bridge so I cant remove it.
I thought I can it use as a "backup".
Ok now I say in the rc.config
NUM_NETCONFIG="1"
NETDEV_0="tu1"
NETDEV_1="tu0"
so tu0 is dead and everything goes over tu1. That will do.
But if I open NUM_NETCONFIG to 2 automatic the default goes over tu0.
My /etc/routes:
default 137.248.219.250
Juergen
^ 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