LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 03-24-2003, 09:50 PM   #1
paradoxlight
LQ Newbie
 
Registered: Jan 2002
Posts: 25

Rep: Reputation: 15
How do I find my DHCP server address


I need to setup my IPTABLES firewall to use allow DHCP address in but of course I don't know what the server is untill I get an address. I am hoping that I can open it for a moment to find it and then close it.

The issue is that I don't know how to find out what server it used.
Can I use IFCONFIG? or is there another utility?
 
Old 03-24-2003, 10:55 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
You shouldn't need to configure iptables to handle dhcp, linux will punch the dhcp server through the firewall for you when you boot.

Usually you should be able to find the dhcp servers address either through your isp or network administrator. Just call them up and ask. If you have a broadband connection you should be able to find it using a network configuration tool (in redhat 8 use redhat-config-network)

Beyond that, it's hard to guess at which tool to use, as you didn't list your linux distrobution.
 
Old 03-24-2003, 11:28 PM   #3
paradoxlight
LQ Newbie
 
Registered: Jan 2002
Posts: 25

Original Poster
Rep: Reputation: 15
I run Redhat 8. And I wasn't able to get an ip but I will try again. Thanx.
 
Old 03-25-2003, 12:10 AM   #4
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
Try running the network tool (start button->system settings->network). You should see an entry for your ethernet card (eth0). Click on edit and there should be an option that says "automatically obtain ip address with". First click the radio button in front of the line and then click the drop-down menu and select dhcp. Once your done, click ok and go back to the first menu and make sure that the interface is activated.Most of the time this should work depending on your setup. If you have a cable or dsl line with a broadband router, it should be able to grab it's address from the router. You have to be root to do this or it will prompt you for roots password.

Last edited by Capt_Caveman; 03-25-2003 at 12:12 AM.
 
  


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
DHCP Server address srbbabu Linux - Networking 1 11-05-2005 10:33 PM
DHCP Server MAC Address found, IP address not assigned wmburke Linux - Wireless Networking 17 11-17-2004 11:33 AM
How to find out my IP address on a DHCP IP Assigned machine? simonh Linux - Networking 2 12-10-2002 06:49 AM
DHCP cannot find IP Address dbs Linux - Networking 3 10-04-2002 11:43 PM
dhcp server address manthram Linux - Networking 1 07-12-2002 04:09 PM


All times are GMT -5. The time now is 07:39 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration