Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I am trying to ping the network interface I have set up for eth1. This is my config:

auto eth1
iface eth1 inet static

If I ping, I get:

Ping ( 56(84) bytes of data.
From icmp_seq=3 Destination Host Unreachable

Results of ifconfig tell me that the IPv4 address is I can ping this ip. Bcast and Mask are as expected (same as in definition).

I can ping from my macbook. I cannot ping locally or from my macbook. Any ideas why?

share|improve this question
Is the router setup to actually accept pings? You could try to run nmap against the machines to get a more accurate check for availability –  Marco Ceppi Nov 22 '11 at 23:06
Looks like eth1 isn't up and the router at can't reach either. Please append the output of ifconfig eth1 and route -n to your question. –  Florian Diesch Nov 22 '11 at 23:19
Hello Calvin! This is the DHCP server right? Can you try this steps? 1) Run the command "mii-tool" on the server and check if the ethernet link is OK. 2) With your server and the MacBook connected to the switch, try to get an IP from the server with you mac. If it works but you still cant ping, please check the network configuration given from the server to the macbook to see if it has netmask Check the server too with the command "ifconfig eth1". Please append the results to your question. –  Paulo Arruda Nov 22 '11 at 23:39
Appended question with results if ifconfig eth1. –  Calvin Froedge Nov 23 '11 at 17:00

1 Answer 1

up vote 0 down vote accepted

ping is an application, considering this it needs an existing connection between the sender and receiver, in other words a routing path; since you specify a gateway in your setup it means that everything that is send or received by has to pass through, and if it's not present in your topology you simply do not will have any connection at all from .

share|improve this answer
This was it. I removed the gateway and all worked. –  Calvin Froedge Nov 23 '11 at 18:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.