By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
Let's configure eth1 of router as 192.168.10.1 mask of 255.255.255.0
Let's configure eth2 of router as 10.10.10.1 mask 255.255.255.0
Host1 IP is 192.168.10.100 mask 255.255.255.0 default gateway 192.168.10.1
Host2 IP is 10.10.10.100 mask 255.255.255.0 default gateway 10.10.10.1.
Now on the router you may need to add two statements for default routes.
Ip route 192.168.10.0 255.255.255.0 eth1
Ip route 10.10.10.0 255.255.255.0 eth2
Now after doing this you need to do ping 10.10.10.100 on Host 1 or 192.168.10.100 on Host 2; it will go through.
Hope this helps.
Related Q&A from Sudhanshu Gupta
Unmanaged Linksys switches don't know where to send BootP and DHCP requests. Find out what to do to fix the problem of unmanaged switches and DHCP ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.