Talk:Setup Gateway Routing On Multiple Network Interfaces/@comment-111.93.231.122-20150714050842

Hi, I have a different requirement. The article clearly tells that the both NICs should be tagged with IP addresses. But if i want to change the IP address of any of interface using ifconfig command, that change wont be reflected in the IP rules. So i will be again need to set new rules for that changed interface address. Is there any way to automatically update the rules with ifconfig command? Or is there a way to set the rules based on device MAC address rather than device IP address? Thank you