Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
yes, each ethernet connection has a gateway address. The thing that I am trying to make is to make all the traffic from network 172.17.0.0/24 go through this box's eth1 to the gateway 172.17.130.254. I've already tried some tricks with routing table and iptables with no results. Note that I use 192.168.1.1 as a main gateway.
The reply with the solution to this problem would be appreciated.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 188.8.131.52, KDE 3.5.8 and KDE 4.0 beta, Plu
If I understand this you have two networks attached to the eth1 nic
172.17.0.0/24 and 172.17.130.0/24
And eth0 is 192.168.1.0/24
Then you want traffic on 172.17.0.0/24 and 172.17.130.0/24 to through eth1 to eth0
I assume this traffic is mostly internet related.
Is this correct?
Not really, Brian. There are two separate networks. 172.17.130.0/24 works perfectly without routing it through my box, since it has a router (172.17.130.254) and the link into the world. 192.168.1.0/24 is another network (the main internet connection of my box). Those two networks shouldn't work together I just want to do the packet filtering and network monitoring for 172.17.130.0/24 using my linux box. I don't want the traffic from 172.17.130.0/24 go through 192.168.1.1 router.
I forgot to mention that I can't change my router's IP. So rmitevs' solution doesn't work either. I have an idea how to make it using one more lan card, though. I'll let you know how will that go. Take care everyone.