Hi there. I am having problems setting up the network settings for my NC(s). I believe there is a problem with the was the gateway is configured as the NC do not have external connectivity.
My cloud setup is: Server A - CLC, CC, W, SC Server B - NC Server xx - NC's Server A eth0 connected to enterprise network, eth1 connected to switch Server B-xx - eth0 connected to switch
I tried to follow the Euca Beginner's Guide UEC Edition steps as closely as possible. The private network is set up on 192.168.20.xxx. However, once I reach the steps in section 2.2.2 in the guide I run into problems. apt-get cannot connect, therefore I cannot update eucalyptus and cannot install ntp, leaving my clocks non-synced.
I have Server A set up and it seems to be working fine. I can log into the web interface and download images from the ubuntu site and so on. Here is the contents of some config files from Server A:
:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address A.B.C.D
netmask x.x.x.x
network x.x.x.x
broadcast x.x.x.x
gateway x.x.x.x
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers W.X.Y.Z M.N.O.P
dns-search entdomain
auto eth1
iface eth1 inet static
address 192.168.20.1
netmask 255.255.255.0
network 192.168.20.0
broadcast 192.168.20.255
cat /etc/resolv.conf
search entdomain
nameserver W.X.Y.Z
nameserver M.N.O.P
cat /etc/eucalyptus/eucalyptus.conf
...
# Affects: CC, NC
# See: **NOTE** below
ENABLE_WS_SECURITY="Y"
LOGLEVEL="DEBUG"
VNET_PUBINTERFACE="eth0"
VNET_PRIVINTERFACE="eth1"
VNET_MODE="MANAGED-NOVLAN"
# Affects: CC
# See: **NOTE** below
CC_PORT="8774"
SCHEDPOLICY="ROUNDROBIN"
POWER_IDLETHRESH="300"
POWER_WAKETHRESH="300"
NC_SERVICE="axis2/services/EucalyptusNC"
VNET_DHCPDAEMON="/usr/sbin/dhcpd3"
VNET_DHCPUSER="dhcpd"
DISABLE_TUNNELLING="N"
NODES=""
VNET_ADDRSPERNET="32"
#VNET_SUBNET=""
#VNET_NETMASK=""
#VNET_DNS=""
#VNET_PUBLICIPS=""
...
As I said, this guy seems to be working. When I went to install the NC, I canceled DHCP setup and did the steps manually. When it got to apt setup it hung so I canceled that part of the installation (I'm guessing that it could not connect to the internet).
Now Server B is up and running. However, I do not think the default gateway is working. I have to SSH into Server A before SSH'ing into Server B on the private network (understandable). From there I can ping both the private and public IP's of Server A successfully, but cannot ping any other enterprise network IP's nor access the internet, which leads me to think that some gateway setting is broken (but then again, I don't know much about networking...)
Here is some of Server B's configuration:
cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet static
address 192.168.20.2
netmask 255.255.255.0
network 192.168.20.0
broadcast 192.168.20.255
gateway 192.168.20.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers W.X.Y.Z M.N.O.P
bridge_ports eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
cat /etc/resolv.conf
nameserver W.X.Y.Z
nameserver M.N.O.P
cat /etc/eucalyptus/eucalyptus.conf
...
# Affects: CC, NC
# See: **NOTE** below
ENABLE_WS_SECURITY="Y"
LOGLEVEL="DEBUG"
VNET_PUBINTERFACE="br0"
VNET_PRIVINTERFACE="br0"
VNET_MODE="MANAGED-NOVLAN"
...
If there is any other information pertinant and useful let me know. Help would be greatly appreciated!
Thank you very much.
TLDR: My NC cannot connect outside of the private network through the gateway CLC/CC/... node. Help please?