On Thursday, November 20, 2008 at 20:07:02 -0800, Jon wrote:
>the /etc/hostname.em0 has 'inet <static IP> 255.255.255.0 NONE' in it.
>
>I can resolve using the gateway as my nameserver in /etc/resolve.conf
>
>the thing won't allow any traffic to go out - I am trying to ping
>yahoo.com...
>
>But if i update /etc/hostname.em0 to DHCP and do a dhclient - it work.. No
>issue.

Then stick to DHCP.  Why do you want to hardcode the IP to hostname.em0?

>What I am doing wrong or missing ?

It's very well possible that the DHCP request does a lot more on the
other end than just send you an IP.  (set a route to your end, for
example).
Without the DHCP request, this won't happen, hence the problems you're
seeing.

Maurice

Reply via email to