We provide ip address of 192.168.1.1/30 and 192.168.1.2/30 on WAN link between router A and router B. now if we try to provide 192.168.1.4/27 network to LAN of router A it shows same network IPs on both interfaces (i.e LAN and WAN). why is it so? The mask changes, the LAN ip segment is not same as given on WAN. Please someone explian this to me i'm confused.
Alain provides a very easy and effective solution which is to start in a different /24 network. And this would certainly work. But I sense that Roman may be looking for a solution that would put both subnets into the same /24.
If that is the case then Roman needs to think through the question of what subnets are available in a /27 and which one are already used and which ones are available. A /27 uses a mask of 255.255.255.224 and the subnets and address ranges are as follows
subnet address range
192.168.1.0 192.168.1.1 through 192.168.1.31
192.168.1.32 192.168.1.33 through 192.168.1.63
192.168.1.64 192.168.1.65 through 192.168.1.95
192.168.1.96 192.168.1.97 through 192.168.1.127
192.168.1.128 192.168.1.120 through 192.168.1.159
192.168.1.160 192.168.1.161 through 192.168.1.191
192.168.1.192 192.168.1.193 through 192.168.1.223
192.168.1.224 192.168.1.225 through 192.168.1.255
Assignment of 192.168.1.1 as a /30 makes the first subnet used. But any of the other subnets could be available for use.
Perhaps the most logical thing would be to assign 192.168.1.32/27 as the subnet for the LAN since it is the next available subnet.
We are pleased to announce availability of Beta software for 16.6.3. 16.6.3 will be the second rebuild on the 16.6 release train targeted towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are looking for early feedback from custome...