redhat F9 with multiple nics....configure one to go out onto internet
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
redhat F9 with multiple nics....configure one to go out onto internet
i have redhat F9 with 5 nics... 192.168.1.1 1.2 1.3 1.4
and an external IP for the www to see 42.35;
i also have a firewall with a content filter service blocking certain websites on 2 of these subnets 1.1 & 1.2
how can i get my F9 box to go out on one of the unblocked subnets? its going out on one of the blocked ones now and im not sure how to change that...
thanks in advance
davide123
Well first of, 1.1 and 1.1 are not separate subnets, they are separate IPs. Second off, what is your default gateway, it can't be 1.1 if you are using that on a nic, else this will cause everything to just speak to that nic and not the firewall. I would configure a route on the router for 192.168.42.1 and set this as the default gateway for that nic and then configure 192.168.42.35 to point to that gateway. I do not know how to default a source device off the top of my head however so I can not help with that part of the configuration.
sorry sub nets 1.1 2.1 3.1 4.1
each subnet has its own default gateway... dont want traffic going out thru my external ip, only coming; i want all traffic to go out thru 3.1 or 4.1 somw how right now it defaults to 2.1 not sure how or how to change....
also BE ADVISED Fedora 9 is UNSUPPORTED - that means there will never be any updates to it ever, NO SECURITY updates , no nothing. Fedora 9 is insecure --DO NOT use it for the net !!!!!!
install fedora 12 and in 5 months fedora 13 then 6 months after that fedora 14
I would however install the long life CentOS 5.4 or purchase RHEL 5.4 and use THAT as the gateway OS.
thanks for that tidbit. I understand that, however does not solve my issue or shed any light whatsoever. if i were to re-install my OS that often or change to a different platform, it would require substanial work to my net and possibly cause down time to my employees and customers. i am in a network enviroment protected by a HW firewall. not concerned about intrusion, since my firewall takes care of that for me... anyway again is there a way i can default a specific nic for all outbound traffic? i know there must be a way since its default on the subnet i have blocked now...any help appreciated.
Sorry david , it seem your question it's not clear, maybe if you want to give more detail about your problem, or what you want to do, or what port that firewall granted or not, etc , maybe many people will came with answer
I suggest that you read: man interfaces that way you can manually edit your /etc/network/interfaces, as root, to first only enable the interface(s) that relate to your addresses 192.168.3.1 and/or 192.168.4.1. If you don't know which interface relates to each IP address I suggest that you run ifconfig -a and then make an appropriate note of the eth0, eth1, eth2 and eth4 settings.
Once you have just enabled the apprpriate outbound interfaces then we can work on the inbound, however be aware that if you allow port 80 and/or 8080 and/or 443 (http and/or https) then traffic will be two way because otherwise a URL you enter in a browser will be blocked from receiving a rsponse from the web. If you gave a little more info. about your router/firewall etc. and internet access facilities - do you really have 4 dsl/modems and 4 lines coming into your office? I used to have two and had to have a special VIGOR box that split them and which allow automatic failover to the other slower (more contention) line.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.