Reroute traffic

Hello,

I need help with my network. In my picture you see my network problem. Then i want to connect to data server packet go from two switches, router and then go back to switch and connect to server. Maybe i can reroute this destination and if packet go to switch 10.1.0.100 go in server not in router??
tinklas.PNG

Are IPs correct ?
How do you want to connect directly to 10.0.0.2 from PC without NATting ? Router does do this function.

Hi,

From your schema which device is your gateway for your PC ( pc address 172.30.84.13) ? router 10.0.0.254 ?
Switches 10.1.0.100 and 10.1.0.102 are configured with Vlans ? or are just “transparent bridge” like ordinary “dumb” switches ?

Stupid question:
Have you tried on PC putting an ip alias from 10.0.0.0 network range, for example 10.0.0.200, and see if you can ping/access sever 10.0.0.2 ?

kind regards,

Hi,

Gateway is 10.0.0.254.
Switches configured just transparent bridge.
I need to eliminate unnecessary traffic between switch 10.1.0.100 and router 10.0.0.254
Then i put ip from 10.0.0.0 alias everything is goog and traffic go from pc to switch and then to server, then ip is 172.30.84.13 it goes to switch router and then go back to switch and go to server

If PC’s IP is 172.x.x.x then all traffic have to be NATted by router from 172 to 10 subnet and there is no way to avoid “long way” of packets.

Simply put, to access a IP resource directly, it MUST be in the same subnet as the partner or pass a gateway (NAT or not).
So you can either put the PC in 10.0.0.0/8, or add a 172.x.x.x address to the server interface, in the same subnet as the PC.
Otherwise, packets will need to pass the router.