OVH Community, your new community space.

Ip address?


gigabit
02-08-2009, 00:12
You don't assign gateways to failovers.

derchris
01-08-2009, 21:08
So what ?

zitanix
01-08-2009, 20:27
this is of my Main IP:

iface eth0 inet static
address 94.23.209.21
netmask 255.255.255.0
network 94.23.209.0
broadcast 94.23.209.255
gateway 94.23.209.254

So ?

Myatu
01-08-2009, 20:17
The same as the main IP, because they're failovers IPs and it can change... (so don't add any gateway stuff to your configuration for the failover IPs!).

And fix your netmasks (you said so yourself in an earlier post: 255.255.255.255)...

zitanix
01-08-2009, 20:10
i have qustion
what is getway of each ip ?

zitanix
01-08-2009, 20:00
n# /etc/init.d/networking restart
Reconfiguring network interfaces...done.

Thank You

freshwire
01-08-2009, 19:59
Your first line reads:

auto eth:0:0

Change it to:

auto eth0:0

gigabit
01-08-2009, 19:58
You made lots of typos...

"eth:0:0" is wrong, and eth0:2 is missing a line etc etc

zitanix
01-08-2009, 19:45
old error solved
this is new error :

# /etc/init.d/networking restart
Reconfiguring network interfaces...SIOCSIFADDR: No such device
eth:0:0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
eth:0:0: ERROR while getting interface flags: No such device
Failed to bring up eth:0:0.
done.

zitanix
01-08-2009, 19:15
Hi again
im add this value to nano /etc/network/interfaces


Code:
auto eth:0:0
iface eth0 inet static
address 87.98.249.139
netmask 255.255.255.0

auto eth0:1
iface eth0:1 inet static
address 94.23.144.134
netmask 255.255.255.0

auto eth0:2
iface eth0:2 inet static
address 87.98.158.160

auto eth0:3
iface eth0:3 inet static
address 94.23.73.72
netmask 255.255.255.0
after run:
Code:
/etc/init.d/networking restart
show this error:

Code:
# service network restart
-bash: service: command not found
ns303900:~# /etc/init.d/networking restart
Reconfiguring network interfaces.../etc/network/interfaces:17: duplicate interface
ifdown: couldn't read interfaces file "/etc/network/interfaces"
/etc/network/interfaces:17: duplicate interface
ifup: couldn't read interfaces file "/etc/network/interfaces"
failed.

gigabit
29-07-2009, 22:00
That is correct.

Remember though when you add a second it would be eth0:1 then the next is eth0:" and so on...

zitanix
29-07-2009, 21:41
for Debian
just add :
auto eth0:0
iface eth0:0 inet static
address IP.DE.FAIL.OVER
netmask 255.255.255.255

after reboot network service?

gigabit
29-07-2009, 21:35
http://help.ovh.co.uk/IpAlias

Don't need gateway or b'cast etc, just ip and subnet of 255.255.255.255.

zitanix
29-07-2009, 21:30
Hi
we have 4 Ip address from OVH
i dont kow what is of my ips
getway of Ips
subnetmask of ips !
i just get IP address FROM OVH!!
thank you