LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 04-04-2018, 08:04 PM   #16
techie123
LQ Newbie
 
Registered: Apr 2018
Posts: 8

Original Poster
Rep: Reputation: Disabled

I am really really sorry . I just tried to hide the server name . Both are from same server.

I am not using Network manager . the ova was generated using packer tool and ks.cfg file.


[root@test ~]# cat /etc/sysconfig/network-scripts/ifcfg-ens33
DEVICE="ens33"
ONBOOT=yes
BOOTPROTO=static
TYPE=Ethernet
IPADDR=10.234.28.56
NETMASK=255.255.255.0

[root@test ~]# ifconfig -a

ens192: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.234.28.56 netmask 255.255.255.0 broadcast 10.234.28.255
inet6 fe80::250:56ff:feae:600 prefixlen 64 scopeid 0x20<link>
ether 00:50:56:ae:06:00 txqueuelen 1000 (Ethernet)
RX packets 8800712 bytes 9874648658 (9.1 GiB)
RX errors 0 dropped 381 overruns 0 frame 0
 
Old 04-05-2018, 12:47 AM   #17
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,708

Rep: Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210
Quote:
Originally Posted by techie123 View Post
the ova was generated using packer tool and ks.cfg file.
Nothing in that sentence makes sense to me. ova? packer tool? ks .cfg? ???
 
Old 04-05-2018, 01:17 PM   #18
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,937

Rep: Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619
This may not help.
OVA is type of virtual appliance format.
Packer tool I assume is a way to compress.
ks.cfg is Kick start so we know that tends to be RH based build instructions.

The kickstart may be one place the system gets information about network. The boot process ought to assign the name based on PREDICTIVE naming.
 
Old 04-05-2018, 01:53 PM   #19
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,708

Rep: Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210
Thank you, jefro. The OP is doing things I (apparently) can't help him with. I've shared all I know about configuring networking on a CentOS 7 server, but mine are not VMs, and I use the CLI. It seems the OP has more moving parts than I'm used to. Perhaps someone else will jump in.

The OP is concerned that the names and configurations of the files in /etc/sysconfig/network-scripts/ don't match with what ifconfig tells him is running. I'm not sure why he's concerned about that, as long as his networking is working...

Thanks again...
 
Old 04-05-2018, 05:21 PM   #20
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,937

Rep: Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619
I assume that the cloned virtual machine contains a non-generic naming in some config. RH based distro's don't do well even with generic naming like eth0 as I found out the hard way one time on a clone to exact same hardware.

Sorry, also called predictable naming. https://www.freedesktop.org/wiki/Sof...nterfaceNames/

Maybe I'm making up a word?

Last edited by jefro; 04-05-2018 at 05:23 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
When bring two interface cards, one of interface card's internet connection is lost, they are not working together DeSouffle Linux - Networking 3 12-27-2015 01:39 PM
Interface error Auto_eth0 unable to configure an interface or delete auto_interface James0806 Linux - Newbie 1 08-30-2014 12:32 PM
[SOLVED] Wireless interface starts UP, wicd puts interface DOWN when trying to connect slacker_ Debian 2 10-14-2013 08:54 PM
ATT Uverse DHCP Not Assigning to Red Interface Interface on Smoothwall barleykorn Linux - Networking 2 02-14-2010 05:12 PM
WPA support through 'ndiswrapper' interface is deprecated; use 'wext' interface lavie Linux - Wireless Networking 1 12-04-2006 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:45 PM.

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