<div dir="ltr">Hi guys, sorry for the late reply. I noticed that the gateway I gave was not pingable and I will try it tomorrow and let you all know if it works out. Before I posted this discussion, I did a fresh installation of openstack. I have only modified the external network in init-runonce script. Will that cause a problem? I have attached an image of the modification I made before running the script as shown below. Other than that I have not made any changes to the configuration. Besides, I have not make any changes to the security-group rules regardless of the internet access. <br><img src="cid:ii_lb1tz3o30" alt="image.png" width="471" height="73"><br><div><br></div><div>Best regards,</div><div>Vincent<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 22, 2022 at 3:58 AM Eugen Block <<a href="mailto:eblock@nde.ag">eblock@nde.ag</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Just one more thing to check, did you edit the security-group rules to  <br>
allow access to the outside world?<br>
<br>
Zitat von Adivya Singh <<a href="mailto:adivya1.singh@gmail.com" target="_blank">adivya1.singh@gmail.com</a>>:<br>
<br>
> it should be missing a default route most of the time.<br>
> or check IP tables on router namespace the DNAT and SNAT are working<br>
> properly<br>
><br>
><br>
><br>
> On Tue, Nov 22, 2022 at 9:40 AM Tobias McNulty <<a href="mailto:tobias@caktusgroup.com" target="_blank">tobias@caktusgroup.com</a>><br>
> wrote:<br>
><br>
>> On Mon, Nov 21, 2022 at 7:39 PM vincent lee <<a href="mailto:vincentlee676@gmail.com" target="_blank">vincentlee676@gmail.com</a>><br>
>> wrote:<br>
>><br>
>>> After reviewing the post you shared, I believe that we have the correct<br>
>>> subnet. Besides, we did not modify anything related to the cloud-init for<br>
>>> openstack.<br>
>>><br>
>><br>
>> I didn't either. But I found it's a good test of the network! If you are<br>
>> using an image that doesn't rely on it you might not notice (but I<br>
>> would not recommend that).<br>
>><br>
>><br>
>>> After launching the instances, we are able to ping between the instances<br>
>>> of the same subnet. However, we are not able to receive any internet<br>
>>> connection within those instances. From the instance, we are able to ping<br>
>>> the router IP addresses 10.42.0.56 and 10.0.0.1.<br>
>>><br>
>><br>
>> To make sure I understand:<br>
>> - 10.42.0.56 is the IP of the router external to OpenStack that provides<br>
>> internet access<br>
>> - This router is tested and working for devices outside of OpenStack<br>
>> - OpenStack compute instances can ping this router<br>
>> - OpenStack compute instances cannot reach the internet<br>
>><br>
>> If that is correct, it does not sound like an OpenStack issue necessarily,<br>
>> but perhaps a missing default route on your compute instances. I would<br>
>> check that DHCP is enabled on the internal subnet and that it's providing<br>
>> everything necessary for an internet connection to the instances.<br>
>><br>
>> Tobias<br>
>><br>
>><br>
>><br>
<br>
<br>
<br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div><div>thanks you.<br></div>vincentleezihong<br></div>2garnet<br></div>form2<br><br></div></div>