search for: dhcp_hostname

Displaying 20 results from an estimated 20 matches for "dhcp_hostname".

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 kno...
2017 Feb 28
1
[PATCH] sysprep: Remove DHCP_HOSTNAME= from ifcfg-* files (RHBZ#1427529).
...@@ -30,10 +30,12 @@ let net_hostname_perform (g : Guestfs.guestfs) root side_effects = let filenames = g#glob_expand "/etc/sysconfig/network-scripts/ifcfg-*" in Array.iter ( fun filename -> - (* Replace HOSTNAME=... entry. *) + (* Remove HOSTNAME=... and DHCP_HOSTNAME=... entries. *) let lines = Array.to_list (g#read_lines filename) in let lines = List.filter ( - fun line -> not (String.is_prefix line "HOSTNAME=") + fun line -> + not (String.is_prefix line "HOSTNAME=") && +...
2009 Apr 07
2
[PATCH] ipconfig: send hostname in DHCP request
...d, sizeof(dhcp_end)} + /* [4] = optional vendor class */ + /* [5] = optional hostname */ + /* [6] = {dhcp_end, sizeof(dhcp_end)} */ }; /* @@ -164,6 +166,8 @@ static int dhcp_recv(struct netdev *dev) static int dhcp_send(struct netdev *dev, struct iovec *vec) { struct bootp_hdr bootp; + char dhcp_hostname[SYS_NMLN+2]; + int i = 4; memset(&bootp, 0, sizeof(struct bootp_hdr)); @@ -179,12 +183,35 @@ static int dhcp_send(struct netdev *dev, struct iovec *vec) vec[1].iov_base = &bootp; vec[1].iov_len = sizeof(struct bootp_hdr); - vec[4].iov_base = vendor_class_identifier; - vec[4].iov...
2008 Sep 27
2
Graphical net install
Is it at all possible to do a graphical netinstall ? I am using centos 5.2, and i have been doing net installs (pxe) for a while in console mode... -- Test <test at remedial-teacher.nl>
2019 Jan 24
0
dhcp-client should send hostname to dhcp/ dns server
Hallo, what is the right way in centos7 to configure the dhcp-client so that the system name is send to the dhcp/dns server (windows-domain). I found DHCP_HOSTNAME="Hostname" as entry in the device-config of the network-interface. Thanks for hints Ralf
2008 Jul 10
2
Kernel is not compiled with IPv6 support?
...Module off not found. CRITICAL : [ipv6_test] Kernel is not compiled with IPv6 support /etc/sysconfig/network has: NETWORKING=yes NETWORKING_IPV6=yes HOSTNAME=onlo.htt-consult.com and /etc/sysconfig/network-scripts/ifcfg-eth0 has: DEVICE=eth0 BOOTPROTO=none HWADDR=00:50:8B:A1:FE:1C ONBOOT=yes DHCP_HOSTNAME=onlo.htt-consult.com IPADDR=208.83.67.148 NETMASK=255.255.255.248 GATEWAY=208.83.67.145 TYPE=Ethernet USERCTL=no IPV6INIT=yes IPV6_AUTOCONF=yes PEERDNS=no A system on this subnet is supposedly running radvd.
2009 Jun 25
2
setup VLAN without primary LAN?
we would like setup VLAN on CENTOS 5.X and 4.x. Only VLAN will active, but primary LAN NOT active. E.g "eth0" inactive, but "eth0.2" active. I have been tried several ways, but never successful. Any ideal? ______________________________________________________________________________________________________ ?????????Yahoo!??????2.0?????????????
2010 May 05
0
dhclient.conf being ignored!
It seems that the prominent North American Enterprise Linux vendor has decided that dhclient.conf should be ignored, i.e. ifup-eth causes dhclient to be called with "-cf /etc/dhclient-$(DEVICE).conf", and then ifup-eth/ifdown-eth wipes the file out each time. Through the use of "DHCP_HOSTNAME" in ifcfg-eth0 you can specify a host name, but because of the above behavior of ifup-eth other options don't seem to be able to be passed to dhclient. I tried placing supersede ntp-servers into dhclient-up-hooks, but that also seems to be ignored, and my google fu seems to be failing on...
2000 Mar 15
1
Server w/ DHCP address incorrectly registers with WINS
I am sneaking Linux and Samba into my client's IT department (with the cooperation of the IT manager) and we have a few issues getting the system talking to the rest of the network. The network we are inserting the system into uses WINS and does not have DNS for local hostname resolution. The system is required to get its IP address via DHCP. The system is running a vanilla install of
2010 Mar 02
1
DHCP client not working with Windows DHCP / dynamic DNS server
# Broadcom Corporation NetXtreme BCM5754 Gigabit Ethernet PCI Express DEVICE=eth0 BOOTPROTO=dhcp HWADDR=00:22:19:XX:XX:XX ONBOOT=yes DHCP_HOSTNAME=centos.XXXXXXXXXX.local In this particular instance, it's a place where Windows is used for DHCP and DNS servers. :( I have no control over the Windows side of things. The Windows sysadmins claim I don't need a fixed IP address, because DNS will pick up the name after I make the DHCP re...
2012 May 22
0
[klibc:master] ipconfig: Append padding if DHCP packet length < 300 octets
..._request_iov[DHCP_IOV_LEN] = { /* [4] = optional vendor class */ /* [5] = optional hostname */ /* [6] = {dhcp_end, sizeof(dhcp_end)} */ + /* [7] = optional padding */ }; /* @@ -187,7 +189,10 @@ static int dhcp_send(struct netdev *dev, struct iovec *vec) { struct bootp_hdr bootp; char dhcp_hostname[SYS_NMLN+2]; + uint8_t padding[BOOTP_MIN_LEN - sizeof(struct bootp_hdr)]; + int padding_len; int i = 4; + int j; memset(&bootp, 0, sizeof(struct bootp_hdr)); @@ -232,6 +237,17 @@ static int dhcp_send(struct netdev *dev, struct iovec *vec) vec[i].iov_base = dhcp_end; vec[i].iov_len...
2008 Aug 06
2
CentOS 5.2 -- how do I choose a wireless network?
Hi. We have a Windows laptop that has gotten too slow, it's borderline unusable, so I burned a CentOS 5.2 32-bit Live CD, just to try it out in the home. It boots up fine, but it does not connect to the Internet... Now we normally connect through a wireless network, there are several around here -- on the Windows box we choose the network to which to connect... but on CentOS there is
2005 Jul 07
6
remove wins entries - samba 3
Hi, I am having the same problem. Did you figure out how to do this? Any help in how to remove stale WINS entries from Samba would be greatly appreciated. Cheers, -farshad
2017 Apr 18
2
anaconda/kickstart: bonding device not created as expected
...bytes 3486 (3.4 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 17 The ifcfg-files look basically ok, but there are two for the eno1 device. ifcfg of the bonding device: $ cat ifcfg-bond0 # Generated by parse-kickstart IPV6INIT="yes" DHCP_HOSTNAME="myhost" NAME="Bond connection bond0" BONDING_MASTER="yes" BOOTPROTO="dhcp" BONDING_OPTS="mode=balance-alb" DEVICE="bond0" TYPE="Bond" ONBOOT="yes" UUID="35910614-4a7c-43c9-8e44-dcf44b783358" $ ifcfg of the...
2011 Jul 18
2
ipconfig:About the length of 'options' field of DHCP packet
...p_request_iov[DHCP_IOV_LEN] = { /* [4] = optional vendor class */ /* [5] = optional hostname */ /* [6] = {dhcp_end, sizeof(dhcp_end)} */ + /* [7] = optional padding */ }; /* @@ -167,6 +169,7 @@ static int dhcp_send(struct netdev *dev, struct iovec *vec) { struct bootp_hdr bootp; char dhcp_hostname[SYS_NMLN+2]; + uint8_t options_padding[64]; int i = 4; memset(&bootp, 0, sizeof(struct bootp_hdr)); @@ -212,6 +215,25 @@ static int dhcp_send(struct netdev *dev, struct iovec *vec) vec[i].iov_base = dhcp_end; vec[i].iov_len = sizeof(dhcp_end); + + if(dev->bootp.fail_count &...
2011 Nov 18
5
XEN multiple bridge problem - VM won' start!
...nted to configure additional physical iface, define a new bridge and propagate it to the viface-s of the VM's, i configured the bridge/phys. iface and brought it up (here are configurations that I set up): -> eth3 DEVICE=eth3 BOOTPROTO=static HWADDR=D4:85:64:4B:76:AB ONBOOT=yes #HOTPLUG=no #DHCP_HOSTNAME=kdr-3k-4r-3o-07 BRIDGE=br0 TYPE=Ethernet -> br0 DEVICE=br0 TYPE=Bridge BOOTPROTO=none ONBOOT=yes Then I configured new virt. ifaces on VM's (using virsh edit, config is listed below): <interface type='bridge'> <mac address='00:16:36:17:62:5d'/> <source bridg...
2017 Apr 19
0
anaconda/kickstart: bonding device not created as expected
...d 0 overruns 0 carrier 0 collisions 0 > device interrupt 17 > > > The ifcfg-files look basically ok, but there are two for the eno1 device. > > ifcfg of the bonding device: > > $ cat ifcfg-bond0 > # Generated by parse-kickstart > IPV6INIT="yes" > DHCP_HOSTNAME="myhost" > NAME="Bond connection bond0" > BONDING_MASTER="yes" > BOOTPROTO="dhcp" > BONDING_OPTS="mode=balance-alb" > DEVICE="bond0" > TYPE="Bond" > ONBOOT="yes" > UUID="35910614-4a7c-43c9-8...
2018 Feb 09
0
ANNOUNCE: libguestfs 1.38 released
...for Linux guests, if one is not already set. Virt-df now works correctly on filesystems with block sizes smaller than 1K (Nikolay Ivanets). Virt-dib has further compatibility enhancements with diskimage-builder (Pino Toscano). Virt-sysprep removes "DHCP_HOSTNAME" from ifcfg-* files. Virt-sysprep now works on Oracle Linux (Jamie Iles). Virt-resize now correctly copies GPT partition attributes from the source to the destination (Cédric Bosdonnat). Bash tab completion implemented or enhanced for: virt-win-reg, virt-v...
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
2008 Feb 28
1
Networking problems with fresh install
...ting.inexs.com 172.17.2.242 watchdog watchdog.inexs.com /etc/sysconfig/network-scripts/ifcfg-eth0 [root at cm network-scripts]# more ifcfg-eth0 # Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet DEVICE=eth0 BOOTPROTO=none BROADCAST=172.17.2.255 HWADDR=00:e0:81:2c:73:86 ONBOOT=yes DHCP_HOSTNAME=cm TYPE=Ethernet IPADDR=172.17.2.50 NETMASK=255.255.255.0 NETWORK=172.17.2.0 GATEWAY=172.17.2.1 USERCTL=yes IPV6INIT=no PEERDNS=no PEERNTP=no /etc/sysconfig/network-scripts/ifcfg-lo [root at cm network-scripts]# more ifcfg-lo DEVICE=lo IPADDR=127.0.0.1 NETMASK=255.0.0.0 NETWORK=127.0.0.0 # If you&...