Computing.Net > Forums > Linux > 1gb NICs between 2 PCs, Rest: 100mb

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

1gb NICs between 2 PCs, Rest: 100mb

Reply to Message Icon

Name: Six
Date: October 13, 2004 at 19:18:56 Pacific
OS: OpenBSD/Debian
CPU/Ram: 500/256
Comment:

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.

Thank you.



Sponsored Link
Ads by Google

Response Number 1
Name: Jake2
Date: October 14, 2004 at 00:14:51 Pacific
Reply:

This question probably belongs in the networking forum, but I think I know how to do what you want. 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.


0

Response Number 2
Name: 3Dave
Date: October 14, 2004 at 06:09:00 Pacific
Reply:

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


0

Response Number 3
Name: Six
Date: October 14, 2004 at 16:34:10 Pacific
Reply:

Thanks for the comments. 3Dave's method is the easiest and seems to work well being tested on 100mb cards.

Thanks again.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: 1gb NICs between 2 PCs, Rest: 100mb

Internet sharing between 2 Linux PC www.computing.net/answers/linux/internet-sharing-between-2-linux-pc/22650.html

Usb Drive doesnt work anymore www.computing.net/answers/linux/usb-drive-doesnt-work-anymore/29866.html

Dual boot/dual PC ADSL broadband (U www.computing.net/answers/linux/dual-bootdual-pc-adsl-broadband-u/14332.html