Can't get IP by DHCP (Wired network)

Derek Broughton news at pointerstop.ca
Tue Jul 10 11:20:37 UTC 2007


NoOp wrote:

> iface eth0 inet dhcp
> address 87.237.115.100
> netmask 255.0.0.0
> gateway 87.237.115.1
> 
> *I think* the netmask and gateway is wrong. I think it should be:
> 
> netmask 255.255.255.0
> gateway 192.168.100.1
> 
> 87.237.115.1 is the internet facing gateway, 192.168.100.1 is the
> intranet/lan facing gateway. netmask 255.0.0.0 is for your entire ISP.

Ah hah!  I believe you have it.  However, I don't see why dhclient isn't
seeing anything, unless he's using the wrong interface (at least once, he
said eth1).

> I'd recommend that you buy a inexpensive but well branded router w a
> built in firewall & install that instead. Many will include features for
> MAC spoofing & DHCP.

Yeah - my advice too.
-- 
derek





More information about the ubuntu-users mailing list