What's the significance of the subnet mask in the VLAN IPAM Address?
All of the examples of the IPAM address that should be set for a particular node in a VLAN are in the format 10.0.0.x/24. But this is specified separately for each node.
If I create two nodes with the same VLAN and IPAM addresses 10.0.0.1/24 and 10.0.0.2/24 -- did I just create a VLAN with 10.0.0.0/24 and two nodes with 10.0.0.1/32 and 10.0.0.2/32 in that VLAN?
If so, what happens if I specify different subnets, like 10.0.0.1/16 and 10.0.0.2/24?
2 Replies
✓ Best Answer
I don’t know for definite, but I would assume this just sets the IP and subnet mask on the auto-configured network interface.
You choose the VLAN the Linode will be connected to, so I think the packets will still traverse the VLAN even if the subnets don’t match, as long as the Linodes are within the same VLAN, but a Linode wouldn’t “see” them if they were outside of its own subnet mask.
For example: a Linode on 10.0.1.1/24 wouldn’t process packets from a Linode on 10.0.2.1/24, but it would from 10.0.1.2/24.
I don’t know though, never tried it.
Makes sense. Thanks for the reply.