Assign IP within VE [message #49265] |
Mon, 15 April 2013 21:03  |
semir
Messages: 13 Registered: April 2013 Location: Magyarország
|
Junior Member |
|
|
Hi,
I am able to assign IP address ot venet from inside the CT. 10.0.0.88 was not assigned to any CT before.
[root@git /]# ip addr add 10.00.0.88 dev venet0:0
[root@git /]# ping 10.0.0.32
PING 10.0.0.32 (10.0.0.32) 56(84) bytes of data.
64 bytes from 10.0.0.32: icmp_seq=1 ttl=63 time=466 ms
64 bytes from 10.0.0.32: icmp_seq=2 ttl=63 time=0.399 ms
64 bytes from 10.0.0.32: icmp_seq=3 ttl=63 time=0.470 ms
Though OpenVZ wiki writes:
"No possiblity to assign an IP from the CT
With venet device, only OpenVZ hardware node administrator can assign an IP address to a container."
"Venet drop ip-packets from the container with a source address, and in the container with the destination address, which is not corresponding to an ip-address of the container."
So? Does venet drop the packages or should I have the FORWARD chain on the host default to drop?
Is this behaviour normal?
Thank you!
Bests,
Semir
|
|
|
|
|
|
|
|
|
|
|
|