weird network issue

weird network issue

Hetz Ben Hamo hetzbh at gmail.com
Mon Feb 14 13:17:39 IST 2011


Damn, How did I miss that?

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 :)

Thanks a lot :)
Hetz

On Mon, Feb 14, 2011 at 1:10 PM, Baruch Shpirer <baruch at shpirer.com> wrote:

>
>
> You sure you don’t have some static routing cmds some where?
>
> Changed subnets and forgot to remove them completely?
>
>
>
> Red Hat/Fedora: inside /etc/sysconfig/network-scripts/route-eth0 file
>
> Debian Linux:  inside /etc/network/interface file
>
>
>
> Using ip forwarding?
>
>
>
> Baruch
>
>
>
> *From:* linux-il-bounces at cs.huji.ac.il [mailto:
> linux-il-bounces at cs.huji.ac.il] *On Behalf Of *Hetz Ben Hamo
> *Sent:* Monday, February 14, 2011 12:33
> *To:* linux-il
> *Subject:* weird network issue
>
>
>
> 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?
>
>
>
> Thanks,
>
> Hetz
>
>
>
> !DSPAM:4d59062714471211119814!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20110214/507919be/attachment-0001.html>


More information about the Linux-il mailing list