# interface ip in OS\_router

**URL:** <https://forum.ansible.com/t/interface-ip-in-os-router/24591>\
**Category:** Ansible Project\
**Created:** [May 29, 2017, 1:17pm UTC](https://forum.ansible.com/t/interface-ip-in-os-router/24591 "2017-05-29T13:17:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bhujay\_Bhatta](https://avatars.discourse-cdn.com/v4/letter/b/5fc32e/32.png) [@Bhujay\_Bhatta](https://forum.ansible.com/u/Bhujay_Bhatta)\
**Post date:** [May 29, 2017, 1:17pm UTC](https://forum.ansible.com/t/interface-ip-in-os-router/24591/1 "2017-05-29T13:17:58Z")

</div>

I want to connect two subnet using a router . Default gateway for these subnets are already used to connect to external router hence i have entered additional routes in the subnet with next hop ip . I want to use these next hop ip as the interface for a second router . While using ansible os\_router module , there is a argument for interface name but no ip ? Can anybody suggests an workaround ?

Thanks  
Bhujay
