search for: ifcfg

Displaying 20 results from an estimated 975 matches for "ifcfg".

2007 Aug 23
3
Using Puppet to swap eth0 and eth1
...oard ethernet port labeled "1". This is described in detail at http://linux.dell.com/files/whitepapers/nic- enum-whitepaper-v3.pdf . Luckily, this is fixable using Red Hat''s HWADDR sysconfig hack, and I implement this HWADDR fix with Puppet. Puppet writes /etc/sysconfig/network/ifcfg-eth0 and /etc/sysconfig/ network/ifcfg-eth1 using a Puppet definition called network-interface: define network-interface ( $onboot = ''no'', $bootproto = ''static'', $ipaddr = '''', $hwaddr, $netmask = '''') { file { "ifcfg-...
2011 Jan 13
5
ifcfg-rh: error: Unknown connection type 'Bridge'
...n.harte-lyne.ca 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST 2011 x86_64 x86_64 x86_64 GNU/Linux Can anyone tell me why I am seeing these error message? Specifically, why is TYPE=Bridge giving Unknown connection type 'Bridge'? Jan 13 08:25:31 inet05 nm-system-settings: Loaded plugin ifcfg-rh: (c) 2007 - 2008 Red Hat, Inc. To report bugs please use the NetworkManager mailing list. Jan 13 08:25:32 inet05 nm-system-settings: ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-lo ... Jan 13 08:25:32 inet05 nm-system-settings: ifcfg-rh: parsing /etc/sysconfig/network-scripts/if...
2011 Oct 07
1
multiple ifcfg-x locations on CentOS-6
...les/* total 0 $ ll /etc/sysconfig/networking/devices total 0 CentOS-6 $ ll /sysconfig/networking/profiles total 4 drwxr-xr-x. 2 root root 4096 Oct 7 15:19 default $ ll /sysconfig/networking/profiles/* total 24 -rw-r--r--. 2 root root 158 Oct 7 15:19 hosts -rw-r--r--. 2 root root 116 Oct 7 15:19 ifcfg-br0 -rw-r--r--. 2 root root 238 Oct 7 15:24 ifcfg-eth0 -rw-r--r--. 2 root root 117 Oct 7 15:19 ifcfg-eth1 -rw-r--r--. 2 root root 40 Oct 7 15:19 network -rw-r--r--. 2 root root 120 Oct 7 15:25 resolv.conf $ ll /etc/sysconfig/networking/devices total 12 -rw-r--r--. 2 root root 116 Oct 7 15:1...
2012 Jan 19
0
Fwd: Typo in the FAQ at http://wiki.centos.org/FAQ/CentOS6, /etc/sysconfig/nertwork-scripts/ifcfg-eth0 should be /etc/sysconfig/network-scripts/ifcfg-eth0
-------- Original Message -------- Subject: Typo in the FAQ at http://wiki.centos.org/FAQ/CentOS6, /etc/sysconfig/nertwork-scripts/ifcfg-eth0 should be /etc/sysconfig/network-scripts/ifcfg-eth0 Date: Thu, 19 Jan 2012 15:31:08 +0100 From: Maximilian Heise <maximilian.heise at gmx.net> To: webmaster at centos.org Hello, I think there is a typo in the faq at http://wiki.centos.org/FAQ/CentOS6 Under "2. Why does my Ethern...
2018 Aug 02
1
ifcfg-link?
This is happening with the Centos7-armv7 image 1804, but I was wondering if it is a broader C7 issue. My image has only 2 ifcfg files:? ifcfg-l0 and -link.? 'ip a' is listing the ethernet as eth0.? ifcfg-link has contains: DEVICE=link BOOTPROTO=dhcp ONBOOT=on I then used nmcli to create my ifcfg-eth0 nmcli con delete eth0 nmcli con add type ethernet con-name eth0 ifname eth0 ip4 192.168.129.11/25 gw4 192.168.12...
2008 Apr 11
0
Adding Ethernet alias (why 3 hard links for an ifcfg-eth file?)
I need to add eth0:1 with a new IP address to my C5-based router. Does a design document exist for the ifcfg family of scripts that explains how they're to be used? Before I go digging through the script hierarchy I'm hoping someone can point me to documentation to make the process easier. One confusing issue is that the ifcfg-eth* files in /etc/sysconfig/network-scripts are hard-linked to sam...
2020 Jun 16
2
Missing Quote from latest Update
Received these error message during update 16Jun2020. Running scriptlet: kmod-kvdo-6.2.1.138-58.el8_1.x86_64 750/1181 /etc/sysconfig/network-scripts/ifcfg-eno1: line 21: unexpected EOF while looking for matching `"' /etc/sysconfig/network-scripts/ifcfg-eno1: line 22: syntax error: unexpected end of file /etc/sysconfig/network-scripts/ifcfg-eno1: line 21: unexpected EOF while looking for matching `"' /etc/sysconfig/network-scripts...
2009 May 18
0
[PATCH server] fixed functional tests after recent controller refactoring and managed node controller fixes.
..._test.rb index b66705e..a0a66e9 100644 --- a/src/test/functional/managed_node_configuration_test.rb +++ b/src/test/functional/managed_node_configuration_test.rb @@ -48,7 +48,7 @@ class ManagedNodeConfigurationTest < Test::Unit::TestCase expected = <<-HERE # THIS FILE IS GENERATED! -ifcfg=#{nic.mac}|breth0|BOOTPROTO=#{nic.boot_protocol}|TYPE=bridge|PEERDNS=no|ONBOOT=yes +ifcfg=#{nic.mac}|breth0|BOOTPROTO=#{nic.boot_protocol}|TYPE=Bridge|PEERDNS=no|ONBOOT=yes ifcfg=#{nic.mac}|eth0|BRIDGE=breth0|ONBOOT=yes HERE @@ -67,7 +67,7 @@ ifcfg=#{nic.mac}|eth0|BRIDGE=breth0|ONBOOT=yes...
2008 Aug 18
4
Disabling IPv4
I want to seriously work with IPv6 and not have stray IPv4 functions messing with me. So in /etc/sysconfig/network, I commented out NETWORKING=yes. I have NETWORKING_IPV6=yes. In /etc/sysconfig/network-scripts I altered ifcfg-eth0, setting BOOTPROTO=none. That was enough for eth0 to only have IPv6 working on it (have IPV6INIT=yes and IPV6_AUTOCONF=yes). But lo had IPv4. So I commented out all of the IPV4 lines in ifcfg-lo. Still have IPv4 on lo. How do I disable that? Yes, I did an service network restart afte...
2016 Oct 04
1
Virtualization Networking
...more information than "I >> can't get this to work" and "I've tried everything." Those >> don't tell us anything about the state of your system. >> Useful information would include: your configuration >> files (/etc/sysconfig/network-scripts/ifcfg-*), the output >> of "ip link show" and "ip addr show", the output of "brctl >> show", and maybe the output of "virsh iface-list". >> > > I posted some files previously but that was like 20 or so installs > ago. I don't know...
2015 May 01
1
eno1 and eth0 on centos 7.1
I installed 7.1 with the command line values biosdevname=0 net.ifnames=0 thinking this would result in ifcfg-eth0 being the file to use... The system still created an ifcfg-eno1 file and that was what is being used for network config information. I remove the ifcfg-eno1 and rebooted - got no network. I then copied back the ifcfg-eth0 to ifcfg-en01 and changed the device name in the file and rebooted an...
2007 Sep 14
2
question on alias IPs using ifcfg-eth0:x
When using ifcfg-eth0:x files in /etc/sysconfig/network-scripts/, should each file (where x increments appropriately) point to DEVICE=eth0:x or DEVICE=eth0:0? I apparently have my alias files all ifcfg-eth0:0 - ifcfg-eth0:7 show DEVICE=eth0:0. Is this right? It seems odd to me and while it does seem odd, the ali...
2007 Apr 20
3
centso 5 modifying my ifcfg-eth[x] files
I have a machine with 2 network cards. Installing centos 5 on it. I set up both cards with static IP addresses. activate on boot etc... One is e1000 Intel the other is onboard forcedeth (nvidia). After I reboot the forcedeth ifcfg-eth1 file is changed to DHCP. I use netconfig -d eth1 to set it back up and reboot again and the changes back to DHCP. Only thing to add here is the network card does work, however I get a dmesg output that eth1 has an invalid MAC address. Is that invalid MAC address changing my setup? I dont th...
2011 Nov 29
4
DHCP_HOSTNAME in ifcfg-eth0
Hello Is there a way for the dhcp client to send the current host name of the machine when requesting a lease ? Currently I have to include a line like DHCP_HOSTNAME=appserver2 in my /etc/sysconfig/network-scripts/ifcfg-eth0, but I would like to tell the dhcp client to just 'also send the hostname' and then the client to get the current hostname itself, instead of having the name hard-coded in the ifcfg-eth0 file. I am trying to get my router to know the names of all my CentOS machines, as currently I...
2010 Mar 10
1
[PATCH] Fixes how o-process-config handles missing field names or values.
...} +die() { warn "$*"; exit 1; } + try_h() { printf "Try \`$ME -h' for more information.\n" >&2; exit 1;} try_help() { printf "Usage: \`$ME [config] [module output] [config output]\n" >&2; exit 1;} @@ -55,20 +57,41 @@ networking=$(awk '/^[ \t]*ifcfg=/ { field=values[1] value=values[2] + if(length(field) == 0) { + print "Missing field name." + exit 1 + } + + if(length(value) == 0) { + print "Missing field value." +...
2020 Sep 22
2
nmcli: unwanted secondary ip-address
Dear Simon, > And can you diff the config of eno1 and eno4. # pwd /etc/sysconfig/network-scripts # diff -u ifcfg-eno1 ifcfg-eno4 --- ifcfg-eno1??? 2020-09-21 17:23:25.576672703 +0200 +++ ifcfg-eno4??? 2020-09-22 07:18:43.160532532 +0200 @@ -3,15 +3,20 @@ ?BROWSER_ONLY=no ?BOOTPROTO=none ?DEFROUTE=no -IPV4_FAILURE_FATAL=yes -IPV6INIT=no -IPV6_AUTOCONF=no +IPV4_FAILURE_FATAL=no +IPV6INIT=yes +IPV6_AUTOCONF=y...
2008 Jul 17
6
Simple IP Question
I have a server located remotely running CentOS 5.x. I need to have two IP's on the same interface. So I have this: /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=none BROADCAST=69.x.x.199 HWADDR=00:x:x:x:c6:10 IPADDR=69.x.x.194 NETMASK=255.255.255.248 NETWORK=69.x.x.192 ONBOOT=yes GATEWAY=69.x.x.193 TYPE=Ethernet So I added this: /etc/sysconfig/network-scripts/ifcfg-eth0:0 DEVICE=eth0 BOOTPROTO=none BROADCAST=69.x.x.199 HWADDR=0...
2007 Nov 01
1
Network issue after new kernel install
..., On all of my CentOS 5 VMWare ESX3 virtual machines (about 15), after installing a new kernel and rebooting the machine, the Network script tries to run dhclient and can't determine the IP info (since I don't run a dhcpd server... it's a static IP only lan). This also backs up my ifcfg-eth0 file to ifcfg-eth0.bak and writes a new ifcfg-eth0 that has dhcpd with no IP info. Copying the ifcfg-eth0.bak to ifcfg-eth0 and running /etc/init.d/network start or ifup eth0 brings my network back up. This is an example of what one of my ifcfg-eth0 files looks like... # Advanced Micro De...
2008 Mar 19
10
Network interfaces (and deleting them)
I''m in a bit of a pickle and I can''t work out a safe way to do something. I currently have a define called ip that I use to define network interfaces. The built in method didn''t seem to work, so I designed this to write out the /etc/sysconfig/network-scripts/ifcfg- ethX file. However, I started thinking about what if I decide to define an eth0:0 for some purpose, and later wish to remove it. How could I write a tidy file stanza that would delete ifcfg-ethX, but skip over ones I had defined previously? My only other thought was to find a way to build all t...
2009 Apr 01
2
5.2-5.3 Xen upgrade weirdness
Hi, Has anyone tried upgrading xen domu's from 5.2 to 5.3? I just did a yum upgrade glibc & yum upgrade yum. All appeared to go well but when I rebooted and tried to connect to the network, I could not. Looking at /etc/sysconfig/network-scripts I see that the that there is now an ifcfg-eth0 and an ifcfg-eth0.bak. ifcfg-eth0 now contains configuration for a dynamically configured interface and ifcfg-eth0.bak has the old static config information. In addition, the mac address of the interface has also been changed. I can put everything back but I would like to know if this behavio...