New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Network ipaliasing OVH
I have bought one of OVH IPV4 USA, however they guide me how to run parallel to the 2 IP. They give a lot of documents to guide but not succeed, they do not support the things needed for configuration.
I've followed the instructions here: http://docs.ovh.ca/en/guides-network-ipaliasing.htm
File ifcfg-eth0:0 DEVICE="eth0:0" ONBOOT="yes" BOOTPROTO="static" # For CentOS use "static" IPADDR="149.56.65.1xx" NETMASK="255.255.255.255" BROADCAST="149.56.65.1xx"
When I boot up
ifup eth0:0 ipcalc: bad netmask: 255.255.255.255 ipcalc: bad netmask: 255.255.255.255 is already in use for device eth0...xx /".or: an inet prefix is expected rather than "149.56.65.1xx .for eth0:0g address 149.56.65.1xx bind: Cannot assign requested address
I need a help.
Comments
I thought your post was unreadable and formatted it a bit. That makes it easier for others to help...
Give us some more information. Errors vary based on OS, so we'd need to know that to even get started on helping you.
from whatever little information provided, this is what I can conclude for your ifcfg-eth0:0 file
see if this works.
OS: CentOS 6 64bit. They only offer IP failover only for me, but did not provide any other information.
what of your provision email? should be some important information there
ONBOOT="yes"
BOOTPROTO="static" # For CentOS use "static"
IPADDR="149.56.65.1xx"
NETMASK="255.255.255.255"
BROADCAST="192.99.54.2xx"
I have edit , but not work
ipcalc: bad netmask: 255.255.255.255
ipcalc: bad netmask: 255.255.255.255
is already in use for device eth0...57
/".or: an inet prefix is expected rather than "149.56.65.1xx
.for eth0:0g address 149.56.65.1xx
bind: Cannot assign requested address
They only send a single email about adding IP USA
Edit images
oh sorry, last line should be GATEWAY not BROADCAST. you should use the same gateway as your ifcfg-eth0, and BROADCAST the additional ip (broadcast and ipaddr same address).
These parameters are the same in eth0
do you see a gateway for ifcfg-eth0? if it's not there, then it'll not be needed. probably just need this
No gateway with eth0 , i have set IPADDR ,BROADCAST with additional ipv4, but not work.Always error
ifup eth0:0
ipcalc: bad netmask: 255.255.255.255
ipcalc: bad netmask: 255.255.255.255
is already in use for device eth0...xx
/".or: an inet prefix is expected rather than "149.56.65.1xx
.for eth0:0g address 149.56.65.1xx
bind: Cannot assign requested address
hmm wrong netmask?
yes, bad netmask
but this is the general netmask used in most cases. check with support, include your error images. wonder what you'd get with service network restart?
I have rest network but error . When contacting OVH they just give me the documents,
They did not give any configuration for my application form. 2 supporter even made 2 different ways to document were unsuccessful
no idea what else can be done
out of curiosity, what do you see in route-eth0?
Eth0 only show
lookup the file route-eth0, see what's there
cat /etc/sysconfig/network-scripts/ route-eth0 not found
well, nothing I can say. my IP blocks always come with relevant info
apparently, you may need to reinstall so as additional IPv4 may bind accordingly. check this https://www.ovh.co.uk/vps/faq-help.xml#options
In case of using IP Aliasing the broadcast should be your 2nd IP and not end in .254 per the docs.
You could try:
http://docs.ovh.ca/en/guides-network-bridging.html#redhat-derivatives-centos-6-scientific-linux-clearos (leaving out HWADDR)
@mrbombom you may want to remove your IP. Using the .254 part and your gmail screenshot I pieced it together to be 149.56.65.254. (remove if desired @jarland or @raindog308)
Hi,
I have set eth1
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
IPV6INIT=no
PEERDNS=yes
TYPE=Ethernet
NETMASK=255.255.255.255
IPADDR=149.56.65.xx
GATEWAY=192.99.54.xx
ARP=yes
HWADDR=MY:VI:RT:UA:LM:AC //not set
file route-eth1
default via 192.99.54.xxx dev eth1
But when start eth1
does not seem to be present, delaying initialization.
yea of course, you only have 1 virtual interface, eth0. if you want to run a second interface, dummy module can be used.
oops ip address leaked
ps - did you try reinstalling and redo additional IP?
Here's the full extent of adding an add-on IP to my OVH VPS:
Address + Netmask. I left the primary interface as default (DHCP), and just added that with an
ifup eth0:0
and it was online.@century1stop: I have set > [root@vps66748~]# lsmod | grep dummy
dummy 2682 0
[root@vps66748 ~]# ifup eth1
does not seem to be present, delaying initialization.
Not work
good, dummy's working so you need to instruct it further.
@century1stop
[root@vps66748 ~]# ifup eth1
does not seem to be present, delaying initialization.
[root@vps66748 ~]#