OpenVZ Forum


Home » General » Support » Please help for my first vps 1 : "arpsend: unknown iface vps-net_add..." 2: "not netw
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






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


Current Time: Fri Sep 27 17:20:34 GMT 2024

Total time taken to generate the page: 0.04190 seconds