02-24-2004 10:54 AM - edited 03-02-2019 01:49 PM
Are these wrong vlan IP ranges or are they correct:
1st vlan id: 10.4.0.0 /20
1st valid IP address: 10.4.0.1 /20
Last valid Ip address: 10.4.15.254 /20
Broadcast: 10.4.15.255 /20
2nd vlan id: 10.4.16.0 /20
1st valid IP address: 10.4.16.1 /20
Last valid Ip address: 10.4.31.254 /20
Broadcast: 10.4.31.255 /20
3rd vlan id: 10.4.32.0 /20
And so on. . .
Could I have done the following as well?
1st vlan id: 10.0.0.0 /20
1st valid IP address: 10.0.0.1 /20
Last valid Ip address: 10.0.15.254 /20
Broadcast: 10.0.15.255 /20
2nd vlan id: 10.4.16.0
1st valid IP address: 10.0.16.1 /20
Last valid Ip address10.0.31.254 /20
Broadcast: 10.0.31.255 /20
3rd vlan id: 10.0.32.0 /20
And so on. . .
The reason I am asking this is because I have seen many articles stating that for the network 172.16.0.0 with /30 SM the 1st valid subnet is 172.16.0.4 /30 and I was wondering why one could not use 172.16.0.0 /30 and the 2nd available subnet be 172.16.0.4 /30.
02-24-2004 11:26 AM
These are all ok as long as you make sure that "ip subnet-zero" is configured, which has been default for a while anyway. Without this statement, 10.0.0.1/20 would be considered invalid.
Hope this helps,
02-24-2004 12:15 PM
Could I have a router with 3 interfaces configured as followed without an IP overlapping conflict?
e0/0: 10.1.0.1 /16
e0/1: 10.1.0.1 /24 or 10.1.0.2 /24
e0/2: 10.1.0.1 /28 or 10.1.0.3 /28
IP subnet zero being enabled
02-24-2004 01:15 PM
You couldn't since these 3 subnets are ovelapping. The router would give you the following kind of error message:
% 10.1.0.0 overlaps with Ethernet0/0
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide