Problems activating your account? Send notification email to: admin@post4vps.com
Host4Fun Budget VPS Hosting
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Two IPs - can I use the same Netmask for both?
#1
VPS 15 comes with two IPs, so this is my first experience with trying to put more than one IP on VestaCP. A nice challenge.

Previously I never bothered with how VestaCP set up the IP as I always had one IP, but this time round I have to add the second IP manually. It asks for a submask, and I don't have the foggiest what it should be?

Can I use the same Netmask that VestaCP loaded for the installation IP? Like have two IPs with the same Netmask, or do I need to figure out a different Netmask for the second IP. If yes, if it has to be different, how does one do that?
[Image: 4ax8Kok.png]

Thank you to Post4VPS and VirMach for my super fast VPS 9!
- DH Blog
Reply
#2
Maybe I'm wrong but I guess I know what you're trying to say and my opinion MAY help you.

First of all, check if the default IP address you have is in the block ie x.x.0.81 and x.x.0.82. If this is it, netmask should be the same.
But if the block is different, the netmask may differ.

I had this issue with Hetzner too when I bought additional IP and a subnet. Both were different and I had to apply different netmask.

So all over, if the IP address co-relates with each other, you MAY use the same netmask(not sure but this worked for me).
Reply
#3
Thanks for the feedback @Manal. The second IP has 2 extra digits at the end.

IP #1: xxx.xx.xx.x
IP #2: xxx.xx.xx.xxx

The mask for IP #1 that was set by VestaCP is: 255.255.255.255

So do you think I can use the same mask for IP#2?
[Image: 4ax8Kok.png]

Thank you to Post4VPS and VirMach for my super fast VPS 9!
- DH Blog
Reply
#4
You most likely have 2x /32 (single IPs) in your VPS and these do have the 255.255.255.255 subnet mask. Before you can even use the IP in VestaCP make sure it is configured in your network adapters already.
Kind regards
Hidden Refuge
Reply
#5
I may be totally wrong.

Now with that bit of wisdom in mind, ;-)

you can always configure another ip using 255.255.255.255 in such cases. It will simply mean you will have a virtual fence there and it wont talk directly with another ip even if that came from the same block. So probably it will always work if you set that... /32

It is like grouping people around tables where tables are marked with subnet masks.
Sincere Thanks to Shadow Hosting and post4vps  for my awesome vps4. Also a big thanks to cubedata for the great experience on my previous vps, vps8.
Reply
 


Forum Jump:


Users browsing this thread: 1 Guest(s)

Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - SSDBlaze - VPSlices - Abc-Hosters - Hyper Expert - Shadow Hosting - Bladenode - HostDoc - Hostlease


About Post4VPS

Post4VPS is a forum/destiny where you can Delploy Your Free VPSs just by the Power of Posts.

We Provide VPSs of many locations like Germany,US,Canada,France,London,etc.

We also Provide VPSs of Both Linux and Windows OS.