<div dir="ltr">Damn, How did I miss that?<div><br></div><div>it appeared that VMWare's network template script sucks, it did put some numbers in the route-eth0 file. I emptied the file and now it works :)</div><div><br>
</div><div>Thanks a lot :)</div><div>Hetz<br><br><div class="gmail_quote">On Mon, Feb 14, 2011 at 1:10 PM, Baruch Shpirer <span dir="ltr"><<a href="mailto:baruch@shpirer.com">baruch@shpirer.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">You sure you don’t have some static routing cmds some where?</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Changed subnets and forgot to remove them completely?</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Red Hat/Fedora: inside /etc/sysconfig/network-scripts/route-eth0 file</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Debian Linux: inside /etc/network/interface file</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal">
<span style="font-size:11.0pt;color:#1F497D">Using ip forwarding?</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Baruch</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:linux-il-bounces@cs.huji.ac.il" target="_blank">linux-il-bounces@cs.huji.ac.il</a> [mailto:<a href="mailto:linux-il-bounces@cs.huji.ac.il" target="_blank">linux-il-bounces@cs.huji.ac.il</a>] <b>On Behalf Of </b>Hetz Ben Hamo<br>
<b>Sent:</b> Monday, February 14, 2011 12:33<br><b>To:</b> linux-il<br><b>Subject:</b> weird network issue</span></p></div><div><div></div><div class="h5"><p class="MsoNormal"> </p><div><p class="MsoNormal">Hi,</p><div><p class="MsoNormal">
</p></div><div><p class="MsoNormal">I'm getting some really weird error, even though the network on the machine works well.</p></div><div><p class="MsoNormal">When I'm doing: "service network restart" or "ifup eth0", I'm getting a message: RTNETLINK answers: Network is unreachable.</p>
</div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">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..</p></div>
<div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">Looking at /var/log/messages, all I see is:</p></div><div><p class="MsoNormal"> </p></div><div><div><p class="MsoNormal">Feb 14 13:23:00 testing23 kernel: eth0: intr type 2, mode 0, 1 vectors allocated</p>
</div><div><p class="MsoNormal">Feb 14 13:23:00 testing23 kernel: eth0: NIC Link is Up 10000 Mbps</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">Here is my ifcfg-eth0 (it's a virtual machine, so the check_link stuff is what vmware added)</p>
</div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">DEVICE=eth0</p></div><div><p class="MsoNormal">ONBOOT=yes</p></div><div><p class="MsoNormal">USERCTL=no</p></div><div><p class="MsoNormal">BOOTPROTO=none</p>
</div><div><p class="MsoNormal">NETMASK=255.255.255.224</p></div><div><p class="MsoNormal">IPADDR=82.XXX.XXX.203</p></div><div><p class="MsoNormal">PEERDNS=no</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">
check_link_down() {</p></div><div><p class="MsoNormal">return 1;</p></div><div><p class="MsoNormal">}</p></div><div><p class="MsoNormal">HWADDR=00:50:56:a3:00:18</p></div><div><p class="MsoNormal">GATEWAY=82.XXX.XXX.193</p>
</div><div><p class="MsoNormal">TYPE=Ethernet</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">Any suggestions?</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">Thanks,</p></div>
<div><p class="MsoNormal">Hetz</p></div><div><p class="MsoNormal"> </p></div></div></div></div></div><p class="MsoNormal">!DSPAM:4d59062714471211119814! </p></div></div></blockquote></div><br>
</div></div>