*SOLVED* network problem if I set onboot=yes [message #12275] |
Mon, 23 April 2007 21:03 |
heber
Messages: 10 Registered: April 2007
|
Junior Member |
|
|
Hi all,
I'm getting an weird problem with a VE which I would like to be started automatically on HN boot.
If I start a VE manually I can ping from another machine and I get the following arp command output(10.77.0.111 is the VE's IP):
root@TestOpenVZ:~# arp -a
? (10.77.0.1) at 00:15:C5:33:29:0D [ether] on eth0
notfr77d91.campinas.dba.com.br (10.77.0.161) at 00:14:22:CB:94:41 [ether] on eth0
? (10.77.0.111) at <from_interface> PERM PUB on eth0
But If I use the parameter onboot="yes" I have network problems. The VE works, but I cannot ping from outside. I'd sniffed the network and I realize that the machine from which I'm sending the ping request cannot find out what is the VE's MAC address. And I get in HN:
root@TestOpenVZ:~# arp -a
? (10.77.0.254) at 00:17:9A:6C:C4:AD [ether] on eth0
notfr77d91.campinas.dba.com.br (10.77.0.161) at 00:14:22:CB:94:41 [ether] on eth0
? (10.77.0.1) at 00:15:C5:33:29:0D [ether] on eth0
You can see that there is no entry concerning my VE.
If I restart the VE, the network start working again and I can ping.
I'm using kernel-2.6.15 with patches and vzctl 3.0.16-1dso2~sarge0. I got this using both Fedora and Ubuntu templates.
Any idea?
Thanks a lot and sorry my english
Heber
[Updated on: Wed, 16 May 2007 06:30] by Moderator Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
Re: network problem if I set onboot=yes [message #13148 is a reply to message #12956] |
Mon, 21 May 2007 15:19 |
|
There are a lot of other services which depend on networking being up -- like ssh, apache etc. I have checked (ubuntu feisty fawn) and found none of those explicitly check for networking being up and running. If they do not check it -- why should we?
Kir Kolyshkin
|
|
|