OpenVZ Forum


Home » General » Support » Gateway 192.0.2.1 with Ubuntu-8.04 and Debian 4.0
Re: Gateway 192.0.2.1 with Ubuntu-8.04 and Debian 4.0 [message #33888 is a reply to message #33876] Tue, 18 November 2008 09:27 Go to previous messageGo to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

actually, if you're only using venet interface it doesn't matter what kind of ip address of default gateway you have inside VE because the next hop is always on the HN, the only important thing is device of the default gateway which should be venet0.

So, you shouldn't have bothered about the ip address of the default gateway.

Use, "vzctl set $VEID --ipadd $IP [--save]" command to add an ip address to your VE.

If it doesn't work (and you've mentioned than some problem occured) please:

1. check sysctl parameters (for example please look at this page
http://wiki.openvz.org/Quick_installation#sysctl)

2. Please show "ip a l", "ip rule list", "ip r l" (from HN and from inside the VE), "arp -n" (from the HN)

3. Or you can use tcpdump utility: run tcpdump on the venet interface inside VE, on the venet interface on the HN, on physical interface on the HN.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* Samba server in VE
Next Topic: shorewall in VE
Goto Forum:
  


Current Time: Sat Sep 13 09:41:46 GMT 2025

Total time taken to generate the page: 0.07504 seconds