Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
10-11-2004, 05:40 PM
|
#1
|
LQ Newbie
Registered: Oct 2004
Posts: 4
Rep:
|
Linux router as a passthrough for traffic between two machines
Hi All,
I have an isolated network consisting of 3 machines Router(running on Redhat 9, it had dhcp/router services),Server A(windows) and Server B(windows). I want all traffic passing through ServerA to serverB pass through the Router. I have Network emulating software on the router machine; for it to emulate, all the traffic should pass through the router machine.
Server A <-----------> Router <------------------>ServerB
Can somebody tell me how to configure my router(redhat 9) to handle this case? Thanks in advance
Regards,
Puru
|
|
|
10-12-2004, 06:29 AM
|
#2
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
The www.tldp.com (The Linux Documentation Project) has a linux-router howto as well as the Network Administrators' Guide.
More generally, I don't understand what you meant by network emulation software. Since you are on an isolated network, why not set up all of the machines on the same network and use a hub or switch. It doesn't seem that you even need a router or gateway in your case. You could use the linux box for network services.
|
|
|
10-12-2004, 06:56 AM
|
#3
|
LQ Newbie
Registered: Oct 2004
Posts: 4
Original Poster
Rep:
|
thanks for your reply. i couldn't find the required setup in that site.network emulate is used to emulate/simulate real time network conditions like congestions,delays ,bandwidth etc between those two servers .
puru
|
|
|
10-12-2004, 05:37 PM
|
#4
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
if you add the line:
FORWARD_IPV4="yes"
to the /etc/sysconfig/file, packets will be able to be forwarded from one interface to the other. There may be 'route' commands you need setup somewhere also.
What you are doing sounds like the Redhat box needs to be set up to function as a gateway. I don't have Redhat, but I'm sure it has some sort of gateway setup wizard or dialog. Also, the NAG guide should have enough information to help you configure things manually.
Here is a how-to that might help a bit.
http://www.tldp.org/HOWTO/Home-Netwo...i-HOWTO-3.html
|
|
|
10-12-2004, 06:09 PM
|
#5
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
On second thought, sounds more like a linux-switch. Embedded linux systems like the Linksys WRT54G cable router is one example. Besides being a wireless cable/DSL router, it is a 4-port switch and dhcp server. Studying this or other embedded systems might teach you a lot.
|
|
|
All times are GMT -5. The time now is 10:54 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|