VMware Cloud Community
Urania
Enthusiast
Enthusiast

vCSA 5.1 New installation / GW rejected

Dear all,

Fresh install from yesterday.

I am trying to use the version 5.1.0.5200 bUILD 880472;

I am using a public IP for my network config:

/opt/vmware/share/vami/vami_config_net

My configs:

/etc/sysconfig/networking/devices/ifcfg-eth0

DEVICE=eth0
BOOTPROTO='static'
STARTMODE='auto'
TYPE=Ethernet
USERCONTROL='no'
GATEWAY='91.121.xxx.254'
IPV6INIT=no
IPADDR='91.121.xxx.xxx'
NETMASK='255.255.255.255'
BROADCAST='91.121.xxx.xxx'


#nslookup www.yahoo.fr
;; connection timed out; no servers could be reached

ifconfig:

eth0 Link encap:Ethernet HWaddr 00:50:xx:xx:xx:xx
inet addr: 91.121.xxx.xxx Bcast: 91.121.xxx.xxx Mask: 255.255.255.255
inet6 addr: blablabla/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:69 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 ..........................................
collisions:0 txqueuelen:1000
RX bytes:7342 TX bytes:698

/etc/sysconfig/network/routes

default 91.121.xxx.254 --

Press 0 to see the config:

Network Configuration for eth0
IPv4 Address: 91.121.38.xxx
Netmask: 255.255.255.255
IPv6 address:
Prefix:

Global Configuration
IPv4 Gateway:
IPv6 Gateway:fe80:............
Hostname: my_hostname
DNS Servers: 213.186.33.99
Proxy Server:

Any idea ?

Thx

0 Kudos
10 Replies
a_nut_in
Expert
Expert

Can you ping 213.186.33.99?

Also Yahoo is resolving to 68.180.206.184

See if you can ping that?

Also are you able to ping your default gateway?

Do remember to mark my post as "helpful" or "correct" if I've helped resolve or answer your query!
0 Kudos
Urania
Enthusiast
Enthusiast

No everywhere.

The system doesn't accept my GW.

But if I am using private IP, it does accept it.

My public IP is 91.121.xxx.xxx and my GW is: 91.121.xxx.254

Thx

0 Kudos
a_nut_in
Expert
Expert

shouldn't the netmask be either 255.255.0.0 or 255.255.255.0 or something?

Can you fire up a Windows or Linux VM and put it on the same host and vswitch/portgroup and try the same network settings?

Will give us an idea where the problem is, especially as you have mentioned, private IP addresses are working fine

Do remember to mark my post as "helpful" or "correct" if I've helped resolve or answer your query!
0 Kudos
Urania
Enthusiast
Enthusiast

Hello,

I am using today already another solution: vCenter + Windows 2008 server with the same network config ..... it is working fine.

The mask should be (from my provider) 255.255.255.255.

Thx

0 Kudos
a_nut_in
Expert
Expert

Would be worth a shout to vmware on this, as I am also unable to get VCVA to talk to my gateway with similar settings. I can ping if I change my netmask to 255.255.255.0 though

Do remember to mark my post as "helpful" or "correct" if I've helped resolve or answer your query!
0 Kudos
Urania
Enthusiast
Enthusiast

Hi,

I might have found a solution, but I will only be able to check it when my ISP will unblock my IP Smiley Happy

I will let you know.

Thx

0 Kudos
Urania
Enthusiast
Enthusiast

Hi,

Now working.

Appliance version used: 5.1.0.5300 Build 947940

configure the network :

/opt/vmware/share/vami/vami_config_net

Netmask 255.255.255.0

route add xxx.xxx.xxx.254 dev eth0
route add defaults gw xxx.xxx.xxx.254
Only pb I have today, if I reboot .... Do not anymore work, I have to type back these two command lines.

Cheer,

0 Kudos
elgreco81
Expert
Expert

Hi,

Routes added by the command "route add" are not persistent. For making it persistent you should add them in the routes file located in /etc/sysconfig/network.

You could also do it by invoking "yast" from the command line but the only time I made a change using "yast", things did not go well as this vApp is VAMI managed and me changing things with yast broke some things Smiley Happy

There's no need to restart the appliance to check if that works, you just need to restart the network service with this command

service network restart

And confirm the route is still there with

route -n

Hope this helps,

Regards,

elgreco81


					
				
			
			
				
Please remember to mark as answered this question if you think it is and to reward the persons who helped you giving them the available points accordingly. IT blog in Spanish - http://chubascos.wordpress.com
0 Kudos
a_nut_in
Expert
Expert

Ya... netmask 255.255.255.255 didn't work on my setup as well

Do remember to mark my post as "helpful" or "correct" if I've helped resolve or answer your query!
0 Kudos
Urania
Enthusiast
Enthusiast

Yes not persistant you are right ... But something is wrong with this appliance, in /etc/sysconfig/network/route (if I remember well) I can see my default route: xxx.xxx.xxx.254

After the reboot, I can still see my default route in this file /etc/sysconfig/network/route but I am not anymore able to ping/resolved anything ....

I have to use : route add again to make it working.

Thx

0 Kudos