Put a Second NIC in both the Server and a Workstation

I have a 100mb network. I want to put a second NIC in both the server and a workstation. These NICs would be 1000mb.

Would I be able to have the existing 100mb NICs to receive internet from the router and to talk to all the other computers on the network, and the 1gb NICs just for the server & workstation to talk, for fast NFS access?

I don't understand how the operating system(?) knows which NIC to use to talk to the server and back to the workstation.

The server is OpenBSD and the workstation Debian unstable, if that matters.

-------------------------------------------------------------------

Make a subnet just for gigabit (if your normal net is 192.168, use 172.16, for example) by configuring the hostname.whatever file in OpenBSD with some IP and a netmask, and configure Debian with a different IP (on the same net, obviously) and the same netmask. The OSs should know which NIC to use by inspecting the IP, with no weird route commands or packet forwarding.

-------------------------------------------------------------------

You could also modify your routing table to specify which network interface (eth0 or eth1) handles traffic to certain IPs. If you second server has an IP of 192.168.0.2 you can specify traffic going to that IP to use the second card with somethihng like:
# route add -net 192.168.0.2 netmask 255.255.255.255 eth1

-------------------------------------------------------------------

The above method is the easiest and seems to work well being tested on 100mb cards.

-------------------------------------------------------------------

Have a Linux Problem
Linux Forum - Do you have a Linux Question?

Linux Books
Linux Certification, System Administration, Programming, Networking Books

Linux Home: Linux System Administration Hints and Tips

(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.
The site www.gotothings.com is in no way affiliated with or endorsed by any company listed at this site.
Any unauthorised copying or mirroring is prohibited.