MoonLive
asked on
Public IP Address - Subnet
Hi, i have 20 usable public ip address and i would like to split into two subnets. For example, if my pubic ip address is 111.111.111.1 to 22 with 255.255.255.0 subnet, Can i make the ip address 111.111.111.1 - 14 / 28 and 111.111.111.16 - 22 /28?
.16 cannot be used, but otherwise it's "correct".
ASKER
when you create a route is this going to be correct?
ip route 0.0.0.0 0.0.0.0 111.111.111.1
ip route 111.111.111.0 255.255.255.240 192.168.1.1
ip route 111.111.111.16 255.255.255.240 192.168.0.1
vlan 1 interface 192.168.1.1
vlan 2 interface 192.168.0.1
ip route 0.0.0.0 0.0.0.0 111.111.111.1
ip route 111.111.111.0 255.255.255.240 192.168.1.1
ip route 111.111.111.16 255.255.255.240 192.168.0.1
vlan 1 interface 192.168.1.1
vlan 2 interface 192.168.0.1
As far as I can tell, yes. If this is Cisco gear, the meaning of the subnet mask may be inverse - you'll have to code the host part, not the subnet part, IIRC.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.