Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th November 2012, 23:07
gscales gscales is offline
Member
 
Join Date: May 2012
Posts: 34
Thanks: 1
Thanked 1 Time in 1 Post
 
Default How to configure network for VM connected to IP alias

Hi;

Thank you in advance for any help you can give.

I have a rent-a-server with one NIC and two real-world IP addresses. The first IP, 69.xxx.xxx.xxx, is the actual IP address of the server. The second IP, 209.xxx.xxx.xxx, is an IP alias. The interface is defined as follows:

Code:
  # loopback interface

  auto lo
  iface lo inet loopback

  # ethernet interface

  auto eth0
  iface eth0 inet static
    address 69.xxx.xxx.xxx
    network 69.xxx.xxx.0
    netmask 255.255.255.0
    broadcast 69.xxx.xxx.255
    gateway 69.xxx.xxx.1

  # virtual interfaces

  auto eth0:0
  iface eth0:0 inet static
  name Ethernet alias LAN card
  address 209.xxx.xxx.xxx
  netmask 255.255.255.255
The 69.xxx.xxx.xxx address has a web server and a number of functioning services on it. The 209.xxx.xxx.xxx address is a recently purchased address. It "pings" as defined above. I've no previous experience with IP aliaes, but as I understand it, the address is NOT associated with a network at all. There is no broadcast or gateway associated with the address.

I am attempting to install a product that functions within a virtual machine hosted on the same server. I want the virtual machine to be addressed by the 209.xxx.xxx.xxx address. The pre-built VMWare based virtual machine obtains its IP through DHCP. Both the host and virtual machine are Ubuntu 10.04 server. I would prefer to change the VM to use the 209.xxx.xxx.xxx static IP, but have no idea how to set that up since there is no actual network/broadcast/gateway. When I attempt to set up the dhcp3-server on the host, it fails to start, issuing the error message: "No subnet declaration for eth0:0 (0.0.0.0). ** Ignoring requests on eth0:0." as if the eth0:0 interface is not up. The eth0:0 is, however, up.

For reference, the host server is Ubuntu 10.04 server with ISPConfig3, the Virtual Machine server is VMWare Server 2.02, the guest OS is Ubuntu 10.04 server. Networking is set to bridged per the application requirements.

Anyone know how to set the above scenerio up? Is it even possible with an IP alias?

Thanks in advance,
Reply With Quote
Sponsored Links
Reply

Bookmarks

Tags
networking, ubuntu, vmware server

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig not talking with Apache, FTP or MySQL dromney Installation/Configuration 1 2nd December 2011 17:36
Add ons for ISPConfig 3 virtue Installation/Configuration 24 16th October 2009 17:30
have problems with OpenSuse 11.1 + IspConfig 3 virtual appliance mariuscotan Installation/Configuration 11 31st May 2009 12:52
Improve the Firewall rules vaio1 Installation/Configuration 0 10th May 2008 20:44
Postfix delivery problem erebus Installation/Configuration 6 28th October 2007 16:20


All times are GMT +2. The time now is 15:13.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.