LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-20-2022, 06:12 AM   #1
finelock
LQ Newbie
 
Registered: Mar 2020
Posts: 6

Rep: Reputation: Disabled
Angry Centos 7.9 2009 MINIMAL Install Only


Good Morning all,

I am running windows 2019 with hyper-v, and have 2 instances of Centos 7 Minimal (7.9 2009), I have installed windows 10 with them all three are using external IP address, NO DHCP, NO Internal ip address.

The windows machine works fine with the static IP, so the Windows 2019 and hyper-v are setup correct, but the 2 Centos 7.9 instances will not ping 8.8.8.8

So my question, what is the setup for a centos 7.9 machine is to talk to an outside website on the internet please.

Remember this is a minimal setup so commands like ifconfig and netstat don't exisist

Thank in advance from Alan
 
Old 10-20-2022, 09:13 AM   #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
Quote:
Originally Posted by finelock View Post
Good Morning all,

I am running windows 2019 with hyper-v, and have 2 instances of Centos 7 Minimal (7.9 2009), I have installed windows 10 with them all three are using external IP address, NO DHCP, NO Internal ip address.

The windows machine works fine with the static IP, so the Windows 2019 and hyper-v are setup correct, but the 2 Centos 7.9 instances will not ping 8.8.8.8

So my question, what is the setup for a centos 7.9 machine is to talk to an outside website on the internet please.

Remember this is a minimal setup so commands like ifconfig and netstat don't exisist

Thank in advance from Alan
Is NetworkManager setup for this machine? If so, perhaps double-check the interface with
Code:
nmcli connection show <interface name>
If nmcli is not available, then check under /etc/NetworkManager/system-connections/

If NetworkManager is not being used, then perhaps doublecheck files in network-scripts directory and resolv.conf
---
And, also, if everything looks good; wonder if there is anything at Network layer? Perhaps assign the IP address you have for Linux machine to one of the Windows servers, and to make sure nothing at Network layer is the issue?

Last edited by dc.901; 10-20-2022 at 09:38 AM.
 
Old 10-20-2022, 11:27 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,709

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
Network Manager is installed by default and while the ifconfig is not (it is actually deprecated) there is the ip command. How did you configure the CentOS instances?
 
Old 10-20-2022, 12:40 PM   #4
finelock
LQ Newbie
 
Registered: Mar 2020
Posts: 6

Original Poster
Rep: Reputation: Disabled
Angry

Quote:
Originally Posted by dc.901 View Post
Is NetworkManager setup for this machine? If so, perhaps double-check the interface with
Code:
nmcli connection show <interface name>
If nmcli is not available, then check under /etc/NetworkManager/system-connections/

If NetworkManager is not being used, then perhaps doublecheck files in network-scripts directory and resolv.conf
---
And, also, if everything looks good; wonder if there is anything at Network layer? Perhaps assign the IP address you have for Linux machine to one of the Windows servers, and to make sure nothing at Network layer is the issue?
Thank you for the reply, Networkmanager is installed, not sure if that works through a GUI interface, which I don't have
there is no named.conf as no bind or bind-utils are loaded as a minimal install
That leaves /etc/sysconfig/Network-scripts/ifcfg-eth0 nd I think that is correct
hence I asked what is expected, so I have something to check from.

All the best from Alan & Thank you.
 
Old 10-20-2022, 12:46 PM   #5
finelock
LQ Newbie
 
Registered: Mar 2020
Posts: 6

Original Poster
Rep: Reputation: Disabled
Angry

Quote:
Originally Posted by michaelk View Post
Network Manager is installed by default and while the ifconfig is not (it is actually deprecated) there is the ip command. How did you configure the CentOS instances?
I think the only point you are interested in is, I did not setup external , private, or internal, because they generate dhcp, and I want to use
public ip addresses, so I just used the virtual broadcomm interface, 10 processers 8192 for memory, then installed Centos 7.9 and configured the ethernet
with ip address, gateway, and google dns 8.8.8.8, 8.8.4.4

Hope that is what you wanted to hear...

All the best and thank you from Alan
 
Old 10-20-2022, 01:05 PM   #6
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
Quote:
Originally Posted by finelock View Post
Thank you for the reply, Networkmanager is installed
....
That leaves /etc/sysconfig/Network-scripts/ifcfg-eth0 nd I think that is correct
For NetworkManager, it does not look at /etc/sysconfig/Network-scripts/
Rather, it goes by what's in: /etc/NetworkManager/system-connections/

And, "nmcli" is not a GUI tool, it is command-line tool for controlling/configuring NetworkManager.
 
Old 10-21-2022, 06:51 AM   #7
finelock
LQ Newbie
 
Registered: Mar 2020
Posts: 6

Original Poster
Rep: Reputation: Disabled
Talking

Quote:
Originally Posted by dc.901 View Post
For NetworkManager, it does not look at /etc/sysconfig/Network-scripts/
Rather, it goes by what's in: /etc/NetworkManager/system-connections/

And, "nmcli" is not a GUI tool, it is command-line tool for controlling/configuring NetworkManager.
Well, when you can't believe the impossible, then start to believe, I found the problem, the broadband provider changed my block of IP addresses
Now everything works...

Thank you to all for your help..

All the best from Alan
 
  


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
How do I upgrade Minimal Desktop for Ubuntu (formerly Ubuntu Minimal)? LAPIII Linux - Software 1 01-20-2012 07:52 PM
LXer: Gran Canaria Desktop Summit 2009 to be Held July 3-11, 2009 LXer Syndicated Linux News 0 11-27-2008 11:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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