OpenVZ Forum


Home » General » Support » Assign IP within VE (Why am I able to use ip addr add inside VE?)
Assign IP within VE [message #49265] Mon, 15 April 2013 21:03 Go to previous message
semir is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Forkbomb
Next Topic: /vz/root/1/ or /vz/private/1/ disappeared
Goto Forum:
  


Current Time: Sun Jul 20 09:37:31 GMT 2025

Total time taken to generate the page: 0.09014 seconds