Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Ghaf internal network IP address range to less risky with conflicts #447

Open
vilvo opened this issue Jan 10, 2024 · 0 comments
Open

Comments

@vilvo
Copy link
Contributor

vilvo commented Jan 10, 2024

          > Today I had a routing problem in Ghaf, because my default internet router subnet is 192.168.101.0/24.
[ghaf@net-vm:~]$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         net-vm          0.0.0.0         UG    1025   0        0 wlp0s4f0
192.168.100.0   0.0.0.0         255.255.255.0   U     0      0        0 ethint0
192.168.101.0   0.0.0.0         255.255.255.0   U     0      0        0 ethint0
192.168.101.0   0.0.0.0         255.255.255.0   U     1025   0        0 wlp0s4f0
net-vm          0.0.0.0         255.255.255.255 UH    1025   0        0 wlp0s4f0

The problem was that the net-vm was not able to ping my laptop because the default route in that case was through ethint0 and not to wlp0s4f0.

The solution in my case was simple, change the subnet in my Internet router to 192.168.110.0. But, many user could have a similar problem if their Internet routers subnet are 192.168.100.0 or 192.168.101.0. I think that the subnet managed by the net-vm should be one less popular, such as 192.168.170.0/

@jpruiz84 This is good suggestion. However, I left the change of the ghaf subnet ip addresses now out of this PR because it can cause some confusion in development and breaks in testing (when they have relied on IP addresses when the internal host name queries did not work). Now that the internal host name queries work, let's give people in development and testing time to adopt the change. Then the IP address range can be changed to something less likely to conflict.

Originally posted by @vilvo in #427 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant