Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Not picking up public ips

  1. #1
    Join Date
    Dec 2010
    Beans
    21

    Not picking up public ips

    In spite of the eucalyptus.local.conf file appearing correct, my instances are launching with the public ip equal to the local ip. Any suggestions as to where to look as to why?

  2. #2
    Join Date
    Dec 2010
    Beans
    99

    Re: Not picking up public ips

    What VNET_MODE do you use?
    can you post your eucalyptus.conf , eucalyptus.localconf and /var/run/eucalyptus/net/euca-dhcp.conf ?

    If you are sure that the available public's Ip range is unused then override the
    VNET_PUBLICIPS in eucalyptus.conf and restart with CLEAN=1 (may be the Node too).

  3. #3
    Join Date
    Dec 2010
    Beans
    21

    Re: Not picking up public ips

    hoot@cloud-master:/etc/eucalyptus$ cat eucalyptus.local.conf
    # /etc/eucalyptus/eucalyptus.local.conf

    # This file is read and written by euca_conf(8)
    # WARNING: You should *never* edit this file directly.

    # To modify Eucalyptus parameters, either use euca_conf(8), or
    # edit /etc/eucalyptus/eucalyptus.conf according to eucalyptus.conf(5).


    # network configuration from the input configuration file
    VNET_MODE="MANAGED-NOVLAN"
    VNET_SUBNET="172.19.0.0"
    VNET_NETMASK="255.255.0.0"
    VNET_DNS="169.154.151.130"
    VNET_ADDRSPERNET="32"
    VNET_PUBLICIPS="172.16.230.201-172.16.230.210"
    hoot@cloud-master:/etc/eucalyptus$ cat eucalyptus.conf
    # /etc/eucalyptus/eucalyptus.conf
    #
    # These are the Ubuntu Enterprise Cloud's default Eucalyptus parameters.

    # Affects: All
    # See: **NOTE** below
    EUCALYPTUS="/"
    EUCA_USER="eucalyptus"

    # Affects: CLC, Walrus, SC
    DISABLE_DNS="Y"
    CLOUD_OPTS="-Xmx512m"

    # Affects: SC
    DISABLE_EBS="N"
    DISABLE_ISCSI="N"

    # 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="172.1.0.0"
    VNET_NETMASK="255.255.255.0"
    VNET_DNS="172.16.230.115"
    VNET_PUBLICIPS="172.16.230.201-172.16.230.210"

    # Affects: NC
    NC_PORT="8775"
    HYPERVISOR="kvm"
    MANUAL_INSTANCES_CLEANUP=0
    VNET_BRIDGE="br0"
    INSTANCE_PATH="/var/lib/eucalyptus/instances/"
    USE_VIRTIO_NET="0"
    USE_VIRTIO_DISK="1"
    USE_VIRTIO_ROOT="0"
    #MAX_MEM=2048
    #MAX_CORES="2"
    #MAX_DISK="100"

    ################################################## ########################
    #
    # Administrative overrides and customizations may go below, in accordance
    # with the manpage for eucalyptus.conf(5).
    #
    # However, to modify Eucalyptus parameters, you are advised to use
    # euca_conf(8), which will update eucalyptus.local.conf(5) and ensure
    # smooth package upgrades.
    #
    # **NOTE**: To activate changes of these parameters on a CC, you must:
    # sudo restart eucalyptus-cc CLEAN=1
    # HOWEVER, if you do this, all currently running virtual
    # machines in this cluster will lose network connectivity.
    #
    ################################################## ########################


    hoot@cloud-master:/etc/eucalyptus$ cat /var/run/eucalyptus/net/euca-dhcp.conf
    # automatically generated config file for DHCP server
    default-lease-time 1200;
    max-lease-time 1200;
    ddns-update-style none;

    shared-network euca {
    subnet 172.19.1.0 netmask 255.255.255.224 {
    option subnet-mask 255.255.255.224;
    option broadcast-address 172.19.1.31;
    option domain-name-servers 169.154.151.130, 172.19.1.1;
    option routers 172.19.1.1;
    }

    host node-172.19.1.2 {
    hardware ethernet D0:0D:31:64:06:9D;
    fixed-address 172.19.1.2;
    }
    }

  4. #4
    Join Date
    Dec 2010
    Beans
    99

    Re: Not picking up public ips

    Hi your config is a bit tricky,
    you should first try to make your UEC work before dealing with complex network settings.

    What ist the right DNS Address? ( 172.16.230.115 or 169.154.151.130)
    Can you use another ip range for public ip's ? (ex. 10.xxx.xxx.xxx or 192.168.xxx.xxx) So you can better see the difference between privates an public ip's.

    Edit the local.conf ( if it still not works ) then make a clean restart.

    Please read this ( The section about MANAGED_VLAN )

    http://open.eucalyptus.com/wiki/Euca...etworking_v1.6
    Last edited by raymdt; January 4th, 2011 at 10:14 PM.

  5. #5
    Join Date
    Dec 2010
    Beans
    21

    Re: Not picking up public ips

    At this stage my intent is not to be tricky and my cloud is working, meaning I can log into instances I create (assuming I use the private IP). I will draw a picture of where I'm heading and get back to you.

  6. #6
    Join Date
    Dec 2010
    Beans
    21

    Re: Not picking up public ips

    Didn't answer your question.....

    DNS should be 172.16.230.115. And am I reading correctly in that I should try editing the .local.conf file directly? But I guess I remain confused. The local.conf file has the right public IP range, why isn't it being used and passed to the instances? And where did the dhcp configuration get the 172.19.1.0 subnet from?

  7. #7
    Join Date
    Dec 2010
    Beans
    21

    Re: Not picking up public ips

    Here's a picture of what I'm trying to assemble. All addresses shown are the actual physical addresses of the connections (no virtual). I really don't care what the virtual subnet is just so I can manage instances from the client computer over the 172.16.230.0 subnet. The 10.10.10.0 subnet is the very private 10GigE link I ultimately want to test.
    Attached Files Attached Files

  8. #8
    Join Date
    Dec 2010
    Beans
    99

    Re: Not picking up public ips

    And am I reading correctly in that I should try editing the .local.conf file directly
    I tried it today on my both "Test-clouds" then made a clean restart and there was no problem. I did it because i was curious to know what would happen ( I experience a lot with my Test-clouds , so i can learn more about UEC )

    So, do it only if you know what you do -

    Did you tried to use another ip range (10.xxx.xxx.xxx or 192.168.xxx.xxx) for public IP?

  9. #9
    Join Date
    Dec 2010
    Beans
    99

    Re: Not picking up public ips

    Now i understand what you mean

    So, try to use subnetz 192.168.0.0 for your private Ips (Eucalyptus will configure a 192.168.1.1 route on your frontend) Just activate IP FORWARDING AND MASQUERADE on your Frontend

    172.16.230.201 -....... 210 for public ips

    Also, put this in you eucalyptus.local.conf and eucalyptus.conf file
    Code:
    VNET_ADDRSPERNET="32"
    VNET_SUBNET="192.168.0.0"
    VNET_NETMASK="255.255.255.0"
    VNET_DNS="172.16.230.115"
    VNET_PUBLICIPS="172.16.230.201-172.16.230.210"
    do stop eucalyptus-cc CLEAN=1 then start eucalyptus CLEAN=1
    and it should work.

  10. #10
    Join Date
    Dec 2010
    Beans
    21

    Re: Not picking up public ips

    Thanks for the help. I'll be back with results.

    Hoot

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •