OpenVZ Forum


Home » General » Support » HowTo route/use a public IP to a VE ?
Re: HowTo route/use a public IP to a VE ? [message #36313 is a reply to message #36309] Tue, 09 June 2009 05:51 Go to previous messageGo to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

you've read useful articles.
Did you follow instructions described there?
There are some things which are not described there but which you did by yourself.

1.
Quote:


2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether 00:19:db:d5:83:5e brd ff:ff:ff:ff:ff:ff
inet 85.31.186.103/23 brd 85.31.187.255 scope global eth0
inet 91.143.83.160/24 brd 91.143.83.255 scope global eth0:0



2.
Quote:


# ip r l && ip a l
91.143.83.160 dev venet0 scope link
192.168.0.101 dev veth101.0 scope link
91.143.83.0/24 dev eth0 proto kernel scope link src 91.143.83.160
85.31.186.0/23 dev eth0 proto kernel scope link src 85.31.186.103
default via 85.31.186.1 dev eth0 src 91.143.83.168
default via 85.31.186.1 dev eth0 src 91.143.83.160
default via 85.31.186.1 dev eth0



3. Assign NEIGHBOUR_DEVS variable to "all" in /etc/vz/vz.conf file.

There are a lot of redundant settings that are not needed in case of venet0 configuration. I'd recommend you to do it from scratch only following the instructions described in articles. Thank you.
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Openfiler?
Next Topic: [solved] openvz and shorewall
Goto Forum:
  


Current Time: Sat Aug 30 17:16:49 GMT 2025

Total time taken to generate the page: 0.22759 seconds