LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 06-08-2001, 09:30 AM   #16
bfloeagle
Member
 
Registered: Jun 2000
Location: Upstate New York
Distribution: Ubuntu
Posts: 158

Original Poster
Rep: Reputation: 30
Pump sounds right


ektoric is right. Pump is the one I was using. When I launched it, my eth cards would startup again like they did when I first booted the machine. I think my logs also said the external interface was configured properly (not at machine right now).

ektoric, I assume that 255.255.255.255 is the subnet, right? If it is, how do I get the IP? (If you know...)

BTW, I beat you to it! All my internal machines use dhcp to get their ip's, dns server, and internet gateway settings. All from my tiny little 233 linux box.

mcleodnine - I will try man dhcpd when I get home.....
 
Old 06-08-2001, 09:44 AM   #17
ektoric
LQ Newbie
 
Registered: Jun 2001
Location: Austin, TX
Distribution: FC5/6
Posts: 23

Rep: Reputation: 15
no, 255.255.255.255 *is* the DHCP server's IP address, so to speak. The point of DHCP is this:
Client: Whoa! Just woke up.. Where Am I?? What's my name? how I do talk to anyone? I don't know anything at all, but I do know this *well known IP address that I can query* to find out some info.
Server: My true IP address is *.*.*.* but I also listen in on anyone who talks over this *well known IP address* so I know when someone needs my services.

If you didn't know that this "well known IP address" is, you wouldn't be able to ask anyone because you don't have a valid IP address yet to talk on the network. So, the DHCP protocol is always at IP address 255.255.255.255... which begs the question, why doesn't your app know that already.

(heheh... DHCP protocol.. heheh.. kinda like "network NIC card" hahah)
 
Old 06-08-2001, 10:28 AM   #18
bfloeagle
Member
 
Registered: Jun 2000
Location: Upstate New York
Distribution: Ubuntu
Posts: 158

Original Poster
Rep: Reputation: 30
Question Lemme pick ur brain then ------->

Ok, then I got another question for you. On any of my windoze machines, if I run the command "ipconfig /all" it will return the real ip of my dhcp server. Is this just a thing that micro$oft does, or is there a command (windoze or linux) that will ask for the real ip of the dhcp server?

Or would it just be easier for once to put the windoze machine with the cable modem and find out the ip address that way (dont want to because I would have to physically move the computers around but I will if I have to)?

Andy
 
Old 06-08-2001, 02:32 PM   #19
ektoric
LQ Newbie
 
Registered: Jun 2001
Location: Austin, TX
Distribution: FC5/6
Posts: 23

Rep: Reputation: 15
unfortunately, like I said, I am using dhcpcd, not pump.
try "pump -i eth0 --status" and see what it says.
if you're using dhcpcd, i could tell you to peek at /etc/dhcpc/dhcpcd-eth0.info and look at the DHCPSID field.
 
Old 06-11-2001, 05:43 PM   #20
bfloeagle
Member
 
Registered: Jun 2000
Location: Upstate New York
Distribution: Ubuntu
Posts: 158

Original Poster
Rep: Reputation: 30
Talking THAT'S IT!!!!!!

I'm sorry for the late post, but that line gave me all the info I needed. I got the dhcp servers and when the lease was up. Thank you for leting me know about that!

Andy
 
Old 03-30-2004, 05:07 AM   #21
chrisnewey
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
Wink

If you are using Linux dhcp client then try

cat /etc/dhcpc/hostinfo-<device>

Where <device> = the network device talking to the ISP

Eg.

cat /etc/dhcpc/hostinfo-eth0

This will give you amongst other thingyour current IP address, name of DHCP Server

[root@dhcp-209-134470 cdn]# cat /etc/dhcpc/hostinfo-eth1
LEASETIME=3600
RENEWALTIME=1800
REBINDTIME=3150
IPADDR=82.37.77.29 Your current IP
NETMASK=255.255.248.0
BROADCAST=255.255.255.255
HOSTNAME=dhcp-209-134470 DHCP Server Name
ROUTER=82.37.72.1 DHCP Server IP

The above is what i get on my machine - note that my Internet connection is on eth1

Hope this helps

Chris Newey
 
  


Reply



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
cable modem and dhcp dead_p00l Linux - Networking 3 11-30-2003 02:29 AM
Cable Modem Help Needed Darkstar Linux - Networking 32 09-29-2003 05:45 PM
Cable modem help needed Vandread Linux - Networking 2 08-30-2003 01:28 PM
Cable Modem - How-to DHCP ? iraysyvalo Linux - Networking 17 07-16-2003 09:28 AM
dhcp3-client won't negotiate with windows dhcp server through cable modem frankster2000 Linux - Networking 0 06-25-2002 09:04 AM

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

All times are GMT -5. The time now is 09:10 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