OVH Community, your new community space.

extra ip's assign


extremed
29-06-2009, 18:31
Quote Originally Posted by Myatu
You don't assign the main IP to "eth0:x" - only "eth0". Failover IPs, as Andy indicated, use the 255.255.255.255 netmask and are assigned as aliases ("eth0:x").
i didnt assign main ip to "eth0:x",

all working fine, i was wondering why that warnings commes,
nvm, Thanks

Myatu
29-06-2009, 17:23
You don't assign the main IP to "eth0:x" - only "eth0". Failover IPs, as Andy indicated, use the 255.255.255.255 netmask and are assigned as aliases ("eth0:x").

Andy
29-06-2009, 12:52
The netmask of failover IP's is 255.255.255.255 and the main IP is 255.255.255.0.

extremed
29-06-2009, 07:43
Quote Originally Posted by Myatu
Leave out the broadcast (not necessary) and use a netmask of 255.255.255.255. Ie:

Code:
auto eth0:0
iface eth0:0 inet static
       address 94.23.xx.xx1
       netmask 255.255.255.255
That's it. As for the NFS mount warnings, don't worry about those - they're just a notification.
netmask 255.255.255.255 ? but netmask of main ip is 255.255.255.0

freshwire
29-06-2009, 00:20
Run the command twice sometimes fixes some of these warnings :P

Myatu
28-06-2009, 23:12
Leave out the broadcast (not necessary) and use a netmask of 255.255.255.255. Ie:

Code:
auto eth0:0
iface eth0:0 inet static
       address 94.23.xx.xx1
       netmask 255.255.255.255
That's it. As for the NFS mount warnings, don't worry about those - they're just a notification.

extremed
28-06-2009, 22:22
im using Debian lenny and ive added my extra ip's as below to

/etc/network/interfaces


Code:
auto eth0:0
iface eth0:0 inet static
	address 94.23.xx.xx1
	netmask 255.255.255.0
	broadcast 91.xxx.xxx.xxx

auto eth0:1
iface eth0:1 inet static
	address 94.23.xx.xx2
	netmask 255.255.255.0
	broadcast 91.xxx.xxx.xxx

then ive restarted networking /etc/init.d/networking restart

when restart networking im getting this error

Code:
/etc/init.d/networking restart
Reconfiguring network interfaces...SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
if-up.d/mountnfs[eth0]: waiting for interface eth0:0 before doing NFS mounts (warning).
if-up.d/mountnfs[eth0]: waiting for interface eth0:1 before doing NFS mounts (warning).
if-up.d/mountnfs[eth0]: waiting for interface eth0:2 before doing NFS mounts (warning).
if-up.d/mountnfs[eth0]: waiting for interface eth0:3 before doing NFS mounts (warning).
if-up.d/mountnfs[eth0:0]: waiting for interface eth0:1 before doing NFS mounts (warning).
if-up.d/mountnfs[eth0:0]: waiting for interface eth0:2 before doing NFS mounts (warning).
if-up.d/mountnfs[eth0:0]: waiting for interface eth0:3 before doing NFS mounts (warning).
if-up.d/mountnfs[eth0:1]: waiting for interface eth0:2 before doing NFS mounts (warning).
if-up.d/mountnfs[eth0:1]: waiting for interface eth0:3 before doing NFS mounts (warning).
if-up.d/mountnfs[eth0:2]: waiting for interface eth0:3 before doing NFS mounts (warning).
done.
what im doing wrong? ip's usable after added i can reach server using extra ip's added but getting above warning

Thank you