similar to: command for dhcp client

Displaying 20 results from an estimated 30000 matches similar to: "command for dhcp client"

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
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
2019 Oct 03
1
CentOS 8 network-scripts
On Thu, 3 Oct 2019, Jerry Geis wrote: >>> systemctl status network > > > AT BOOT: > ? network.service - LSB: Bring up/down networking > Loaded: loaded (/etc/rc.d/init.d/network; generated) > Active: inactive (dead) > Docs: man:systemd-sysv-generator(8) > > After: service network restart > ? network.service - LSB: Bring up/down networking >
2019 Oct 03
7
CentOS 8 network-scripts
I have need to use the old network-scripts and not NetworkManager. I did yum install network-scripts, I have ifcfg-eth0 set for ONBOOT=yes but it is not starting on boot. What have I missed ? Jerry
2006 Sep 13
4
Lingering dhclient issue
I recently reconfigured some CentOS 4.3 systems that were using DHCP to use static IP addresses. At the same time, the systems were moved to a new VLAN. Here is the approximate sequence of events that took place: 1. ifdown eth0 2. edit /etc/sysconfig/network-scripts/ifcfg-eth0 with static IP address 3. wait for network folks to reconfigure switch 4. ifup eth0 I may have
2020 Sep 22
2
nmcli: unwanted secondary ip-address
Dear Simon, every second IP-address is unwanted. We restarted? eno4: nmcli con down eno4; nmcli con up eno4 and the second address vanishes. Then after a few ours, the second ip address reappears. This is the config-file of eno2: # cat ifcfg-eno2 TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO=none DEFROUTE=yes IPV4_FAILURE_FATAL=yes IPV6INIT=no IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes
2015 Dec 10
6
CentOS 7, NetworkMangler, and ipv6
We've started having a problem with a CentOS 7 server. It looses its IPv6 address, if I understand this issue correctly. We can get in, if we do ssh -4, though. In the logs, I'm seeing this about twice an hour: <warn> (pid 98466) unhandled DHCP event for interface ens3f0 Now, in googling, I get very few hits putting quotes around "unhanded dhcp exception" - in fact, the
2015 Mar 03
2
dhclient.conf
Hi all :-) on centos 6 I need keep the hostname from a dhcp server: cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=00:50:56:27:0E:C8 TYPE=Ethernet UUID=20924b21-e92a-4944-a054-06d1967155c1 ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=dhcp PEERDNS=yes with this config, centos keep only ip from dhcp server (not gw, not dns) where is dhclient.conf? I need to create it? If yes,
2015 Aug 27
2
centos 6 - changing resolv.conf by hand gets overwritten by rebooting
given machine with C6 x86_64 (seen on C 6.6 but also before and probably still present on C6.7) only 1 interface, there is dhcp on this network (for kickstarting) but the machines have static ip's, and NO networkmanager installed contents of resolv.conf search some.domain.here nameserver x.x.x.x #dns1 nameserver y.y.y.y #dns2 change resolv.conf to: search some.newdomain.here nameserver
2009 Oct 08
12
resolv.conf rewritten every reboot. How to figure out who and why?
My machine has a static IP, with dhcp and IPv6 disabled. Every time I reboot, some process rewrites /etc/resolv.conf, including a comment about dhcpclient. The only package I have installed that shows up in "rpm -qa|grep -i dhcp" is dhcpv6-client-1.0.10-16.el5, and nothing in there is named dhcpclient. I'd like to figure out what software is rewriting this file and why. man 5
2015 Oct 05
1
CentOS 7 & dhclient hooks
Hi, I have CentOS 7 and I am trying to get dhclient hooks working. I have 1) created file /etc/dhcp/dhclient-enp4s0.conf, 2) created directories /etc/dhcp/{dhclient-enter-hooks.d, dhclient-exit-hooks.d}, 3) added line 'DHCLIENTARGS="-nc"' into file ifcfg-enp4s0 and 4) added file /etc/dhcp/dhclient-enter-hooks.d/test with line echo "executed enter-hook", 5) but I was
2017 Feb 21
1
Centos7: Intel nuc/Linksys usb-ethernet
Hello All, I'm installing some DIY routers, composed of Intel nuc's ,Linksys usb-ethernet adapters and Centos7 On most machines I just plug in the usb device, install Centos7 and everything works. But on this one machine the network interface doesn't work. After installing ip addr shows: [root at clgmol ~]# ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue
2007 Nov 13
6
CentOS 5.0 ifcfg-eth0 gets renamed on boot
Hello, I created a CentOS 5.0 x86_64 guest under Debian Etch with Xen 3.0.3 and it boots fine except for one re-occuring problem - whenever it boots the /etc/sysconfig/network-scripts/ifcfg-eth0 script gets renamed to .bak and doesn''t configure the ethernet device. Here is the content of this file: TYPE=Ethernet DEVICE=eth0 BOOTPROTO=static ONBOOT=yes IPADDR=192.168.0.247
2011 Oct 25
6
two interfaces with private Ip (rfc1918) on both side and dhcp issue
Hello all, I''m using shorewall on a linux machine that has two interfaces, eth0 being connected on the internal network (10.10.10.0/24) and eth1 being connected to the external network. On eth0 the IP is statically configured to 10.10.10.254 and there is a dhcp server running for the machines in the private network. On eth1, the IP is dynamically assigned by my ISP modem that acts as
2007 Nov 01
1
Network issue after new kernel install
Hello CentOS list, 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
2008 Mar 26
2
PXE client does not honor "hostname" parameter passed by DHCP server
Hello all, I would like to seek advise on the following; I have configured linux NFSroot images for a bunch of servers and am able to boot and run stuff happily; one nuance that bothers me is that, for instance, my Fedora6 (x64) (kernel 2.6.22), (and noticed also in some other distros - Fedora8, Ubuntu710), the client boots but DOES NOT seem to pick up the hostname I pass it through the DCHP
2006 May 25
5
CentOS 4.x - Multiple gateways
Hi On a multihomed box how can i set different gateways for each NIC? Setting them in the ifcfg-ethx does not seem to make any difference to the routing? thanks
2014 May 28
2
/etc/bash_completion.d/git generates permissions errors
I did a yum update to my desktop machine as root this morning and now my regular logon account sees this whenever I press the enter key: etc/audisp/audispd.conf: Permission denied etc/audisp/plugins.d/af_unix.conf: Permission denied etc/audisp/plugins.d/syslog.conf: Permission denied etc/audit/audit.rules: Permission denied etc/audit/auditd.conf: Permission deniedetc/dhcp/dhclient.d/ntp.sh:
2015 Mar 16
2
Re: still possible to use traditional bridge network setup ?
Laine wrote: > -----Original Message----- > From: sendmail [mailto:justsendmailnothingelse@gmail.com] On Behalf > Of Laine Stump > Sent: Monday, March 16, 2015 4:12 PM > To: libvirt-users@redhat.com > Cc: Lentes, Bernd > Subject: Re: [libvirt-users] still possible to use traditional bridge network > setup ? > > On 03/16/2015 10:08 AM, Lentes, Bernd wrote: > >
2006 Mar 11
1
Getting DHCP Via CLI
Hi All, I'm wanting to tell my centos box to get a dynamic ip via cli. I know I can do "ifconfig eth0 up", or "ifconfig eth0 191.168.100.35 netmask 255.255.255.0", but, how do I tell it to send the dhcp 0.0.0.0 broadcast to the DHCP server? Cheers. Mark Sargent.