Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-26-2004, 03:49 PM   #1
Registered: Feb 2003
Location: Florence, AL
Distribution: Debian
Posts: 157

Rep: Reputation: 30
certain addresses through certain network cards

I have a client that needs to access certain websites through one nic and other sites through another nic. Is there a way to edit the hosts file so certain addresses will go through a particular card?
Old 02-26-2004, 06:10 PM   #2
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
Normally, that is done with route:
route displays the routing table
route add -host eth0
route add -host eth1
See man route for details.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scanning a network for MAC addresses linuxpyro Linux - Networking 1 02-18-2005 10:48 PM
How to find IP addresses on a network dubya Linux - Networking 2 09-23-2004 03:27 AM
problems pinging network addresses Olusegun Linux - Networking 5 02-13-2003 05:01 AM
2 static IP addresses on 2 eth cards Zingaro2002 Linux - Networking 8 01-21-2003 12:16 PM
Multiple IP addresses on one network card jeucken Linux - Networking 1 10-04-2002 07:02 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration