LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-05-2005, 09:15 AM   #1
cbbahn
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
DHCP-configuration LAN


Dear Geeks,

I justed installed DEBIAN successfully on my laptop, but unfortunately missed the DHCPconfiguration. When I tried to access my LAN in university, I was asked to configure the network first, providing details which I dont now.

Do you have any ideas how I can configure DHCP that it behave like in UBUNTU (plug it in, surfing starts)?

Kind regards,
Christopher
 
Old 10-05-2005, 09:39 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
On my Debian which is using dhcp client (dhclient):

1) In /etc/network/interfaces I see:
# The first network card - this entry was created during the Debian installation
auto eth1
iface eth1 inet dhcp

Presumably it is the dhcp at the end of the line that tells it to use dhcp for this interface.

There is also a /etc/dhclient.conf that can be configured for how dhcp operates but for the most part you don't need to do anything in that file. Just mention it in case you find things you want to tweak later.
 
Old 10-10-2005, 06:45 AM   #3
cbbahn
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks! It works!

Kind regards,
Christopher
 
Old 10-27-2005, 06:05 PM   #4
fhleung
Member
 
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432

Rep: Reputation: 30
Gateway/router assign private IPs DHCP

I have a gateway router and it assign IPs in DHCP way.

There are both Windows and Linux machines in the LAN, the setting in the gateway use DHCP and assign IP within the range. The windows machines IP are within the range

But I have no idea the Linux box IP (e.g. 192.168.1.222) is out of range? Any one have the idea?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can NFS run on a dhcp LAN? ZhiYi Linux - Networking 5 12-09-2004 06:47 PM
DHCP/Lan/Broadband on RH7.2 hath Linux - Networking 9 01-10-2004 04:25 PM
Cannot Configure DHCP on my LAN connection nodumping14 Linux - General 4 12-01-2003 05:11 PM
DHCP and Lan modules SonJelfn Slackware 5 09-17-2003 08:41 PM
DHCP server on two LAN cards V.krishna kumar Linux - Networking 3 10-24-2002 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration