OpenVZ Forum


Home » General » Support » All routable IP addresses all on the same vlan
Re: All routable IP addresses all on the same vlan [message #25123 is a reply to message #25088] Fri, 14 December 2007 19:49 Go to previous messageGo to previous message
thezeke is currently offline  thezeke
Messages: 5
Registered: December 2007
Junior Member
maratrus wrote on Fri, 14 December 2007 04:59

Hi,

When your VPS starts vzctl add additional route to your route table (to get your VPS) but I can't see it in your case. Let's conduct such experiment:
a) we add it manually:
#ip ro add <VE_IP> dev venet0 src <HN_IP>

<VE_IP> - your VPS ip
<HN_IP> - your HN ip

This returns an error...
[root@sls-ab2p14 ~]# ip ro add 209.160.28.232 dev venet0 src 209.160.40.18
RTNETLINK answers: No such device
[root@sls-ab2p14 ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0E:0C:7F:0E:C7
inet addr:209.160.40.18 Bcast:209.160.47.255 Mask:255.255.248.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7017484 errors:0 dropped:0 overruns:0 frame:0
TX packets:150131 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:886948228 (845.8 MiB) TX bytes:20420162 (19.4 MiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:216 errors:0 dropped:0 overruns:0 frame:0
TX packets:216 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:284460 (277.7 KiB) TX bytes:284460 (277.7 KiB)

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:2833 errors:0 dropped:0 overruns:0 frame:0
TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:237604 (232.0 KiB) TX bytes:1092 (1.0 KiB)

Quote:

b) after this experiment can you ping your VPS from HN and HN from inside the VPS?
c) can you ping your VE from outside?
d) if no. Can you please observe once again is there "arp reply" from you HN when you ping your VPS from the outside or ping your HN from the outside.

I can't do the above tests.
Quote:

2. What version of vzctl do you use?

[root@sls-ab2p14 ~]# vzctl | head -1
vzctl version 3.0.18
Quote:

3. What kernel do you use?

[root@sls-ab2p14 ~]# uname -a
Linux sls-ab2p14.sea2.superbservers.com 2.6.9-023stab044.11 #1 Sun Sep 30 13:30:10 MSD 2007 i686 i686 i386 GNU/Linux
[root@sls-ab2p14 ~]# cat /etc/redhat-release
CentOS release 4.5 (Final)
Quote:

4. What kind of OS template do you use for your VE?

centos-4-i386-default
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* port 3754 routing udp & tcp - doesn't work
Next Topic: how can i update vzctl from 3.0.18 to 3.0.20
Goto Forum:
  


Current Time: Sun Aug 18 10:12:25 GMT 2024

Total time taken to generate the page: 0.02918 seconds