[GH-ISSUE #547] BUG: Network subnet wrong when add 2 or more virtual networks #409

Closed
opened 2026-02-27 16:39:11 +03:00 by kerem · 2 comments
Owner

Originally created by @ghost on GitHub (Apr 24, 2015).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/547

Hi there!
I was testing subnets configs and I got a bug.
In 'Network' menu I did it:

  • I have created a network called customer1 and I configured as:
    Network: 192.168.2.0/30 (gateway was auto add as 192.168.2.1 and the broadcast is 192.168.2.3)
    DHCP On
    IP Start: 192.168.2.2/30
    IP End: 192.168.2.2/30
    Forward: ROUTE

Ok so far.....

  • I have created other network called customer2 and I configured as:
    Network: 192.168.2.4/30 (gateway was auto add as 192.168.2.4 and the broadcast is 192.168.2.7)
    DHCP On
    IP Start: 192.168.2.5/30
    IP End: 192.168.2.6/30
    Forward: ROUTE

The gateway here is wrong! The system should be add the 192.168.2.5 like gateway and not 192.168.2.4. This is network address and not host address.
The DHCP should be start in 192.168.2.6/30 and End 192.168.2.6/30.

Who can test it and report here if the result is the same?

Thanks.

Originally created by @ghost on GitHub (Apr 24, 2015). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/547 Hi there! I was testing subnets configs and I got a bug. In 'Network' menu I did it: - I have created a network called customer1 and I configured as: Network: 192.168.2.0/30 (gateway was auto add as 192.168.2.1 and the broadcast is 192.168.2.3) DHCP On IP Start: 192.168.2.2/30 IP End: 192.168.2.2/30 Forward: ROUTE Ok so far..... - I have created other network called customer2 and I configured as: Network: 192.168.2.4/30 (gateway was auto add as 192.168.2.4 and the broadcast is 192.168.2.7) DHCP On IP Start: 192.168.2.5/30 IP End: 192.168.2.6/30 Forward: ROUTE The gateway here is wrong! The system should be add the 192.168.2.5 like gateway and not 192.168.2.4. This is network address and not host address. The DHCP should be start in 192.168.2.6/30 and End 192.168.2.6/30. Who can test it and report here if the result is the same? Thanks.
kerem closed this issue 2026-02-27 16:39:11 +03:00
Author
Owner

@retspen commented on GitHub (Apr 24, 2015):

Yes you are right problem exist, I will create fix soon as possible.

<!-- gh-comment-id:96026856 --> @retspen commented on GitHub (Apr 24, 2015): Yes you are right problem exist, I will create fix soon as possible.
Author
Owner

@ghost commented on GitHub (Apr 24, 2015):

Thank you very much!

<!-- gh-comment-id:96027113 --> @ghost commented on GitHub (Apr 24, 2015): Thank you very much!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#409
No description provided.