LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-26-2004, 04:49 PM   #1
heathpitts
Member
 
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, 07:10 PM   #2
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 453

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


Reply


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 11:48 PM
How to find IP addresses on a network dubya Linux - Networking 2 09-23-2004 04:27 AM
problems pinging network addresses Olusegun Linux - Networking 5 02-13-2003 06:01 AM
2 static IP addresses on 2 eth cards Zingaro2002 Linux - Networking 8 01-21-2003 01:16 PM
Multiple IP addresses on one network card jeucken Linux - Networking 1 10-04-2002 08:02 AM


All times are GMT -5. The time now is 04:25 AM.

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