[SOLVED] Networking doesn't enable at the time of boot however it is configured to be
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Networking doesn't enable at the time of boot however it is configured to be
I have a system with Win7 as the Host OS and RHEL6 as a guest OS installed on a VM. I have enabled the networking to start at the time of boot itself but it doesn't and I have to restart the networking after logging into the system to turn it on. Could anyone please help me out, why does it happen? and also the ssh session gets disconnected quite frequently as well?
Following are some output from the system..
[root@RHEL6VM ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:50:22:66
inet6 addr: fe80::20c:29ff:fe50:2266/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2036 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:255214 (249.2 KiB) TX bytes:620 (620.0 b)
Interrupt:19 Base address:0x2000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:960 (960.0 b) TX bytes:960 (960.0 b)
[root@RHEL6VM ~]#
[root@RHEL6VM ~]# service network restart
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
Bringing up loopback interface: [ OK ]
[root@RHEL6VM ~]#
First make sure that in the "/etc/sysconfig/network" file you have "NETWORKING=yes"
At the very top of your chkconfig --list, NetworkManager is turned off. That may or may not be intentional but NetworkManager starts the dhclient process when it is being used so that you can get an ip address through dhcp. If you intentionally turned it off, make sure ifcfg-eth0 says "NM_CONTROLLED=no" so that NetworkManager isn't in control of that interface.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.