LinuxSay - A Discussion Forum for Linux Enthusiasts

Ping from eth0 to eth1 on same machine doesn't route through router

Hi Experts,

My requirement is to test a router throughput.

I have CentOS machine with two NICs. eth0 and eth1 .

eth0 IP gw (Router fa 0/0)
eth1 IP gw (Router fa 0/1)

I can ping router interface from source This actually goes to router.
But, ping works from to, but traffic is not routed through router. Traffic is routed within the CentOS machine.

May I know what I am missing here?