LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 02-20-2019, 06:01 PM   #1
vnbl
LQ Newbie
 
Registered: Feb 2019
Location: Asuncion
Distribution: scientific linux
Posts: 4

Rep: Reputation: Disabled
Unhappy Not connecting to internet - Scilinux 7.6 running on vwmare (host windows 10)


Hello,

I'm having trouble connecting to the internet in my Scilinux virtual machine

I'm using a bridged connection

Things I've tried:

- Reinstalling vmware
- Reinstalling the OS: when i do this, the VM connects to the internet just fine, but when i log out and start the VM again it stops connecting.
- NAT connection

This is my first time using a Red Hat related OS (I've been using debian and related distros for a while)
 
Old 02-20-2019, 07:24 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Show us the output of ip address and ip route and the /etc/sysconfig/network-scripts/ifcfg* files.

How do you try connecting to the internet? Do you get a reply when running ping 1.1.1.1? Do you have connectivity to the Windows 10 host?

I am a bit confused by your remark about logging out. Do you lose connection when logging out, or when you reboot the VM?

Last edited by berndbausch; 02-20-2019 at 07:25 PM.
 
Old 02-21-2019, 05:47 AM   #3
vnbl
LQ Newbie
 
Registered: Feb 2019
Location: Asuncion
Distribution: scientific linux
Posts: 4

Original Poster
Rep: Reputation: Disabled
...

Last edited by vnbl; 02-21-2019 at 05:51 AM. Reason: I posted the same response twice
 
Old 02-21-2019, 05:48 AM   #4
vnbl
LQ Newbie
 
Registered: Feb 2019
Location: Asuncion
Distribution: scientific linux
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by berndbausch View Post
Show us the output of ip address and ip route and the /etc/sysconfig/network-scripts/ifcfg* files.

How do you try connecting to the internet? Do you get a reply when running ping 1.1.1.1? Do you have connectivity to the Windows 10 host?

I am a bit confused by your remark about logging out. Do you lose connection when logging out, or when you reboot the VM?

Code:
[vnbl@localhost ~]$ ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:0c:29:57:23:56 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.124/24 brd 192.168.1.255 scope global dynamic ens33
       valid_lft 62928sec preferred_lft 62928sec
3: bridge0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 92:a9:85:49:a7:fd brd ff:ff:ff:ff:ff:ff
4: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 52:54:00:22:6c:07 brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
       valid_lft forever preferred_lft forever
5: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN group default qlen 1000
    link/ether 52:54:00:22:6c:07 brd ff:ff:ff:ff:ff:ff


[vnbl@localhost ~]$ ip route
default via 192.168.1.1 dev ens33 
169.254.0.0/16 dev ens33 scope link metric 1002 
192.168.1.0/24 dev ens33 proto kernel scope link src 192.168.1.124 
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 


[vnbl@localhost ~]$ ls /etc/sysconfig/network-scripts/ifcfg*
/etc/sysconfig/network-scripts/ifcfg-Bridge_connection_1
/etc/sysconfig/network-scripts/ifcfg-ens33
/etc/sysconfig/network-scripts/ifcfg-eth0 
/etc/sysconfig/network-scripts/ifcfg-lo
How do you try connecting to the internet? Not sure i understand this question,

response from ping 1.1.1.1 = yes, working fine

i meant rebooting, not loging out
 
Old 02-21-2019, 08:09 AM   #5
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by vnbl View Post
response from ping 1.1.1.1 = yes, working fine
This means that you are connected to the internet.
Quote:
How do you try connecting to the internet? Not sure i understand this question,
What makes you think you are not connected?
 
Old 02-21-2019, 01:02 PM   #6
vnbl
LQ Newbie
 
Registered: Feb 2019
Location: Asuncion
Distribution: scientific linux
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by berndbausch View Post
This means that you are connected to the internet.

What makes you think you are not connected?
I tried using firefox, didn't work, I tried downloading a script using wget, didn't work either

I tried using ping again just now and it didn't work

Last edited by vnbl; 02-21-2019 at 01:05 PM. Reason: additional information added
 
Old 02-21-2019, 05:36 PM   #7
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by vnbl View Post
I tried using firefox, didn't work, I tried downloading a script using wget, didn't work either

I tried using ping again just now and it didn't work
If you don't get access to a web site, be it through a browser or wget or other tool, you may have internet connectivity problems or your DNS may not be set up correctly. Since you were able to access 1.1.1.1, I assumed the latter.

Now you seem to have intermittent lack of connectivity.

The problem is that there are several moving parts. Between your VM and the internet, you have VMware, the Windows PC, and whatever home or office networking equipment you use for internet access. Somewhere along this chain, the traffic is blocked (at least sometimes).

If I were you, I would use Wireshark or other network tracing tools like tcpdump on Linux to find out which component chokes your traffic. If you have never used them, the little time you need to invest to acquire beginners skills with these tools is well worth it in my opinion.
 
  


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
Guest system is not able to ping host system using host only n/w-vwmare shany Linux - Software 0 09-20-2013 10:45 PM
OpenMP for SciLinux 5.5 X_86 naka Linux - Newbie 3 05-05-2011 03:37 AM
try install host ; bind9-host uninstalled , how to undo sudo apt-get install host? shojaru Linux - Newbie 0 06-11-2009 12:45 AM
viewing shared folders from guest windows xp to host linux redhat on vwmare linuxworkuser General 0 01-08-2009 12:59 PM
connecting a host to internet thru another host (both running suse9.3) rcbell Linux - Networking 1 12-17-2005 05:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 08:20 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