My original question was :
>Another Update,
>
>both illustrated NICs are in the server machine. Both machines (server and
backup) are in the
>same network (same subnet mask) and have the same gateway. Mounting will be
done from the server. >Mounting from the backup to server is easy.
>
>Ok, Ok, I got many response. But I will my it explain again :
>
> b | | S
> a tu0 <-+--------------minor-nic--+-> tu1 E
> c | | R
> k | | V
> u | +---major-nic--+-> tu0 E
> p | | | R
> | | |
> users
>
>I have an entry in my export-file on my backup-machine
>call "/backup". I want to mount this export entry to my
>minor NIC (tu1).
>
>When I do a normal nfs-mount like:
>
> mount -t nfs /backup_at_backup local-mountpoint
>
>the system mounts it over the major NIC (tu0) and I get
>many problems because a backup produce high traffic and
>the interactive users have a high response time.
>
>So my question is : How can I mount the export _at_ backup
>to my local machine over the minor NIC (tu0) from the server?
>
Many thanks to all of you who send me a possible solution. The
answers reaches from temporary turn off the master nic, mount
the export and turn on the master nic to make a routing entry.
The first solution should work if you mount once. I mount the
export every day twice at night.
I think the right solution is to make a routing entry like :
route add -host backup gateway(ip or name) -dev tu1
I have read the man pages for route and find a hint to -interface | -face
instead the gateway. But when i used it i got an error message. I think
it is my mistake. I will check it out.
When you use netstat -I tu1 1 you can see the whole traffic is changing to
the minar nic.
The last question is if this is a temporary entry or a permanent changing.
Must I edit the /etc/routes or is it enough to enter the route add command.
Maybe Dr. Thomas P. Blinn can give me the right answer.
Thanks to all,
regards
Cetin Haftaoglu
Labor V.23 - Rechneriche Werkstoff- und Bauteilanalyse
Bundesanstalt für Materialforschung und -prüfung (BAM)
Unter den Eichen 87
12205 Berlin
fon: +49 (0)30 - 8104-3194
fax: +49 (0)30 - 8104-1527
mail: cetin.haftaoglu_at_bam.de
online: www.bam.de
Received on Mon Jul 09 2001 - 18:49:07 NZST