OpenVZ Forum


Home » General » Support » VE did't have NETWORK
VE did't have NETWORK [message #14703] Fri, 06 July 2007 15:30 Go to next message
artiflo is currently offline  artiflo
Messages: 1
Registered: July 2007
Junior Member
Hello,

I have a newb problems Smile

My VE can't must see my network but from my network I must ping both IP.

I have a fresh debian 4.0 install.

HN : 192.168.34.50
VE : 192.168.202.227


Ping from VE
root@goebbels:/#ping 192.168.34.50
PING 192.168.34.50 (192.168.34.50) 56(84) bytes of data.

--- xxx.xxx.34.50 ping statistics ---
10 packets transmitted, 0 received, 100% packet loss, time 9007ms


cat /proc/version
Linux version 2.6.18-openvz-12-1etch1-686 () (ola@concrete) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Sat May 5 00:26:59 CEST 2007


cat /etc/network/interfaces
auto eth0
iface eth0 inet static
        address 192.168.34.50
        netmask 255.255.255.0
        network 192.168.34.0
        broadcast 192.168.34.255
        gateway 192.168.34.1

auto eth0:0
iface eth0:0 inet static
        address 192.168.202.227
        netmask 255.255.255.224
        network 192.168.202.224
        broadcast 192.168.202.255


ip a l
2: lo: <LOOPBACK,UP,10000> 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
4: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:40:63:e7:ac:66 brd ff:ff:ff:ff:ff:ff
    inet 192.168.34.50/24 brd 192.168.34.255 scope global eth0
    inet 192.168.202.227/27 brd 192.168.202.255 scope global eth0:0
    inet6 fe80::240:63ff:fee7:ac66/64 scope link
       valid_lft forever preferred_lft forever
6: sit0: <NOARP> mtu 1480 qdisc noop
    link/sit 0.0.0.0 brd 0.0.0.0
7: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,10000> mtu 1500 qdisc noqueue link/void


ip r l
192.168.202.227 dev venet0  scope link  src 88.191.34.50
192.168.202.224/27 dev eth0  proto kernel  scope link  src 192.168.202.227
192.168.34.0/24 dev eth0  proto kernel  scope link  src 192.168.34.50
default via xxx.xxx.34.1 dev eth0


ip rule list
0:      from all lookup 255
32766:  from all lookup main
32767:  from all lookup default

[Updated on: Fri, 06 July 2007 16:43]

Report message to a moderator

Re: VE did't have NETWORK [message #14822 is a reply to message #14703] Wed, 11 July 2007 10:06 Go to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello,

I see, that you have created sub-interface eth0:0 with the same IP that VE owns! This is a mistake. You should not do that.

HTH,
Vasily.
Previous Topic: *SOLVED* Question about the right kernel download
Next Topic: *SOLVED* Can OVZ & VMware exist on same HN?
Goto Forum:
  


Current Time: Mon Aug 12 00:29:57 GMT 2024

Total time taken to generate the page: 0.02885 seconds