Link to home
Start Free TrialLog in
Avatar of MoonLive
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?
Avatar of Qlemo
Qlemo
Flag of Germany image

.16 cannot be used, but otherwise it's "correct".
Avatar of MoonLive
MoonLive

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
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
Avatar of Predrag Jovic
Predrag Jovic
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial