Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am using USB 4G Internet connectivity on HOST machine.
But i am NOT getting Internet inside virtual Machine
1) How do i get Internet connectivity inside Virtual Machine ?
2) Is there any possibility to get Internet connectivity using Static IP on Linux machine ?
3) Shall i go for HOST-ONLY OPTION for eth0 and eth1 always ? - Please see the attached screenshot
IP ADDRESS ENTRIES FOR BOTH NODES (NODE-1 & NODE-2 )
PHP Code:
# vi /etc/hosts
PUBLIC IP ########### 192.168.43.60 rac1 192.168.43.61 rac2
PRIVATE IP ########## 192.168.10.1 rac1-priv 192.168.10.2 rac2-priv
VIRTUAL IP ########### 192.168.43.70 rac1-vip 192.168.43.71 rac2-vip
SCAN IP ####### 192.168.43.90 rac-scan 192.168.43.91 rac-scan 192.168.43.92 rac-scan
I am using USB 4G Internet connectivity on HOST machine. But i am NOT getting Internet inside virtual Machine
1) How do i get Internet connectivity inside Virtual Machine ?
2) Is there any possibility to get Internet connectivity using Static IP on Linux machine ?
3) Shall i go for HOST-ONLY OPTION for eth0 and eth1 always ? - Please see the attached screenshot
@ FYI eth0 is for public IP eth1 is for private IP
You've set this up before and have said that you're an Oracle DBA....this shouldn't be a problem. If you have problems understanding routing on VMWare with Oracle, then you need to contact the VMWare support you're paying for and/or at least tell us what version of VMWare you're using. There is ample documentation concerning VMWare setup on their website.
Or are you using Virtualbox, which is **NOT** VMware??? If so...again...there is ample documentation on their website concerning network set up.
[root@rac1 ~]# ping google.com
PING google.com.localdomain (216.58.196.78) 56(84) bytes of data.
64 bytes from 216.58.196.78: icmp_seq=1 ttl=128 time=65.0 ms
64 bytes from 216.58.196.78: icmp_seq=4 ttl=128 time=845 ms
64 bytes from 216.58.196.78: icmp_seq=5 ttl=128 time=106 ms
64 bytes from 216.58.196.78: icmp_seq=6 ttl=128 time=104 ms
--- google.com.localdomain ping statistics ---
6 packets transmitted, 4 received, 33% packet loss, time 5098ms
rtt min/avg/max/mdev = 65.096/280.357/845.813/326.878 ms
I am using eth2 for Internet Connectivity but the problem is NOT able to connect my Virtual Machine through Putty.
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,519
Rep:
It looks like you're using Virtualbox, not VMware. The easiest way to get networking working in a VM, as already mentioned, is to use bridged type. And, it looks like your netmask should be 255.255.0.0.
Hi TBone,
You given m good support earlier. Now a days i think you are Targeting me. Please do NOT mind it !
No idea what you're saying here, but I do know that at some point, you need to start applying what you're told. You've posted a bunch of threads like this, don't answer follow-up questions, post your results, and seem to keep duplicating threads too. Setting up a 3 node RAC is different than a 2 node HOW, exactly?? Aside from just adding one other node?
You were asked if you were using VirtualBox or VMWare, as you said...you have not answered.
Quote:
I am coming to my requirement. I have USB Internet connectivity(4G) supported. You are saying using Private IP, we can get Internet connectivity inside Virtual Machine.If possible please help how do i achieve this ?
By going back and reading what you were told before, and DOING IT. Again, you need to enable bridging.
Quote:
I am using eth2 for Internet Connectivity but the problem is NOT able to connect my Virtual Machine through Putty. Please help me !
Again, you have not enabled bridging, as you were told.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.