Re: [gentoo-user] how to find the dhcp server?
On Wed, 2004-01-28 at 22:06, lukas wrote: On Wednesday 28 January 2004 20:45, fisch wrote: hi, i have a problem in my network - there is a dhcp-server. How can I find out the IP/MAC of that dhcp-server. I tried dhcpd -d eth0 but only my IP/MAC were shown. Do you maybe mean dhcpcd -d eth0, but it makes no difference, you will only see your IP/MAC. :) Just do a broadcast ping (ping -b BROADCASTIP) in your network and then type arp -a. Now you should see all IPs/MACs in your network. I know the IP's/MAC's of all clients in the network, but there is a dhcp-server which shouldn't be one! I wan't to find the IP/MAC of the dhcp-server which gives me an IP. cu lukas -- fisch [EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] how to find the dhcp server?
On Thu, 2004-01-29 at 00:58, lukas wrote: On Thursday 29 January 2004 00:40, Norbert Kamenicky wrote: Just do a broadcast ping (ping -b BROADCASTIP) in your network and then type arp -a. Now you should see all IPs/MACs in your network. :-) Good advice, but how can u ping your network broadcast address if u don't know it ? (Because, e.g. your dhcp client is not installed/broken ...) U have to use ping -I eth0 -b 255.255.255.255 instead, but it can happen not only DHCP server answers ... That's right. :) If you really don't know any network adresses this is not the right method and I really don't know how to do it correctly. Is it possible to physicaly isolate the dhcp-server? Then you not realy :) I can only test on which 48Port Switch it is connected :) can connect only one client to it, and the broadcast should work. cu lukas -- fisch [EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list
[gentoo-user] how to find the dhcp server?
hi, i have a problem in my network - there is a dhcp-server. How can I find out the IP/MAC of that dhcp-server. I tried dhcpd -d eth0 but only my IP/MAC were shown. please help fisch -- fisch [EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] how to find the dhcp server?
fisch wrote: hi, i have a problem in my network - there is a dhcp-server. How can I find out the IP/MAC of that dhcp-server. I tried dhcpd -d eth0 but only my IP/MAC were shown. please help fisch run dhclient if it went ok, u'll find all u need somewhere in /var/???/dhclient-eth0.leases MAC to any IP on LAN can be find easily by arp command (ping to IP may be needed, because it's cleaned periodically) noro -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] how to find the dhcp server?
On Wednesday 28 January 2004 20:45, fisch wrote: hi, i have a problem in my network - there is a dhcp-server. How can I find out the IP/MAC of that dhcp-server. I tried dhcpd -d eth0 but only my IP/MAC were shown. Do you maybe mean dhcpcd -d eth0, but it makes no difference, you will only see your IP/MAC. :) Just do a broadcast ping (ping -b BROADCASTIP) in your network and then type arp -a. Now you should see all IPs/MACs in your network. cu lukas -- ** PGP-key available on keyserver pgp.mit.edu ** Please don't sign your public mail unless your PGP-key is available for everyone! pgp0.pgp Description: signature
Re: [gentoo-user] how to find the dhcp server?
On Wed, 2004-01-28 at 19:45, fisch wrote: hi, i have a problem in my network - there is a dhcp-server. How can I find out the IP/MAC of that dhcp-server. I tried dhcpd -d eth0 but only my IP/MAC were shown. please help fisch /var/lib/dhcpc/dhcpcd-eth0.info contains this information on my system. -- Tom Wesley signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] how to find the dhcp server?
On Wed, 2004-01-28 at 19:45, fisch wrote: hi, i have a problem in my network - there is a dhcp-server. How can I find out the IP/MAC of that dhcp-server. I tried dhcpd -d eth0 but only my IP/MAC were shown. please help fisch /var/lib/dhcpc/dhcpcd-eth0.info contains this information on my system. -- Tom Wesley signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] how to find the dhcp server?
lukas wrote: On Wednesday 28 January 2004 20:45, fisch wrote: Just do a broadcast ping (ping -b BROADCASTIP) in your network and then type arp -a. Now you should see all IPs/MACs in your network. :-) Good advice, but how can u ping your network broadcast address if u don't know it ? (Because, e.g. your dhcp client is not installed/broken ...) U have to use ping -I eth0 -b 255.255.255.255 instead, but it can happen not only DHCP server answers ... noro -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] how to find the dhcp server?
On Wed, 2004-01-28 at 17:40, Norbert Kamenicky wrote: lukas wrote: On Wednesday 28 January 2004 20:45, fisch wrote: Just do a broadcast ping (ping -b BROADCASTIP) in your network and then type arp -a. Now you should see all IPs/MACs in your network. :-) Good advice, but how can u ping your network broadcast address if u don't know it ? (Because, e.g. your dhcp client is not installed/broken ...) You /can/ do dhcpcd -T -d, and that will give you the ARP of the DHCP server answering (or at least the bootp helper switch/router). Then, you find the IP. Maybe run arpwatch and check the cache. U have to use ping -I eth0 -b 255.255.255.255 instead, but it can happen not only DHCP server answers ... More like it's likely it won't even answer. There's no good reason for ISP infrastructure to answer to broadcast pings. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] how to find the dhcp server?
On Thursday 29 January 2004 00:40, Norbert Kamenicky wrote: Just do a broadcast ping (ping -b BROADCASTIP) in your network and then type arp -a. Now you should see all IPs/MACs in your network. :-) Good advice, but how can u ping your network broadcast address if u don't know it ? (Because, e.g. your dhcp client is not installed/broken ...) U have to use ping -I eth0 -b 255.255.255.255 instead, but it can happen not only DHCP server answers ... That's right. :) If you really don't know any network adresses this is not the right method and I really don't know how to do it correctly. Is it possible to physicaly isolate the dhcp-server? Then you can connect only one client to it, and the broadcast should work. cu lukas -- ** PGP-key available on keyserver pgp.mit.edu ** Please don't sign your public mail unless your PGP-key is available for everyone! pgp0.pgp Description: signature
Re: [gentoo-user] how to find the dhcp server?
See my email. On Wed, 2004-01-28 at 17:58, lukas wrote: On Thursday 29 January 2004 00:40, Norbert Kamenicky wrote: Just do a broadcast ping (ping -b BROADCASTIP) in your network and then type arp -a. Now you should see all IPs/MACs in your network. :-) Good advice, but how can u ping your network broadcast address if u don't know it ? (Because, e.g. your dhcp client is not installed/broken ...) U have to use ping -I eth0 -b 255.255.255.255 instead, but it can happen not only DHCP server answers ... That's right. :) If you really don't know any network adresses this is not the right method and I really don't know how to do it correctly. Is it possible to physicaly isolate the dhcp-server? Then you can connect only one client to it, and the broadcast should work. cu lukas -- [EMAIL PROTECTED] mailing list