OVH Community, your new community space.

Internet Connection Problem (Missing subnet mask and gateway information?)


xpur
22-09-2014, 19:07
ok. i solved. thank all.

marks
22-09-2014, 18:10
this is definitely your guide:

http://help.ovh.co.uk/BridgeClient

you have created a virtual MAC through the manage aswell, right?

if you still don't have internet connectivity, send us the output of your VM network configuration:

Code:
# ifconfig
# route -n

lynxus
22-09-2014, 14:28
Quote Originally Posted by xpur
I've tried. (http://help.ovh.co.uk/BridgeClient) all settings. but doesn't work
Your /32 ( the 255.255.255.255 ) subnetted single IP wont have a default gateway.

Your default gateway will be the gateway on your main ip address.

For example,
My eth0 gets its IP from DHCP, but for the hell of it , lets say it got.

37.187.200.10 /24 ( 255.255.255.0 )
With a default gateway of
37.187.200.254
( The default gateway is the IP of OVH's next hop layer3 device - So OVH should know this for you )

The static IP ( the /32 one )
Has:
IPADDR=37.187.235.XXX
NETMASK=255.255.255.255
NO GATEWAY

Essentially, your server will use the normal default gateway for data sent to the /32 ( 255.255.255.255 ) IP Address.

On OVH's core network, They will have a route pointing your failover / backup IP to your current one.

I have no idea if this helps you in any way, but at least theres some info here that may guide you..

[root@vps95738 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
NM_CONTROLLED=no

[root@vps95738 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0:0
DEVICE=eth0:0
NM_CONTROLLED=no
BOOTPROTO=static
IPADDR=37.187.235.XXX
NETMASK=255.255.255.255
ONBOOT=yes

xpur
22-09-2014, 13:45
I've tried. (http://help.ovh.co.uk/BridgeClient) all settings. but doesn't work

alex
22-09-2014, 12:02
CentOS 6.5 has slightly different network settings and you need to adjust default OVH settings (http://help.ovh.co.uk/BridgeClient) to CentOS 6.5

xpur
22-09-2014, 11:29
Thanks. I've just tried and it doesn't work

alsemany
21-09-2014, 15:22
I think the gateway will be the same ip address as it will be /32
for example
192.168.1.10/32

IP: 192.168.1.10
subnet:255.255.255.255
gateway:192.168.1.10

I'm not sure of this but I think this will work
also don't forget to put some DNS like 8.8.8.8 , 8.8.4.4

xpur
21-09-2014, 11:44
Hi,

I got VMware ESXi 5.0 & CentOS 6.5 and I have couple of problems about connecting to internet. Firstly, there are no subnet mask and gateway information about the failover ip addresses I have bought recently. Therefore, I used 255.255.255.255 as subnetmask as written on the forum. Also, like most people do, I entered xxx.xxx.xxx.254 as gateway. However, internet connection could not be realized. Then, I tried one more time, by deleting the gateway and entering the static route to the main ip as it is described. Still, no internet connection Can you make any suggestions about the possible solutions?
Thanx...