LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-06-2009, 02:05 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
Blog Entries: 6

Rep: Reputation: 51
Setting up Sendmail on Virtualbox?


I have two OS Fedora 9 and Fedora 10 Dsktop Version running on Virtualbox on Ubuntu 9.04. I want to testdrive Sendmail throuhg Fedora 9 as server and Fedora 10 as Client. How to setup the sendmail server?
 
Old 07-06-2009, 11:17 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Hello your_shadow03

Set up sendmail in exactly the same way you would on Fedora running on real hardware.

Are both the Fedora instances running in VMs on the same host OS? Is one the host? Is one running on a different computer on your LAN or elsewhere?

Answers to those questions might raise VirtualBox-specific issues about IP addresses; the client needs to know the server's address.

Best

Charles
 
Old 07-06-2009, 10:42 PM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466

Original Poster
Blog Entries: 6

Rep: Reputation: 51
Yes. The Two Fedora OS are running on the single host( Ubuntu 9.04).
 
Old 07-07-2009, 12:14 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Hello shadow03

So each instance of Fedora will run in a virtual machine (VM) defined by configuration in VirtualBox on the host. By default, the VMs' NICs will be NAT-attached. For NAT-attached VM NIC's, VirtualBox running on the host acts like a router. It provides a DHCP server and NAT translation. This is, in effect, like the common arrangement of a private LAN connected via router to an ISP.

It has the same restrictions; services running on computers on the (virtual) private LAN can only be reached through the router by port forwarding. And it has more restrictions (from VirtualBox 2.0.6 documentation) that are seldom significant but are included here for completeness:

Quote:
There are four limitations of NAT mode which users should be aware of:

ICMP protocol is very limited: Some frequently used network debugging tools (e.g. ping) rely on sending/receiving messages based on the ICMP protocol. The ICMP protocol cannot be used directly by normal applications such as VirtualBox, as it would, at least on Linux hosts, require root permissions (more precisely CAP_NET_RAW). Since this is not desirable, no attempt has been made to support ICMP to addresses other than 10.0.2.2 and 10.0.2.15. If you try to ping any other IP address you will not get any response.

Receiving of UDP broadcasts is not reliable: The guest does not reliably receive broadcasts, since, in order to save resources, it only listens for a certain amount of time after the guest has sent UDP data on a particular port. As a consequence, NetBios name resolution based on broadcasts is not always working (but WINS always works). As a workaround, you can use the numeric IP of the desired server in the \\server\share notation.

Protocols such as GRE are unsupported
: Protocols other than TCP and UDP are not supported. This means some VPN products (e.g. PPTP from Microsoft) cannot be used. There are other VPN products which use simply TCP and UDP.

Forwarding host ports < 1024 impossible: On Unix-based hosts (e.g. Linux, Solaris, MacOS X) it is not possible to bind to ports below 1024 from applications that are not run by root. Therefore if you try to configure such a port forwarding, then the VM will refuse to start.
What network connectivity do you want? From Internet (or real LAN) to your VM(s)? From applications running on your host OS to your VM(s)? Only between the VMs?

Best

Charles
 
Old 07-07-2009, 12:41 AM   #5
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466

Original Poster
Blog Entries: 6

Rep: Reputation: 51
I need the server and client architecture in between my Two VM ware Machines ..ie Fedora 9 and Fedora 10.. so that I can do R&D with Various Servers Setup.
 
Old 07-07-2009, 01:12 AM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Hello your_shadow03

OK -- if you only want to network between the VMs then the simplest thing to do is go with VirtualBox's default NAT-attached but not use DHCP. This is not the only option but it is the simplest.

There might be a problem if you clashed with the 10.0.2.0/24 address of the virtual router. Not knowing what that is (and not wanting to research it right now), the simplest would be to pick some other non-routeable IP range addresses -- say 192.168.1.128 and 129 -- and configure those within your Fedora instances.

Best

Charles
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Setting Up VirtualBox on MINT 5.0 LinuxNewbie55 Linux - Software 6 10-03-2008 06:55 PM
Setting up VirtualBox on Mandriva 2008.0 Abanar Linux - Newbie 10 03-25-2008 06:02 PM
setting up sendmail dranobob Linux - Newbie 2 09-06-2005 09:34 AM
Setting up Sendmail ngwasuma Linux - Software 0 01-16-2005 05:35 AM
Setting up Sendmail AndrewMac Linux - Newbie 4 06-20-2004 01:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration