1

is it possible (Ubuntu and Windows) to create the following rules:

If target="192.168.*" use eth0
If target="*" use eht1 // default, the rest that doesn't match another rule

1
0

If target="192.168.*" use eth0

Read up on subnetting and the route command. It is designed for this. Specifically, use the route add command.

If target="*" use eht1 // default, the rest that doesn't match another rule

That is done by putting the default gateway via eth1.

This is basic TCP/IP networking, and is the same on both windows and GNU/Linux.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.