Addition / XOR of IP addresses #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In order to properly implement subnetting, I need to create a function within the IP address class that allows for adding / XORing in order to correctly portray the gap in-between each network.
Could also look at a looping over an 8 bit segment of the CIDR's borrowed bits.
Implemented in #2 by converting IPs to u32 and adding an additional u32 to each address to get the full range of subnets