Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

2 votes
2 answers
3k views

How to set a network interface to use DCHP on boot in CentOS 7?

I have a CentOS 7 machine that has 2 NICs, eth0 and eth1. I have disabled eth0 (as I won't be needing it for my setup) by editing its config and setting: ONBOOT="no" And after I configured eth1 (my ...
Alaa Salah's user avatar
2 votes
1 answer
113 views

CentOS - Prevent forwarded connections from NIC #2 through default gateway on NIC #1

I have a CentOS 7 system with 2 NICs (eth0 and eth1). NIC configurations: eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.43.96.210 netmask 255.255.255.192 broadcast ...
Naamakeisari's user avatar
0 votes
0 answers
722 views

How to configre network card on centos?

I have a fresh install of Centos on a machine with two NICs, one built-in and another one installed in PCI slot. However in the network settings I get one shown as wired connection picking up IP from ...
Kunwar's user avatar
  • 485
0 votes
1 answer
2k views

Unable to access localhost & Internet using one adapter in CentOs

I have the below dev. environment. Hardware:- Windows 7, 32bit, HP Laptop. Software:- CentOs 6.5 running on VirtualBox 4.3.10. In a nutshell The problem is that I can't access the internet and ...
Bimlik's user avatar
  • 87
1 vote
0 answers
204 views

Does a VirtualBox/CentOs need two adapters to work properly ?

I have a Windows 7, 32bit, HP Laptop. I have CentOs 6.5 running on VirtualBox 4.3.10. Here is my eth0 config. Code: #vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=08:00:27:81:0F:...
Bimlik's user avatar
  • 87
18 votes
4 answers
124k views

How can I determine the MAC address for a NIC in CentOS without using ifconfig?

CentOS 5.5 One of my CenTOS systems recently booted with the following error: "Bringing up interface eth0: Device eth0 has difference MAC address than expected. ignoring." When I run ifconfig -a ...
Mike B's user avatar
  • 2,690