Re: weird network issue

2011-02-14 Thread Hetz Ben Hamo
Issue already solved, but the removal of check_link doesn't affect it.

Hetz

On Mon, Feb 14, 2011 at 1:21 PM, Dima (Dan) Yasny  wrote:

> If you remove the check link parts, do you keep seeing the issue? Would
> also be nice to try with a different NIC type (e1000 or virtio)
>
> 2011/2/14 Hetz Ben Hamo 
>
>> Hi Omer,
>>
>>
>> On Mon, Feb 14, 2011 at 12:50 PM, Omer Zak  wrote:
>>
>>> 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.)
>>>
>>
>> Nada. eth0, lo - nothing more.
>>
>>
>>> 2. Which Linux distribution is running in the virtual machine?
>>>
>>
>> Centos 5.5 64 bit + updates.
>>
>>
>>>
>>> Google search (rtnetlink answers network is unreachable) yielded the
>>> following possibilities:
>>> - Misconfigured IP address in firewall script.
>>>
>>
>> No new IP addresses were added. Default firewall configuration.
>>
>>
>>> - Network card does not exist (as far as the virtual machine is
>>> concerned).
>>>
>>
>> exists, I'm ssh'ed to this machine as I write this mail :)
>>
>>
>>> - Misconfigured network card.
>>>
>>
>> I posted the configuration here. Looks OK to me.
>>
>>
>>>
>>> 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
>>>
>>> Looked at both of them. Didn't see anything special which could help.
>>
>> Hetz
>>
>> ___
>> Linux-il mailing list
>> Linux-il@cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>>
>


-- 

*חץ בן חמו
חץ-ביז (הוסטינג)
*השכרה ואירוח של שרתים פיזיים
השכרת שרתים וירטואליים מקצועיים וגדולים במחירים *קטנים*
בקרו באתרנו בכתובת hetz.biz  ובבלוג שלנו:
blog.hetz.biz
טלפוןן: 078113/4/5, אימייל: sa...@hetz.biz
מסנג'ר: sa...@hetz.biz - סקייפ: heunique
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: weird network issue

2011-02-14 Thread Omer Zak
h
1. What do the following commands say:
 ifup --version
 ifup --verbose eth0
2. What are the contents of:
 /etc/network/interfaces
   (if it exists - I use Debian Lenny and I am not familiar
with CentOS 5.5)

On Mon, 2011-02-14 at 13:06 +0200, Hetz Ben Hamo wrote:
> Hi Omer,
> 
> On Mon, Feb 14, 2011 at 12:50 PM, Omer Zak  wrote:
> 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.)
> 
> 
> Nada. eth0, lo - nothing more.
>  
> 2. Which Linux distribution is running in the virtual machine?
> 
> 
> Centos 5.5 64 bit + updates.
>  
> 
> Google search (rtnetlink answers network is unreachable)
> yielded the
> following possibilities:
> - Misconfigured IP address in firewall script.
> 
> 
> No new IP addresses were added. Default firewall configuration.
>  
> - Network card does not exist (as far as the virtual machine
> is
> concerned).
> 
> 
> exists, I'm ssh'ed to this machine as I write this mail :)
>  
> - Misconfigured network card.
> 
> 
> I posted the configuration here. Looks OK to me.
>  
> 
> 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
> 
> 
> Looked at both of them. Didn't see anything special which could help.
> 
> 
> Hetz
-- 
Every good master plan involves building a time machine.  Moshe Zadka
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


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: weird network issue

2011-02-14 Thread Dima (Dan) Yasny
If you remove the check link parts, do you keep seeing the issue? Would also
be nice to try with a different NIC type (e1000 or virtio)

2011/2/14 Hetz Ben Hamo 

> Hi Omer,
>
> On Mon, Feb 14, 2011 at 12:50 PM, Omer Zak  wrote:
>
>> 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.)
>>
>
> Nada. eth0, lo - nothing more.
>
>
>> 2. Which Linux distribution is running in the virtual machine?
>>
>
> Centos 5.5 64 bit + updates.
>
>
>>
>> Google search (rtnetlink answers network is unreachable) yielded the
>> following possibilities:
>> - Misconfigured IP address in firewall script.
>>
>
> No new IP addresses were added. Default firewall configuration.
>
>
>> - Network card does not exist (as far as the virtual machine is
>> concerned).
>>
>
> exists, I'm ssh'ed to this machine as I write this mail :)
>
>
>> - Misconfigured network card.
>>
>
> I posted the configuration here. Looks OK to me.
>
>
>>
>> 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
>>
>> Looked at both of them. Didn't see anything special which could help.
>
> Hetz
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: weird network issue

