# Issue Creating InternetGatewayDevice.WANDevice.2 Without Deleting Existing WAN Connection

**URL:** <https://forum.genieacs.com/t/issue-creating-internetgatewaydevice-wandevice-2-without-deleting-existing-wan-connection/7318>\
**Category:** Help\
**Created:** [February 4, 2026, 10:43am UTC](https://forum.genieacs.com/t/issue-creating-internetgatewaydevice-wandevice-2-without-deleting-existing-wan-connection/7318 "2026-02-04T10:43:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ranjit3770](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@ranjit3770](https://forum.genieacs.com/u/ranjit3770)\
**Post date:** [February 4, 2026, 10:43am UTC](https://forum.genieacs.com/t/issue-creating-internetgatewaydevice-wandevice-2-without-deleting-existing-wan-connection/7318/1 "2026-02-04T10:43:28Z")

</div>

How can I create `InternetGatewayDevice.WANDevice.2` when `InternetGatewayDevice.WANDevice.1.WANConnectionDevice.3` already exists? When I try to create it, `InternetGatewayDevice.WANDevice.4` is created instead. I should not delete `InternetGatewayDevice.WANDevice.1.WANConnectionDevice.3`, as deleting it will disconnect my network.

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [February 4, 2026, 6:56pm UTC](https://forum.genieacs.com/t/issue-creating-internetgatewaydevice-wandevice-2-without-deleting-existing-wan-connection/7318/2 "2026-02-04T18:56:34Z")

</div>

Adding an instance doesn’t delete an instance. If one is being deleted, then you either have a provision script which is deleting the instance, or your CPE is deleting the instance.

Instance IDs are not guaranteed, the spec leaves numbering up to manufacturers.

---

<div class="post-metadata">

**Author:** ![ranjit3770](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@ranjit3770](https://forum.genieacs.com/u/ranjit3770)\
**Post date:** [February 5, 2026, 3:52am UTC](https://forum.genieacs.com/t/issue-creating-internetgatewaydevice-wandevice-2-without-deleting-existing-wan-connection/7318/3 "2026-02-05T03:52:51Z")

</div>

Thank you for your response. However, I believe there is a misunderstanding.  
This is not an automatic deletion issue. Let me explain.

For example, I currently have **index 3** (assume it is DHCP: `InternetGatewayDevice.WANDevice.1.WANConnectionDevice.3`).  
There are **no index 1 or 2** present. However, I want to create **index 2**.

When I try to create the object, it automatically creates **index 4** instead.  
But my requirement is to create **index 2**.

How can I resolve this **without deleting the existing index 3 object**?

The existing provision is only used to refresh data.  
There are **no provision scripts that assign or delete any objects**.

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [February 5, 2026, 5:14pm UTC](https://forum.genieacs.com/t/issue-creating-internetgatewaydevice-wandevice-2-without-deleting-existing-wan-connection/7318/4 "2026-02-05T17:14:07Z")

</div>

> [@ranjit3770](#):
>
> But my requirement is to create **index 2**.

Instance IDs are not guaranteed, the spec leaves numbering up to manufacturers.

---

<div class="post-metadata">

**Author:** ![westnet-paul](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/westnet-paul/32/2239_2.png) [@westnet-paul](https://forum.genieacs.com/u/westnet-paul)\
**Post date:** [February 6, 2026, 12:31pm UTC](https://forum.genieacs.com/t/issue-creating-internetgatewaydevice-wandevice-2-without-deleting-existing-wan-connection/7318/5 "2026-02-06T12:31:18Z")

</div>

I guess my question would be: why do you want it to be at index 2? What’s wrong with 4?

---

<div class="post-metadata">

**Author:** ![ranjit3770](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@ranjit3770](https://forum.genieacs.com/u/ranjit3770)\
**Post date:** [February 7, 2026, 4:03pm UTC](https://forum.genieacs.com/t/issue-creating-internetgatewaydevice-wandevice-2-without-deleting-existing-wan-connection/7318/6 "2026-02-07T16:03:44Z")

</div>

Absolutely correct - we can use index 4. I’m new to GenieACS, so at first I thought the VLAN interface IDs were static. I understood the concept only later.

---

<div class="post-metadata">

**Author:** ![ranjit3770](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@ranjit3770](https://forum.genieacs.com/u/ranjit3770)\
**Post date:** [February 7, 2026, 4:03pm UTC](https://forum.genieacs.com/t/issue-creating-internetgatewaydevice-wandevice-2-without-deleting-existing-wan-connection/7318/7 "2026-02-07T16:03:55Z")

</div>

Thank you so much for all the responses.
