LinuxQuestions.org
Help answer threads with 0 replies.
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 04-30-2020, 11:19 AM   #1
1s440
Member
 
Registered: Mar 2018
Posts: 266

Rep: Reputation: Disabled
RHEL 7.3 issue with NAT network


Hi all,

After 3 days of trial, I am posting this. I have installed VMware workstation pro on windows 10 and created one VM with RHEL 7.3 OS. I have configured two network adapters one for host and other is NAT. unfotrunately the server is not getting to the internet. I am not sure whats the problem. can anyone help me with the issue

Last edited by 1s440; 05-01-2020 at 04:02 AM.
 
Old 04-30-2020, 12:48 PM   #2
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Have you checked network settings (IP / netmask / gateway) on both NICs?

Code:
/etc/sysconfig/network-scripts/ifcfg-*
Check to make sure nameserver entries are correct:

Code:
/etc/resolv.conf
 
Old 04-30-2020, 01:21 PM   #3
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by 1s440 View Post
created one VM with RHEL 7.3 OS.
You're way out of date, currently point release is 7.8 (and everything older then 7.7 is out of support).
 
Old 05-01-2020, 02:18 AM   #4
1s440
Member
 
Registered: Mar 2018
Posts: 266

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ehartman View Post
You're way out of date, currently point release is 7.8 (and everything older then 7.7 is out of support).
so thats the problem ?
 
Old 05-01-2020, 02:33 AM   #5
1s440
Member
 
Registered: Mar 2018
Posts: 266

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dc.901 View Post
Have you checked network settings (IP / netmask / gateway) on both NICs?


Code:
/etc/sysconfig/network-scripts/ifcfg-*
Code:
HOST NETWORK
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-ens33
TYPE="Ethernet"
PROXY_METHOD="none"
BROWSER_ONLY="no"
BOOTPROTO="no"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
NAME="ens38"
DEVICE="ens38"
HWADDR=00:0c:29:b6:46:86
ONBOOT="yes"
IPADDR=10.0.0.6
PREFIX=24
GATEWAY=10.0.0.1
Code:
TYPE="Ethernet"
PROXY_METHOD="none"
BROWSER_ONLY="no"
BOOTPROTO="dhcp"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_FAILURE_FATAL="no"
IPV6_ADDR_GEN_MODE="stable-privacy"
NAME="ens33"
UUID="9ed4f13f-ce7d-4a27-adf1-07cdbc79947b"
DEVICE="ens33"
ONBOOT="yes"


Check to make sure nameserver entries are correct:

Code:
/etc/resolv.conf
Code:
# Generated by NetworkManager
search localdomain
nameserver 192.168.129.2
But here it shows connected

Code:
DEVICE  TYPE      STATE      CONNECTION
ens33   ethernet  connected  ens33
ens38   ethernet  connected  ens38

Last edited by 1s440; 05-01-2020 at 04:13 AM.
 
Old 05-01-2020, 08:38 PM   #6
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by 1s440 View Post
so thats the problem ?
It could be.
As Red Hat Enterprise Linux is a commercial distribution not too many of the hobbyists here are running it (unless they got a paid subscription at their work), but:
1. your problem might be one that has already been solved in a newer point update
2. if it's still there in 7.7 or 7.8, you can request Red Hat support for it
Of course this does mean you're running RHEL legally, with a paid subscription.

If you're using the free clone CentOS, on the other hand, there is NO support like that for it and RHEL/CentOS is different enough from most other distro's that I wouldn't expect too many good answers here. My own RHEL/CentOS experience is 6 years out of date and restricted to releases 5 and 6 (which was the latest one when I retired in 2014).
 
1 members found this post helpful.
Old 05-01-2020, 08:58 PM   #7
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,750

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
I’m guessing this is an issue with the network configuration in the VM, based on other threads I’ve seen on similar issues. I don’t know the answer, as I’m not running a VM, but I don’t think it’s related to the version of RHEL, ‘tho I agree that it should be more current. That I’ll probably happen automatically once the ‘net connectivity issue is resolved.

Has something to do with bridged, or not bridged. Mayhaps someone who knows better will jump in here.

I’m running CentOS 7, and I’m not a “hobbyist.” Just sayin’

Last edited by scasey; 05-01-2020 at 09:01 PM.
 
Old 05-01-2020, 09:49 PM   #8
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by scasey View Post
I’m running CentOS 7, and I’m not a “hobbyist.” Just sayin’
I never said you were <grin>

And at the university we were running CentOS too (against our RHEL servers) as more then 1500 desktop licenses for the students would just cost too much. But through the IT department (who ran those servers) we could get RHEL support.
 
Old 05-02-2020, 06:41 AM   #9
sujitb
LQ Newbie
 
Registered: Dec 2018
Posts: 17

Rep: Reputation: Disabled
This surely network configuration related issue. Kindly revisit gateway configuration which you assigned for NAT card. Ensure you are able to ping gateway.
 
Old 05-03-2020, 07:27 AM   #10
1s440
Member
 
Registered: Mar 2018
Posts: 266

Original Poster
Rep: Reputation: Disabled
Hi,
Thanks for your replies. I installed VMware workstation PRO latest version and there itseems we have to change virtual Network editor settings and after that I configured the same IP for VMnet1 on the NIC card and then finally it worked.
And ofcourse I used the old RHEL version 7.3
 
  


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
NAT and NAT Server behind its own NAT(private network) zeusys Linux - Networking 1 06-08-2011 06:22 PM
iptables nat prerouting redirect issue - rhel 5.5 64-bit wischad Linux - Networking 1 11-12-2010 08:29 AM
I configure NAT and use "services ..." to save it but when I reboot there is no nat bruack Linux - Software 4 09-01-2004 02:38 AM
Susefirewall2 Nat Problem / nat 1:1 trubi Linux - Distributions 0 07-20-2004 05:50 AM
What's the difference between Linux-NAT and Sygate-NAT? yuzuohong Linux - Networking 0 08-07-2002 04:07 AM

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

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