Sponsored Content
Special Forums IP Networking DHCP client & ipchains headache Post 5952 by jurrien on Monday 27th of August 2001 06:06:17 PM
Old 08-27-2001
@home &linux

at this moment i also have @home but my server is freebsd. i also had a small headache for one day to get info out of the server. (i live in the netherlands i am not sure if there is a different @home config around the world). by my @home wants to know my computer name before i get an ip (that things is the thing i know). i got the dhcp client from www.isc.org (one of the two most used dhcp clients).
my config is at the moment

in my /etc/dhclient.conf is standing


interface "interfacename" {
send dhcp-client-identifier "computername";
send dhcp-lease-time 86400;
}

where interface name could be in linux eth0 or eth1(the one which the cable modem is on is the good one)
and computername your official computername how they want it by @home.

then simply type dhclient eth0
aand your computer got his ip (worked by me).

 

9 More Discussions You Might Find Interesting

1. IP Networking

Howto configure AIX DHCP Client ?

I use DHCP on my AIX box at home . I want to connect to my Cable ISP as a DHCP Client . the thing I did was this : smit Communications Applications and Services TCP/IP Use DHCP for TCPIP Configuration and Startup "Select the interface you want to use" en0 "Enter a hostname" OK after... (3 Replies)
Discussion started by: zumbi
3 Replies

2. IP Networking

PUMP DHCP Client

I'm currently using red hat 6.1 and PUMP DHCP Client, I have a Cable Modem from which I aquire my leases. I've configured the lcient corrctly to the best of my knowledge and if get assigned an IP address on the subnet for my local Ubr, however when I go to use any HTTP based program all my requests... (1 Reply)
Discussion started by: r00t.$h3ll
1 Replies

3. Shell Programming and Scripting

scripting headache... loops & variables

Surely there's an easier way to do this, lets see if anyone knows! I am new to scripting so go easy on me! I have the following script and at the moment it doesn't work and I believe the problem is that I am using a while loop within a while loop. When I run the script using sh -x I can see... (6 Replies)
Discussion started by: StevePace
6 Replies

4. Solaris

Solaris Install over WAN(where to keep wanboot.conf file for DHCP client)

I am trying to configure my jumpstart server to install Solaris 10 on a T1000 machine(target) over WAN. I do not know the IP address of the client, i wish the client to get the IP address from DHCP. how do i configure my /etc/netboot hierarchy. One option would be to keep the wanboot.conf in... (1 Reply)
Discussion started by: hemalsid
1 Replies

5. SCO

dhcp client

I have openserver 5.0.7 running on a machine and would like to know how to configure a dhcp client for it and make it run at startup. Thank you. (1 Reply)
Discussion started by: izzzy
1 Replies

6. UNIX for Advanced & Expert Users

DHCP client question

hi all, In dhcp client , how to specify no of retiral attempts for getting IP ? man dhclient.conf - has rery timeout but i m looking for attempts Also option nwip.autoretries uint8; - i guess this is for dhcpd server I basically want to expire after the first attempt. Any... (1 Reply)
Discussion started by: ramchan10
1 Replies

7. AIX

How to set dhcp client by using commands

Hi, I have used "smit tcpip" to setup dhcp client but it does not work. Don't know why. Now I want to try using commands to do the job. I have studied commands chdev and mktcpip but did not find howto. Please help. Thank you! (1 Reply)
Discussion started by: aixlover
1 Replies

8. Linux

Linux dhcp client boot process with packets traffic

Hi Everybody, I would like to know the entire network packets exchange, sequence between a linux dhcp client workstation & dhcp server as client comes up starting from OS booting stage as network service starts to the time client gets dhcp IP address. This would be in a typical LAN ... (2 Replies)
Discussion started by: sudhirav
2 Replies

9. IP Networking

DHCP client's IP release query

Hi All, I have two doubts here in DHCP Solaris environment.. could anyone please clarify me? 1. If a new client comes up and it needs an IP to be assigned by a DHCP server, how can it communicate with the DHCP server in the first case without any IP? The SUN doc says something about "BOOTP"... (4 Replies)
Discussion started by: satish51392111
4 Replies
DHCP-HELPER(8)						      System Manager's Manual						    DHCP-HELPER(8)

NAME
dhcp-helper - A DHCP/BOOTP relay agent. SYNOPSIS
dhcp-helper [OPTION]... DESCRIPTION
dhcp-helper is a DHCP and BOOTP relay agent. It listens for DHCP and BOOTP broadcasts on directly connected subnets and relays them to DHCP or BOOTP servers elsewhere. It also relays replies from the remote servers back to partially configured hosts. Once hosts are fully config- ured they can communicate directly with their servers and no longer need the services of a relay. OPTIONS
The only required option is at least one DHCP server to relay to. The simplest way to configure dhcp-helper on a router is just to give the interface to the network containing the DHCP server with a -b option. All the other interfaces present on the machine will then accept DHCP requests. On a machine which does not have an interface on the network containing the DHCP server, use a -s option instead. -s <server> Specify a DHCP or BOOTP server to relay to. The server may be given as a machine name or dotted-quad IP address. More than one server may be specified. -b <interface> Relay to a DHCP or BOOTP server using broadcast via <interface>. This eliminates the need to give a server address. <interface> is automatically added to the list of interfaces which will not receive DHCP requests. -i <interface> Specify which local interfaces to listen on for DHCP/BOOTP broadcasts. If no -i flags are given all interfaces are used except those specified by -e flags and those specified by -b flags. -e <interface> Specify which local interfaces to exclude. -p Use alternative ports (1067/1068) for the DHCP client and server. -v Report the software release version and copyright information. -d Debug mode, do not change UID, write a pid-file or go into the background. -r <file> Specify an alternate path for dhcp-helper to record its process-id in. Normally /var/run/dhcp-helper.pid. -u <username> Specify the userid to which dhcp-helper will change after startup. The daemon must normally be started as root, but it will drop root priviledges after startup by changing id to another user. Normally this user is "nobody" but that can be over-ridden with this switch. NOTES
Dhcp-helper requires a 2.2 or later Linux kernel. The "Linux packet filter" and "packet socket" facilities are not required, which is the chief advantage of this software over the ISC DHCP relay daemon. AUTHOR
This manual page was written by Simon Kelley <simon@thekelleys.org.uk>. DHCP-HELPER(8)
All times are GMT -4. The time now is 06:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy