GitHub user weizhouapache added a comment to the discussion: VM instances get 
VR's IP as DNS server but cannot resolve through VR

> The network offering is a shared guest network one. I've already destroyed VR 
> and have restarted the network with cleanup. Below is the network offering 
> service map in DB: select service, provider from ntwk_offering_service_map 
> where network_offering_id = ( select id from network_offerings where uuid = 
> 'bbf17083-aee6-4904-9e69-e9362d3dc475' ); +----------+---------------+ | 
> service | provider | +----------+---------------+ | Dhcp | VirtualRouter | | 
> Dns | VirtualRouter | | Firewall | VirtualRouter | | Lb | VirtualRouter | | 
> UserData | VirtualRouter | +----------+---------------+ 5 rows in set (0.00 
> sec)
> […](#)
> On Mon, Oct 6, 2025 at 8:30 AM Wei Zhou ***@***.***> wrote: I'm running on a 
> custom shared network offering. Both UI and DB show DNS, DHCP, and UserData 
> enabled and mapped to VirtualRouter. I't was previously working. I'm not sure 
> when it has been started to break. @fnavidan <https://github.com/fnavidan> 
> can you share more details of the network offering ? stopping/starting VR 
> might help, as well as restarting network with cleanup — Reply to this email 
> directly, view it on GitHub <[#11749 (reply in 
> thread)](https://github.com/apache/cloudstack/discussions/11749#discussioncomment-14601352)>,
>  or unsubscribe 
> <https://github.com/notifications/unsubscribe-auth/AKIF7YXQ7K7L77HIX4I2OKL3WID7XAVCNFSM6AAAAACHYVEXL2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTINRQGEZTKMQ>
>  . You are receiving this because you were mentioned.Message ID: ***@***.***>


@fnavidan 
I cannot reproduce the issue in 4.20

network offering
```
mysql> select * from ntwk_offering_service_map;
...
| 131 |                  31 | Lb             | VirtualRouter         | 
2025-10-07 06:44:01 |
| 132 |                  31 | UserData       | VirtualRouter         | 
2025-10-07 06:44:01 |
| 133 |                  31 | Dns            | VirtualRouter         | 
2025-10-07 06:44:01 |
| 134 |                  31 | Dhcp           | VirtualRouter         | 
2025-10-07 06:44:01 |
| 135 |                  31 | Firewall       | VirtualRouter         | 
2025-10-07 06:44:01 |
```

however, network only has 3 services
```
mysql> select * from ntwk_service_map;
...
| 107 |        220 | Dhcp           | VirtualRouter | 2025-10-07 06:44:32 |
| 108 |        220 | UserData       | VirtualRouter | 2025-10-07 06:44:32 |
| 109 |        220 | Dns            | VirtualRouter | 2025-10-07 06:44:32 |

```

VR 1
```
root@r-47-VM:~# cat /etc/dnsmasq.d/cloud.conf 
bind-interfaces
listen-address=127.0.0.1,172.16.101.10
dhcp-range=set:interface-eth0-0,172.16.101.10,static
dhcp-option=tag:interface-eth0-0,15,cs1cloud.internal
dhcp-option=tag:interface-eth0-0,6,172.16.101.10,10.0.32.1,8.8.8.8
dhcp-option=tag:interface-eth0-0,3,172.16.101.1
dhcp-option=eth0,26,1500
dhcp-option=tag:interface-eth0-0,1,255.255.255.0
root@r-47-VM:~# 
```

VR 2 (after restarting network with cleanup)
```
root@r-48-VM:~# cat /etc/dnsmasq.d/cloud.conf 
bind-interfaces
listen-address=127.0.0.1,172.16.101.10
dhcp-range=set:interface-eth0-0,172.16.101.10,static
dhcp-option=tag:interface-eth0-0,15,cs1cloud.internal
dhcp-option=tag:interface-eth0-0,6,172.16.101.10,10.0.32.1,8.8.8.8
dhcp-option=tag:interface-eth0-0,3,172.16.101.1
dhcp-option=eth0,26,1500
dhcp-option=tag:interface-eth0-0,1,255.255.255.0
root@r-48-VM:~# 
```

GitHub link: 
https://github.com/apache/cloudstack/discussions/11749#discussioncomment-14611861

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to