OpenVZ Forum


Home » General » Support » *SOLVED* Can ping but not connect from a custom template
Re: Can ping but not connect from a custom template [message #23378 is a reply to message #23372] Fri, 16 November 2007 09:10 Go to previous messageGo to previous message
bmaisonn is currently offline  bmaisonn
Messages: 5
Registered: November 2007
Junior Member
Hi,
this is my situation.
I have a process on the HN which tries to communicate with another process placed in my custom VE through a tcp socket using the address 192.168.254.103 and a specific port. This configuration works perfectly with a minimal debian template, but with my template the two processes cannot even connect each other. There is certainly something that I forgot. Is there a special configuration for the loopback interface ?

Here is the result of an "ifconfig" command :

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: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: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: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.254.103  P-t-P:192.168.254.103  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1


And the route configuration :

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
191.255.255.1   *               255.255.255.255 UH    0      0        0 venet0
default         191.255.255.1   0.0.0.0         UG    0      0        0 venet0


Thanks for interest to my problem Razz
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to configure quota
Next Topic: *SOLVED* IP ping works, DNS IP ping doesnt work
Goto Forum:
  


Current Time: Thu Sep 18 12:36:06 GMT 2025

Total time taken to generate the page: 0.05809 seconds