# Virtual network routes not added to vpc route table

**URL:** https://forum.pritunl.com/t/virtual-network-routes-not-added-to-vpc-route-table/1970
**Category:** Pritunl
**Tags:** pritunl-link
**Created:** [April 5, 2024, 3:33pm UTC](https://forum.pritunl.com/t/virtual-network-routes-not-added-to-vpc-route-table/1970 "2024-04-05T15:33:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bradlylong1](https://forum.pritunl.com/user_avatar/forum.pritunl.com/bradlylong1/32/271_2.png) [@bradlylong1](https://forum.pritunl.com/u/bradlylong1)
#### Post date: [April 5, 2024, 3:33pm UTC](https://forum.pritunl.com/t/virtual-network-routes-not-added-to-vpc-route-table/1970/1 "2024-04-05T15:33:12Z")

</div>

I’m trying to figure out what is different about how the virtual networks get added to the VPC route tables. My site-to-site networks get added just fine, however my virtual networks aren’t showing up.

I have cloud advertise checked on both my openvpn and wireguard client networks. I know the Pritunl link has the correct IAM permissions because it is able to update the routes to my other networks just fine. In the past we have controlled the routes, but I want to off-load that responsibility to Pritunl. I know that usually the virtual networks will point to the Pritunl server ENI and my other networks point to the links, at least in our deployments.

I’m following the AWS Route Advertisement guide. Any ideas on what would cause only the virtual networks to not be advertised? The logs on the server seem to be complaining about something that I feel like is unrelated.

[evening-meadow-9675][2024-04-05 15:21:13,178][ERROR] Failed to del wg interface  
Traceback (most recent call last):  
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/server/instance.py”, line 1426, in stop\_wg  
utils.check\_output\_logged([  
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/utils/misc.py”, line 223, in check\_output\_logged  
raise subprocess.CalledProcessError(  
subprocess.CalledProcessError: Command ‘[‘ip’, ‘link’, ‘del’, ‘dev’, ‘wg10’]’ returned non-zero exit status 1.  
server\_id = “660ee9200c1124f17a99a292”  
[evening-meadow-9675][2024-04-05 15:21:13,179][ERROR] Popen returned error exit code  
cmd = [“ip”, “link”, “del”, “dev”, “wg10”]  
return\_code = 1  
Process stderr:  
Cannot find device “wg10”  
Traceback (most recent call last):  
File “/usr/lib/pritunl/usr/lib/python3.9/threading.py”, line 937, in \_bootstrap  
self.\_bootstrap\_inner()  
File “/usr/lib/pritunl/usr/lib/python3.9/threading.py”, line 980, in \_bootstrap\_inner  
self.run()  
File “/usr/lib/pritunl/usr/lib/python3.9/threading.py”, line 917, in run  
self.\_target(\*self.\_args, \*\*self.\_kwargs)  
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/server/instance.py”, line 1877, in \_run\_thread  
self.stop\_wg()  
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/server/instance.py”, line 1426, in stop\_wg  
utils.check\_output\_logged([  
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/utils/misc.py”, line 216, in check\_output\_logged  
logger.error(‘Popen returned error exit code’, ‘utils’,  
File “/usr/lib/pritunl/usr/lib/python3.9/site-packages/pritunl/logger/ **init**.py”, line 55, in error  
kwargs[‘traceback’] = traceback.format\_stack()

We are running v1.32.3805.95 10dcb7.

---

<div class="post-metadata">

### Author: ![bradlylong1](https://forum.pritunl.com/user_avatar/forum.pritunl.com/bradlylong1/32/271_2.png) [@bradlylong1](https://forum.pritunl.com/u/bradlylong1)
#### Post date: [April 5, 2024, 5:43pm UTC](https://forum.pritunl.com/t/virtual-network-routes-not-added-to-vpc-route-table/1970/2 "2024-04-05T17:43:59Z")

</div>

I guess the Pritunl server also needs IAM permissions to edit the route table? I only saw that called out when setting up the links.
