OpenVZ Forum


Home » General » Support » Please help for my first vps 1 : "arpsend: unknown iface vps-net_add..." 2: "not netw
Please help for my first vps 1 : "arpsend: unknown iface vps-net_add..." 2: "not netw [message #32343] Fri, 01 August 2008 14:28 Go to next message
incredibile10 is currently offline  incredibile10
Messages: 4
Registered: August 2008
Junior Member
Hello everyone,
first of all sorry for my English ... Sad i am using google translate .... Embarassed i hope to make me understand....


I tried to read other posts but I was not able to resolve..Crying or Very Sad

Operating System: Ubuntu 8.04 lts desktop

Kernel: 2.6.24-19-openvz i686

vzctl: vzctl version 3.0.22

for install the kernel i followed this guide

https://help.ubuntu.com/community/OpenVZ

I created two ve
with the Template ubuntu-8.04-i386-minimal.tar.gz:
ve 101 ip 10.0.0.101
ve 102 ip 10.0.0.102

but the command sudo vzctl start 101 or sudo vzctl start 102

returns:
Starting VE ...
VE is mounted
Adding IP address(es): 10.0.0.101
arpsend: unknown iface vps-net_add : No such device
vps-net_add WARNING: arpsend -c 1 -w 1 -D -e 10.0.0.101 vps-net_add FAILED
arpsend: unknown iface WARNING: : No such device
vps-net_add WARNING: arpsend -c 1 -w 1 -D -e 10.0.0.101 WARNING: FAILED
arpsend: unknown iface Device : No such device
vps-net_add WARNING: arpsend -c 1 -w 1 -D -e 10.0.0.101 Device FAILED
arpsend: unknown iface list : No such device
vps-net_add WARNING: arpsend -c 1 -w 1 -D -e 10.0.0.101 list FAILED
arpsend: unknown iface is : No such device
vps-net_add WARNING: arpsend -c 1 -w 1 -D -e 10.0.0.101 is FAILED
arpsend: unknown iface empty : No such device
vps-net_add WARNING: arpsend -c 1 -w 1 -D -e 10.0.0.101 empty FAILED
cat: /proc/sys/net/ipv4/conf/vps-net_add/proxy_arp: No such file or directory
[: 42: 0: unexpected operator
cat: /proc/sys/net/ipv4/conf/WARNING:/proxy_arp: No such file or directory
[: 42: 0: unexpected operator
cat: /proc/sys/net/ipv4/conf/Device/proxy_arp: No such file or directory
[: 42: 0: unexpected operator
cat: /proc/sys/net/ipv4/conf/list/proxy_arp: No such file or directory
[: 42: 0: unexpected operator
cat: /proc/sys/net/ipv4/conf/is/proxy_arp: No such file or directory
[: 42: 0: unexpected operator
cat: /proc/sys/net/ipv4/conf/empty/proxy_arp: No such file or directory
[: 42: 0: unexpected operator
arpsend: unknown iface vps-net_add : No such device
vps-net_add WARNING: arpsend -c 1 -w 1 -U -i 10.0.0.101 -e 10.0.0.101 vps-net_add FAILED
arpsend: unknown iface WARNING: : No such device
vps-net_add WARNING: arpsend -c 1 -w 1 -U -i 10.0.0.101 -e 10.0.0.101 WARNING: FAILED
arpsend: unknown iface Device : No such device
vps-net_add WARNING: arpsend -c 1 -w 1 -U -i 10.0.0.101 -e 10.0.0.101 Device FAILED
arpsend: unknown iface list : No such device
vps-net_add WARNING: arpsend -c 1 -w 1 -U -i 10.0.0.101 -e 10.0.0.101 list FAILED
arpsend: unknown iface is : No such device
vps-net_add WARNING: arpsend -c 1 -w 1 -U -i 10.0.0.101 -e 10.0.0.101 is FAILED
arpsend: unknown iface empty : No such device
vps-net_add WARNING: arpsend -c 1 -w 1 -U -i 10.0.0.101 -e 10.0.0.101 empty FAILED
Setting CPU units: 1000
Configure meminfo: 65536
Set hostname: test
File resolv.conf was modified
VE start in progress...


what's the problem? how can I solve?

The second problem is the network and the Internet connection...

ping host:

incredibile10@ubuntu:~$ ping -c 2 www.google.com

PING www.l.google.com (74.125.39.99) 56(84) bytes of data.
64 bytes from fx-in-f99.google.com (74.125.39.99): icmp_seq=1 ttl=243 time=50.8 ms
64 bytes from fx-in-f99.google.com (74.125.39.99): icmp_seq=2 ttl=243 time=51.5 ms

--- www.l.google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 50.892/51.236/51.581/0.412 ms

incredibile10@ubuntu:~$ ping -c 2 10.0.0.101

PING 10.0.0.101 (10.0.0.101) 56(84) bytes of data.
64 bytes from 10.0.0.101: icmp_seq=1 ttl=64 time=0.145 ms
64 bytes from 10.0.0.101: icmp_seq=2 ttl=64 time=0.110 ms

--- 10.0.0.101 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.110/0.127/0.145/0.020 ms

incredibile10@ubuntu:~$ ping -c 2 10.0.0.102

PING 10.0.0.102 (10.0.0.102) 56(84) bytes of data.
64 bytes from 10.0.0.102: icmp_seq=1 ttl=64 time=0.147 ms
64 bytes from 10.0.0.102: icmp_seq=2 ttl=64 time=0.113 ms

--- 10.0.0.102 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.113/0.130/0.147/0.017 ms

Ping Ve:

incredibile10@ubuntu:~$ sudo vzctl exec 101 ping -c 2 www.google.com
ping: unknown host www.google.com

incredibile10@ubuntu:~$ sudo vzctl exec 101 ping -c 2 10.0.0.102
PING 10.0.0.102 (10.0.0.102) 56(84) bytes of data.
64 bytes from 10.0.0.102: icmp_seq=1 ttl=64 time=0.154 ms
64 bytes from 10.0.0.102: icmp_seq=2 ttl=64 time=0.120 ms

--- 10.0.0.102 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.120/0.137/0.154/0.017 ms

incredibile10@ubuntu:~$ sudo vzctl exec 102 ping -c 2 www.google.com
ping: unknown host www.google.com

incredibile10@ubuntu:~$ sudo vzctl exec 102 ping -c 2

10.0.0.101PING 10.0.0.101 (10.0.0.101) 56(84) bytes of data.
64 bytes from 10.0.0.101: icmp_seq=1 ttl=64 time=0.159 ms
64 bytes from 10.0.0.101: icmp_seq=2 ttl=64 time=0.118 ms

--- 10.0.0.101 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.118/0.138/0.159/0.023 ms


ping from ve to host

ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1003ms

possible i put a nameserver wrong?

please help me Crying or Very Sad


sorry again for English Embarassed












Re: Please help for my first vps 1 : "arpsend: unknown iface vps-net_add..." 2: "not [message #32348 is a reply to message #32343] Fri, 01 August 2008 14:50 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

1. You hit the bug which is fixed in next vzctl release (not yet released...). To work around it, set
NEIGHBOUR_DEVS=all
in /etc/vz/vz.conf

2. You probably need to set up nameserver in VE. Easiest way is to copy /etc/resolv.conf from host to VE, or running vzctl set $VEID --nameserver x.x.x.x --save, where x.x.x.x is the value of 'nameserver' in /etc/resolv.conf on your host.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Please help for my first vps 1 : "arpsend: unknown iface vps-net_add..." 2: "not [message #32352 is a reply to message #32343] Fri, 01 August 2008 17:29 Go to previous messageGo to next message
incredibile10 is currently offline  incredibile10
Messages: 4
Registered: August 2008
Junior Member
Thanks for help!!!

...i did as you said...

problem 1:

command sudo vzctl start 101 answered as the first

we can work equally ?

problem 2:

internet connection does not work by ve...

Ping Ve:

incredibile10@ubuntu:~$ sudo vzctl exec 101 ping -c 2 www.google.com
ping: unknown host www.google.com

ping from ve to host

incredibile10@ubuntu:~$ sudo vzctl exec 101 ping -c 2 127.0.1.1
PING 127.0.1.1 (127.0.1.1) 56(84) bytes of data.
64 bytes from 127.0.1.1: icmp_seq=1 ttl=64 time=0.073 ms
64 bytes from 127.0.1.1: icmp_seq=2 ttl=64 time=0.065 ms

--- 127.0.1.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.065/0.069/0.073/0.004 ms

ip Host taken from /etc/hosts is ok?







Re: Please help for my first vps 1 : "arpsend: unknown iface vps-net_add..." 2: "not [message #32354 is a reply to message #32352] Fri, 01 August 2008 17:34 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

incredibile10 wrote on Fri, 01 August 2008 21:29

Thanks for help!!!

...i did as you said...

problem 1:

command sudo vzctl start 101 answered as the first

we can work equally ?


Please provide an output of /sbin/ip addr list executed on the host system.

Quote:

problem 2:

internet connection does not work by ve...

Ping Ve:

incredibile10@ubuntu:~$ sudo vzctl exec 101 ping -c 2 www.google.com
ping: unknown host www.google.com


Can you ping the nameserver from inside a VE?

Quote:


ping from ve to host

incredibile10@ubuntu:~$ sudo vzctl exec 101 ping -c 2 127.0.1.1
PING 127.0.1.1 (127.0.1.1) 56(84) bytes of data.
64 bytes from 127.0.1.1: icmp_seq=1 ttl=64 time=0.073 ms
64 bytes from 127.0.1.1: icmp_seq=2 ttl=64 time=0.065 ms

--- 127.0.1.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.065/0.069/0.073/0.004 ms



This is not host, this is loopback interface. Your host should have a normal IP address.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Please help for my first vps 1 : "arpsend: unknown iface vps-net_add..." 2: "not [message #32355 is a reply to message #32343] Fri, 01 August 2008 17:51 Go to previous messageGo to next message
incredibile10 is currently offline  incredibile10
Messages: 4
Registered: August 2008
Junior Member
incredibile10@ubuntu:~$ /sbin/ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:03:0d:18:d2:00 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::203:dff:fe18:d200/64 scope link 
       valid_lft forever preferred_lft forever
3: wmaster0: <BROADCAST,MULTICAST> mtu 1500 qdisc ieee80211 qlen 1000
    link/ieee802.11 00:90:4b:8c:86:d4 brd ff:ff:ff:ff:ff:ff
4: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:90:4b:8c:86:d4 brd ff:ff:ff:ff:ff:ff
5: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1492 qdisc pfifo_fast qlen 3
    link/ppp 
    inet 87.10.178.24 peer 192.168.100.1/32 scope global ppp0
6: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue 
    link/void 


ping the nameserver from inside a VE

root@test:/# ping -c 2 85.37.17.46
PING 85.37.17.46 (85.37.17.46) 56(84) bytes of data.

--- 85.37.17.46 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1006ms

root@test:/# ping -c 2 85.38.28.84
PING 85.38.28.84 (85.38.28.84) 56(84) bytes of data.

--- 85.38.28.84 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 999ms


ping from ve to host

root@test:/# ping -c 2 87.10.178.24
PING 87.10.178.24 (87.10.178.24) 56(84) bytes of data.
64 bytes from 87.10.178.24: icmp_seq=1 ttl=64 time=0.103 ms
64 bytes from 87.10.178.24: icmp_seq=2 ttl=64 time=0.072 ms

--- 87.10.178.24 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.072/0.087/0.103/0.018 ms



Re: Please help for my first vps 1 : "arpsend: unknown iface vps-net_add..." 2: "not [message #32416 is a reply to message #32343] Wed, 06 August 2008 20:52 Go to previous message
incredibile10 is currently offline  incredibile10
Messages: 4
Registered: August 2008
Junior Member
Hello,
i removed the previous ve:

ve 101 ip 10.0.0.101
ve 102 ip 10.0.0.102

i created 2 new ve:

ve 101 ip 192.168.1.101
ve 102 ip 192.168.1.102

and the first problem is solved:

incredibile10@ubuntu:~$ sudo vzctl start 102
Starting VE ...
VE is mounted
Adding IP address(es): 192.168.1.102
Setting CPU units: 1000
Configure meminfo: 65536
Set hostname: test2
VE start in progress...

but ve not connect to the Internet...I can not configure Sad

incredibile10@ubuntu:~$ sudo vzctl exec 101 ping -c 2 www.google.com
ping: unknown host www.google.com


HOST


incredibile10@ubuntu:~$ [B]route -n[/B]
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.100.1   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
192.168.1.102   0.0.0.0         255.255.255.255 UH    0      0        0 venet0
192.168.1.101   0.0.0.0         255.255.255.255 UH    0      0        0 venet0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 ppp0


incredibile10@ubuntu:~$ [B]ifconfig[/B]
eth0      Link encap:Ethernet  HWaddr 00:03:0d:18:d2:00  
          inet addr:192.168.1.11  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::203:dff:fe18:d200/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:67823 errors:0 dropped:0 overruns:0 frame:0
          TX packets:57812 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:61111447 (58.2 MB)  TX bytes:7193091 (6.8 MB)
          Interrupt:18 Base address:0xd800 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2300 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2300 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:116052 (113.3 KB)  TX bytes:116052 (113.3 KB)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:82.57.114.43  P-t-P:192.168.100.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:12442 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12180 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:3393927 (3.2 MB)  TX bytes:989731 (966.5 KB)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:209 errors:0 dropped:0 overruns:0 frame:0
          TX packets:73 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:14788 (14.4 KB)  TX bytes:6300 (6.1 KB)

wlan0     Link encap:Ethernet  HWaddr 00:90:4b:8c:86:d4  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wmaster0  Link encap:UNSPEC  HWaddr 00-90-4B-8C-86-D4-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


[B]/etc/network/interfaces[/B]

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface

#iface eth0 inet dhcp

auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider dsl-provider

#iface eth0 inet dhcp

#auto eth0

auto eth0
iface eth0 inet static
        address 192.168.1.11
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.1.255



VE

root@test:/# [B]route -n[/B]
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.0.2.1       0.0.0.0         255.255.255.255 UH    0      0        0 venet0
0.0.0.0         192.0.2.1       0.0.0.0         UG    0      0        0 venet0

root@test:/# [B]ifconfig[/B]
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:18 errors:0 dropped:0 overruns:0 frame:0
          TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1568 (1.5 KB)  TX bytes:2904 (2.8 KB)

venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:192.168.1.101  P-t-P:192.168.1.101  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1


 etc/network/interfaces


# This configuration file is auto-generated.
# WARNING: Do not edit this file, otherwise your changes will be lost.
# Please edit template /etc/network/interfaces.template instead.


# Auto generated interfaces
auto lo
iface lo inet loopback

auto venet0
iface venet0 inet static
	address 127.0.0.1
	netmask 255.255.255.255
	broadcast 0.0.0.0
	up route add -net 192.0.2.1 netmask 255.255.255.255 dev venet0
	up route add default gw 192.0.2.1
auto venet0:0
iface venet0:0 inet static
	address 192.168.1.101
	netmask 255.255.255.255
	broadcast 0.0.0.0



host is connected to the Internet with modem ethernet

please help me Crying or Very Sad






Previous Topic: VZAdmin Control Panel?
Next Topic: SSH for vps
Goto Forum:
  


Current Time: Sat May 04 03:10:03 GMT 2024

Total time taken to generate the page: 0.01717 seconds