Failure to acquire IP over DHCP

Suvayu Ali fatkasuvayu+linux at gmail.com
Thu Aug 30 19:04:05 UTC 2012


On Thu, Aug 30, 2012 at 01:32:34PM -0400, Mark Haney wrote:
> On 08/30/2012 11:01 AM, Suvayu Ali wrote:
> >On Thu, Aug 30, 2012 at 10:43:59AM -0400, Mark Haney wrote:
> 
> >>
> >>What is the IP subnet that DHCP hands out?  Is it on a different subnet from
> >>192.168.0.x?
> >>
> >
> >My understanding of networks is next to nothing; by subnet do you mean
> >the netmask field as reported by ifconfig?  If so I have quoted that
> >below:
> >
> >eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
> >   inet 192.168.0.114  netmask 255.255.255.0  broadcast 192.168.0.255
> 
> Well, the netmask is part of the subnet equation.  Maybe I should have
> queried you on your level of network knowledge. My apologies for
> over-talking it.
> 

No worries, this gave me some motivation to read up over the weekend. :)

> The subnet for the other devices IPs, is it different from 192.168.0.X your
> laptop is getting?  Such as 172.16.0.x Or even 192.168.1.X (X being the part
> of the IP that identifies a specific device.
> 

When connected to the network with DHCP working properly, my laptop
should receive an external IP.  So things like this should work:

  $ ssh user@<external IP>

I guess that means the answer to your question would be "a properly
connected device would be on a different subnet".

> Does that help clarify?
> 

Indeed it did.

Thanks,

-- 
Suvayu

Open source is the future. It sets us free.


More information about the users mailing list