apache / apache/cloudstack

With VR + VNF + L2 Network, the VMs in L2 Network cannot be reached from the Internet (But the opposite is possible)

Open
#9,791 15 comments 0 reactions 0 assignees View on GitHub
type:enhancement
Dominant language
Java
Stars
3.1k
Forks
1.4k
Avg merge
6d 19h
Merged PRs (30d)
32

Description

##### ISSUE TYPE

* Bug Report

##### COMPONENT NAME

~~~
VR + VNF
~~~

##### CLOUDSTACK VERSION

~~~
4.19.1
~~~

##### CONFIGURATION

Advanced Networking
VPC
VNF + L2 Network

##### OS / ENVIRONMENT

##### SUMMARY

We have 1 VPC and 1 L2 Network connected together with a VNF (PFsense) in between.

Results Summary:
- Test 1: From L2 VM (10.26.8.230) to VPC VM (10.26.1.250) - PASS
- Test 2: From VPC VM (10.26.1.250) to L2 VM (10.26.8.230) - FAILED
- Test 3: From L2 VM (10.26.8.230) to Private Gateway VM (10.88.5.82) - PASS
- Test 4: From Private Gateway VM (10.88.5.82) to L2 VM (10.26.8.230) - FAILED

Background:
We’ve allowed any on the VNF firewall rules as attached in the screenshot below:

![Screenshot 2024-10-14 at 9 03 26 PM](https://github.com/user-attachments/assets/fcddf19d-3c10-4e12-8571-e7144e5a8ea2)

Traffic is allowed any on 10.26.1.254 interface

![Screenshot 2024-10-14 at 9 03 55 PM](https://github.com/user-attachments/assets/b4fe623e-c3f8-42ef-9bfe-f30138b934aa)

Traffic is allowed any on 10.26.8.254

We then run some tests.

Test 1: From L2 VM (10.26.8.230) to VPC VM (10.26.1.250)
![Screenshot 2024-10-14 at 9 04 32 PM](https://github.com/user-attachments/assets/0e003313-9e20-4d48-9da4-9f313a11f2bc)

Results: Ping and traceroute test from 10.26.8.230 to 10.26.1.250 works as expected. (PASS)

![Screenshot 2024-10-14 at 9 05 11 PM](https://github.com/user-attachments/assets/c37a7f27-9a61-49e1-90ca-10dafcf3061a)

Test 2: From VPC VM (10.26.1.250) to L2 VM (10.26.8.230)

![Screenshot 2024-10-14 at 9 05 32 PM](https://github.com/user-attachments/assets/4d9fde56-11c6-411f-9095-53223fe8e3da)

Results: Ping and traceroute test from 10.26.1.250 to 10.26.8.230 is not possible (FAILED)

![Screenshot 2024-10-14 at 9 06 01 PM](https://github.com/user-attachments/assets/8f2d9fa8-a4bf-428d-a82f-fd3f29f1d5a0)

Test 3: From L2 VM (10.26.8.230) to Private Gateway VM (10.88.5.82)
![Screenshot 2024-10-14 at 9 07 42 PM](https://github.com/user-attachments/assets/94cdf87e-7ab1-408d-b22d-36d1dba36e71)
Results: Ping and traceroute test from 10.26.8.230 to 10.88.5.82 works as expected (PASS)

Test 4: From Private Gateway VM (10.88.5.82) to L2 VM (10.26.8.230)
![Screenshot 2024-10-14 at 9 08 14 PM](https://github.com/user-attachments/assets/96a3fd00-2c6a-47d5-a5f6-8fdbf03ededd)

Results: Ping and traceroute test from 10.88.5.82 to 10.26.8.230 does not work (FAILED)
![Screenshot 2024-10-14 at 9 08 36 PM](https://github.com/user-attachments/assets/f2f52757-e0d9-4a5b-beb9-9e084293a244)

We've been trying to debug Tests 2 and 4 for a while now with no sucess. Anyone has any ideas?
Or is Cloudstack designed not to allow this to be possible?

##### STEPS TO REPRODUCE

~~~
NA
~~~

##### EXPECTED RESULTS

~~~
Tests 2 and 4 should be able to work
~~~

##### ACTUAL RESULTS

~~~
Tests 2 and 4 does not work
~~~

Contributor guide

Open the contributing guide

Research direction

Start with the documented Advanced Networking, VPC, L2 Network, and VNF (PFsense) configuration, then reproduce Tests 2 and 4 using the listed ping and traceroute paths. Done means determining whether the asymmetric reachability is a CloudStack defect or expected behavior and documenting a confirmed fix or configuration requirement; no source file or test is identified.

Written by the indexing model from the issue text.

Assessment

Domain
cloud, infrastructure, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.