2011-02-14 Thread Hetz Ben Hamo
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  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-boun...@cs.huji.ac.il [mailto:
> linux-il-boun...@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 1 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:4d5906271447129814!
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


RE: weird network issue

2011-02-14 Thread Baruch Shpirer
 

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-boun...@cs.huji.ac.il [mailto:linux-il-boun...@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 1 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:4d5906271447129814! 

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: weird network issue

2011-02-14 Thread Hetz Ben Hamo
CentOS 5.5 64 bit + updates (without rpmforge)
VMWare ESXi 4.1

Hetz

On Mon, Feb 14, 2011 at 1:08 PM, Tom Goren  wrote:

> Which distro/arch for the guest and what hypervisor/version?
>
>
>
> 2011/2/14 Hetz Ben Hamo 
>
>> No new firewall rules, new machine, default rules.
>>
>> Hetz
>>
>>
>> On Mon, Feb 14, 2011 at 12:41 PM, Dotan Shavit wrote:
>>
>>>  Any if-pre-up rule?
>>>
>>> #
>>>
>>>
>>> On 02/14/2011 12:32 PM, 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 1 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
>>>
>>>
>>> ___
>>> Linux-il mailing list
>>> linux...@cs.huji.ac.ilhttp://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>>
>>>
>>
>>
>> ___
>> Linux-il mailing list
>> Linux-il@cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: weird network issue

2011-02-14 Thread Tom Goren
Which distro/arch for the guest and what hypervisor/version?



2011/2/14 Hetz Ben Hamo 

> No new firewall rules, new machine, default rules.
>
> Hetz
>
>
> On Mon, Feb 14, 2011 at 12:41 PM, Dotan Shavit  wrote:
>
>>  Any if-pre-up rule?
>>
>> #
>>
>>
>> On 02/14/2011 12:32 PM, 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 1 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
>>
>>
>> ___
>> Linux-il mailing list
>> linux...@cs.huji.ac.ilhttp://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>>
>
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: weird network issue

2011-02-14 Thread Hetz Ben Hamo
Hi Omer,

On Mon, Feb 14, 2011 at 12:50 PM, Omer Zak  wrote:

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

Nada. eth0, lo - nothing more.


> 2. Which Linux distribution is running in the virtual machine?
>

Centos 5.5 64 bit + updates.


>
> Google search (rtnetlink answers network is unreachable) yielded the
> following possibilities:
> - Misconfigured IP address in firewall script.
>

No new IP addresses were added. Default firewall configuration.


> - Network card does not exist (as far as the virtual machine is
> concerned).
>

exists, I'm ssh'ed to this machine as I write this mail :)


> - Misconfigured network card.
>

I posted the configuration here. Looks OK to me.


>
> 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
>
> Looked at both of them. Didn't see anything special which could help.

Hetz
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: weird network issue

2011-02-14 Thread Hetz Ben Hamo
Hi,

I Checked them both prior posting to this list. I don't see any issues with
what mentioned.

Hetz

On Mon, Feb 14, 2011 at 12:44 PM, Dima (Dan) Yasny  wrote:

> google seems to find quite a lot of hits for the error, most of them sum up
> to "misconfigured ETH"
>
> 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
>
> 2011/2/14 Hetz Ben Hamo 
>
>> 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 1 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
>>
>>
>> ___
>> Linux-il mailing list
>> Linux-il@cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>>
>


-- 

*חץ בן חמו
חץ-ביז (הוסטינג)
*השכרה ואירוח של שרתים פיזיים
השכרת שרתים וירטואליים מקצועיים וגדולים במחירים *קטנים*
בקרו באתרנו בכתובת hetz.biz  ובבלוג שלנו:
blog.hetz.biz
טלפוןן: 078113/4/5, אימייל: sa...@hetz.biz
מסנג'ר: sa...@hetz.biz - סקייפ: heunique
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: weird network issue

2011-02-14 Thread Hetz Ben Hamo
No new firewall rules, new machine, default rules.

Hetz

On Mon, Feb 14, 2011 at 12:41 PM, Dotan Shavit  wrote:

>  Any if-pre-up rule?
>
> #
>
>
> On 02/14/2011 12:32 PM, 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 1 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
>
>
> ___
> Linux-il mailing list
> linux...@cs.huji.ac.ilhttp://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: weird network issue

2011-02-14 Thread Omer Zak
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 1 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


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: weird network issue

2011-02-14 Thread Dotan Shavit

Any if-pre-up rule?

#

On 02/14/2011 12:32 PM, 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 1 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


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: weird network issue

2011-02-14 Thread Dima (Dan) Yasny
google seems to find quite a lot of hits for the error, most of them sum up
to "misconfigured ETH"
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

2011/2/14 Hetz Ben Hamo 

> 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 1 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
>
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


weird network issue

2011-02-14 Thread Hetz Ben Hamo
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 1 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
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il