Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm running RH9 with 2 NIC's on the same network. eth0 is for LAN/Internet. eth1 is for a sniffer (receive only, Hardware Mod). Everything works fine (Internet and sniffer) with the exception of printing. I have added gatewaydev=eth0 to the network file. And that allowed me to get to the Internet. But when I try to print, the system trys to use eth1. Is there a way to direct/force all printing to use eth0? I have tried to do a search, but being somewhat new. Most of the finds did not seem to have the answer I needed. eth0 is set up DHCP and eth1 is Dynamic (because of the hardware mod).
Please just reply to threads most people get automatic notifications to messages that also include links to threads. This makes it much easier for me to find them again and also lets people with similar questions in the future see how it is done. E-mailing me won;t make me respond any quicker:
Quote:
I ried this and it work with 1 change
Try adding a static route:
route add 192.168.1.1 dev eth0
192.168.0.1
Please can you tell what file (ect. network) that I can modify so this route would be there on start up.
Thank you for your information and support. I just have one more little problem. I did not find the file static-route. I did a search on the drive and it came up with nothing.
Thanks for pointing that out - I've only ever need to use "static-routes" on a 7.2 server. I couldn't find any official docs on the subject but future readers may be interested in: http://linux.dbw.org/notes/static-routes.txt
Last edited by david_ross; 09-07-2003 at 07:16 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.