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-10-2020, 03:38 AM   #1
credible58
LQ Newbie
 
Registered: Oct 2020
Posts: 1

Rep: Reputation: Disabled
Ethernet interface for VMware NAT link not coming up


I run Centos 8 VM on VWware Workstation Pro 15 running on Windows 10. The Centos machine has a single Ethernet adapter - a VMware NAT adapter. When I start the VM the NAT adapter is connected to the VM but the network doesn't come up (no Internet access). Internet access on the host Windows 10 machine works fine. I tried a few commands:

Code:
[root@jupiter xxxxxxx]# ip addr show dev ens33
2: ens33: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:0c:29:01:d9:f0 brd ff:ff:ff:ff:ff:ff
[root@jupiter xxxxxxx]# ip link set ens33 up 
[root@jupiter xxxxxxx]# ip addr show dev ens33
2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:0c:29:01:d9:f0 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::20c:29ff:fe01:d9f0/64 scope link 
       valid_lft forever preferred_lft forever
The /etc/sysconfig/network-scripts/ifcfg-ens33 looks like this:
Code:
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=ens33
UUID=1252b222-f85e-478b-ab7d-3ced8de0edae
DEVICE=ens33
ONBOOT=yes
The interface was working fine. Then I lost power to my PC and since then I just can't seem to get the VM's Ethernet interface to become active.

* How can I get the interface to come up?
* Why is it not coming up on boot?

Thanks and regards...Paul
 
Old 10-25-2020, 11:53 PM   #2
Fjor
LQ Newbie
 
Registered: Oct 2004
Location: Jalisco, Mexico
Distribution: Slackware
Posts: 24

Rep: Reputation: 5
I remember having some VMware WS problems because of lock files left in the VM directories after power outages. I stopped the VM, closed WMware workstation and found some .lock files left (also can be .lck or .LOCKFILE). I renamed them to .lock.disabled (to have undo capability) and restart; all worked again. Your mileage may vary.
 
  


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
packet coming through one interface route out via another interface and SNAT also saiyen2002 Linux - Networking 2 09-14-2009 06:56 PM
Bridge between ethernet interface and tap interface jayadhanesh Linux - Networking 3 04-12-2009 11:32 PM
how can i shutdown the PHYSICAL interface of an ethernet interface markraem Linux - Networking 2 04-12-2007 02:29 PM
Ethernet card on laptop: I installed my D-Link ethernet card into Redhat 9, not detec brighamr Linux - Hardware 0 05-18-2004 12:33 AM

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

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