OpenVZ Forum


Home » Mailing lists » Users » VE using wrong IP for outgoing connections
VE using wrong IP for outgoing connections [message #8732] Mon, 04 December 2006 22:38 Go to previous message
Jan Tomasek is currently offline  Jan Tomasek
Messages: 44
Registered: December 2006
Member
Hello,

I just realized that my VEs are is using IP address of HW node for
connections initiated from inside of VE, except of their own. For example:

On physical non-OpenVZ system (195.113.1xx.14) I'm pinging my VE
(195.113.2xx.253):

195.113.1xx.14:~# tcpdump -n icmp &
ldap3:~# ping -c 1 195.113.2xx.253
PING 195.113.2xx.253 (195.113.2xx.253) 56(84) bytes of data.
IP 195.113.1xx.14 > 195.113.2xx.253: icmp 64: echo request seq 1
IP 195.113.2xx.253 > 195.113.1xx.14: icmp 64: echo reply seq 1

tcp still running, now I'm pinging from VE (195.113.2xx.253) to physical
system (195.113.1xx.14):

IP 195.113.2xx.254 > 195.113.1xx.14: icmp 64: echo request seq 1
IP 195.113.1xx.14 > 195.113.2xx.254: icmp 64: echo reply seq 1

But instead of .253 I see there .254 - that is IP of HW node. It is same
with TCP and UDP connections. :(

Is there way how to fix this? I'm googling for a hour with no result,
maybe I'm asking wrong questions, networking isn't my strong area :)
Please can someone direct me to right docs? I'm sure this must be asked
many times in past...

Thanks for any help
--
-----------------------
Jan Tomasek aka Semik
http://www.tomasek.cz/
 
Read Message
Read Message
Previous Topic: mount ext3 file system inside VE
Next Topic: iptables are not working under 2.6.18-028test005.1 in VE
Goto Forum:
  


Current Time: Sun Aug 03 21:48:57 GMT 2025

Total time taken to generate the page: 1.09106 seconds