Quantcast
Channel: Client server software – IT Answers
Viewing all articles
Browse latest Browse all 21

How to route/switch between three different networks/interface through one interface?

$
0
0

I am trying to setup a network where I am running a client/server test case.  In the middle, it goes through some SUT.

Client                           eth0               eth1           Server
[120.22.x.x/16] ———->[Work station]<———-[120.24.x.x/16]
                                               | eth2
                                         [switch ]—–> [SUT]
                                     ___|   |    |________________
                                   |/       |/(120.26.0.1/16)       |/
      (120.22.0.1/16) FastEth0 (Router ) FastEth1  (120.24.0.1/16)

As you can see, the client and server are connected to the work station, at two NICs.  There are three NICs in total on the work station.

eth2 is connected to a switch. 

The switch is connected to each port of the Cisco router, at all three gateways:
120.22.0.1, 120.24.0.1, 120.26.0.1

The client and server HAS to be connected to the workstation, due to it is the only one that has a NIC capable of being connected to client/server.

I am using the workstation to try to forward traffic from client/server through eth2 to go to router, and go through SUT, then back again through eth2.

I tried setting up static routes, but it isn’t working.  I must be doing something wrong.  Is this possible, to have all traffic go through one interface?  eth0/1/2 are configured with no ip address via ifconfig 0.0.0.0 up command.

The problem I am having is configuring the workstation to route traffic.  All other nodes are fine. 

Thanks in advance!

The post How to route/switch between three different networks/interface through one interface? appeared first on IT Answers.


Viewing all articles
Browse latest Browse all 21

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>