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]
[switch ]-----> [SUT]
___| | |________________
|/ |/(184.108.40.206/16) |/
(220.127.116.11/16) FastEth0 (Router ) FastEth1 (18.104.22.168/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:
22.214.171.124, 126.96.36.199, 188.8.131.52
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!