weird network issue
Omer Zak
w1 at zak.co.il
Mon Feb 14 12:50:56 IST 2011
Hello Hetz,
1. Does the virtual machine have additional network cards (eth1, eth2,
etc.)? If yes, you may be accessing the network via those cards rather
than via eth0. (Statement about proper routing withstanding.)
2. Which Linux distribution is running in the virtual machine?
Google search (rtnetlink answers network is unreachable) yielded the
following possibilities:
- Misconfigured IP address in firewall script.
- Network card does not exist (as far as the virtual machine is
concerned).
- Misconfigured network card.
Two of the URLs I got from the above Google search:
http://www.linuxquestions.org/questions/linux-networking-3/server-ifup-rtnetlink-answers-network-is-unreachable-problem-340915/
https://bugzilla.redhat.com/show_bug.cgi?id=155299
--- Omer
On Mon, 2011-02-14 at 12:32 +0200, Hetz Ben Hamo wrote:
> Hi,
>
>
> I'm getting some really weird error, even though the network on the
> machine works well.
> When I'm doing: "service network restart" or "ifup eth0", I'm getting
> a message: RTNETLINK answers: Network is unreachable.
>
>
> It is reachable. route's output is perfectly ok, the machine can
> access the net and I can access it from outside. DNS works, ping works
> etc..
>
>
> Looking at /var/log/messages, all I see is:
>
>
> Feb 14 13:23:00 testing23 kernel: eth0: intr type 2, mode 0, 1 vectors
> allocated
> Feb 14 13:23:00 testing23 kernel: eth0: NIC Link is Up 10000 Mbps
>
>
> Here is my ifcfg-eth0 (it's a virtual machine, so the check_link stuff
> is what vmware added)
>
>
> DEVICE=eth0
> ONBOOT=yes
> USERCTL=no
> BOOTPROTO=none
> NETMASK=255.255.255.224
> IPADDR=82.XXX.XXX.203
> PEERDNS=no
>
>
> check_link_down() {
> return 1;
> }
> HWADDR=00:50:56:a3:00:18
> GATEWAY=82.XXX.XXX.193
> TYPE=Ethernet
>
>
> Any suggestions?
--
MS-Windows is the Pal-Kal of the PC world.
My own blog is at http://www.zak.co.il/tddpirate/
My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html
More information about the Linux-il
mailing list