I want to set up an 8 IP Address subnet from 192.168.22.248 to 192.168.22.255 on one of the ethernet ports on a cloud core router. What are the entries for the “Network” for such a subnet?
IP Address Setting.PNG
VRRP Network Setting.PNG
Hi,
Maybe a quick intro to subnetting is apporpriate based on your subject line - below a quick breakdown using a couple of examples:
Network: 192.168.0.0/30
HostMin: 192.168.0.1
HostMax: 192.168.0.2
Broadcast: 192.168.0.3
Hosts/Net: 2
Network: 192.168.0.0/29
HostMin: 192.168.0.1
HostMax: 192.168.0.6
Broadcast: 192.168.0.7
Hosts/Net: 6
Network: 192.168.0.0/28
HostMin: 192.168.0.1
HostMax: 192.168.0.14
Broadcast: 192.168.0.15
Hosts/Net: 14
As you can see a /29 gives at best 6 hosts while a /28 gives 14 hosts. Creating a 8 host subnet is not possible.
One other important comment around the VRRP you posted.
- VRRP assumed 2 routers who will have the shared responsiblity to announce a specific gateway IP
- Using 192.168.0.0/29 as example
- You want the default gateway for the segment to be 192.168.0.1
- As such router 1 should have an ip of 192.168.0.2/29
- Router 2 should have an ip of 192.168.0.3/29
- The important point then - both routers will have 192.168.0.1/32 assigned to their vrrp ip. Most important please note the /32 not /29
- The VRRP IP should be in the same subnet as the main network
Cheers
Thanks for your response.
Lets just say that I would like a 6 host subnet with the network addresses as follows
Network: 192.168.22.148/29
HostMin: 192.168.22.249
HostMax: 192.168.22.254
Broadcast: 192.168.22.255
Hosts/Net: 6
The purpose being I want to have redundant routers with one router at 192.168.22.252
The other router at 192.168.22.254
and the VRRP address to be 192.168.22.253
I would then have up to 3 hosts at 192.168.22.249-.251
I am then asking if I am correct in the settings for the Interface entries per my original question.
Ethernet port:
Address: 192.168.22.252/29
Network: 192.168.22.248
VRRP
Address: 192.168.22.253
Network: 192.168.22.248
Thanks