User475983607 posted
i want do this programatically can you write the code in mvc?
Your best resource is consulting your router documentation and perhaps your router manufacturer. MVC is irrelevant. MVC is a framework for building web applications and has nothing to do with hacking or interfacing with your router.