Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: smnirosh on August 17, 2015, 05:24:53 PM

Title: Internet on linux server in VMware
Post by: smnirosh on August 17, 2015, 05:24:53 PM
Dear all, i installed sme server on VMware 10. I have configure VMware to go internet through NAT. How to configure sme server in vmware to access internet through this NAT connection. I have tried twice/thrice no progress. Please help me to configure this....
thanks, Nirosh
Title: Re: Internet on linux server in VMware
Post by: stephdl on August 17, 2015, 08:49:18 PM
i don't know at all concerning vmware, but I do know about bridge and virtualisation, it is the solution you need to put in place rather than NAT.
With a bridge solution, your smeserver gets a real IP on your network and what is genius, is that you have nothing to do on your smeserver, except to set the IP in the good range of your network with your real gateway.

Title: Re: Internet on linux server in VMware
Post by: smnirosh on August 17, 2015, 10:09:29 PM
Ok. How to do that. What is real gateway. I am in nowhere. Tell me hiw to configure. Which command should i type to configure this. ?thanks
Title: Re: Internet on linux server in VMware
Post by: stephdl on August 17, 2015, 10:39:44 PM
On debian with virtualbox I install bridge-utils and i set the virtual nic of my vm to use a bridged network on my real nic.

All is done in the settings of virtualbox.

As i said i don't know about wmvare. It is not enought free ;)
Title: Re: Internet on linux server in VMware
Post by: stephdl on August 17, 2015, 10:44:08 PM
You have plenty of howto.....take a look in gg 'bridged network vmware'
https://www.vmware.com/support/ws55/doc/ws_net_configurations_changing_bridged_windows.html
https://www.vmware.com/support/ws4/doc/network_bridged_ws.html
Title: Re: Internet on linux server in VMware
Post by: smnirosh on August 17, 2015, 11:53:21 PM
Thanks very much stephdl for you support. but it doesn't worked for me. I think i need server configuration from the begining. then it will solve the problem. How to linux server configure to connect to internet. i already setup it as NAT, but it didn't work. I think I make something wrong in the server configure point. i want you to explain me to specify inserting ip addresses accordingly. thanks.
Title: Re: Internet on linux server in VMware
Post by: stephdl on August 18, 2015, 12:24:42 AM
well first you need to explain how works

your network (which range of ip, your gateway, your subnet)
what is the os which handle vmware (on your host supervisor)

after that you will set the IPs settings in the console of smeserver like you could do with a real computer, it is the magic of bridged network in virtualisation, whatever the virtualisation platform chosen you will find the same principles.

I would suggest that you first play with smeserver in a real environment first, then you can envisage to try the virtual environment....of course I have no idea of your skill with linux or sme, sorry for my impertinence.
Title: Re: Internet on linux server in VMware
Post by: smnirosh on August 18, 2015, 12:36:49 AM
Dear stephdl, yes you told me a clue. THE REAL NETWORKING. I configure it with my routers ip address as dns of linux. it worked. now i can access internet. thanks for the help. this is what i want to do with my linux server. now my windows 7 client (which is in VMware) also can connect internet through linux server. sorry for my minus knowledge of linux.
Title: Re: Internet on linux server in VMware
Post by: guest22 on August 18, 2015, 02:58:00 AM
You should have installed SME Server 9.0. SME Server 8.x is in maintenance mode only.
Title: Re: Internet on linux server in VMware
Post by: stephdl on August 18, 2015, 07:21:01 AM
you know what, I'm happy
Title: Re: Internet on linux server in VMware
Post by: smnirosh on August 18, 2015, 10:02:05 AM
Good morning guys. Ad i have implemented this linux server in vmware i want to connect windows clients to this linux domain. But when try to connect, it says no such a domain found. How to connect to this linux domain. Thanks
Title: Re: Internet on linux server in VMware
Post by: stephdl on August 18, 2015, 11:16:38 AM
Please rtfm http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter7

You have in the upper menu a link to the documentation, please read it twice
Title: Re: Internet on linux server in VMware
Post by: Xavier.A on August 18, 2015, 03:58:13 PM
@smnirosh :
 
If linux host, in a terminal could you do and report here:
Code: [Select]
ip addr list
ifconfig
test -n $(which brctl) && brctl show
test -n $(which ovs-vsctl) && ovs-vsctl show

A+
Title: Re: Internet on linux server in VMware
Post by: smnirosh on August 18, 2015, 04:36:30 PM
dear stephdl, I read your link and download a windows hotfix to connect to domain. now i am in linux domain. thanks for the information. My next goal is openvpn configuration. I will contact all of you buddies if i need any help. good luck all the guys.
Title: Re: Internet on linux server in VMware
Post by: stephdl on August 18, 2015, 05:35:44 PM
Please open one topic per question and add resolved to the topic of this thread

Thank in advance
Title: Re: Internet on linux server in VMware
Post by: smnirosh on August 18, 2015, 09:25:56 PM
Previous topic is solved status. But i cannot find the way to mark this topic as RESOLVED. pls help me