Hugues <[email protected]> writes:

> Thanks
> Do you have a idea to solve this problem ?
> Something low level, like
>
> echo "xxxxx  xxx xxx xxx " > /proc/net/route directly in host server ?

IIUC this is how you get to a container's /proc without the container's
restrictions.  (The backticks yield the pid of the container's init.)

r...@omega:~# cat /proc/1/net/route
Iface   Destination     Gateway         Flags   RefCnt  Use     Metric  Mask    
        MTU     Window  IRTT
br-managed      009BA8C0        00000000        0001    0       0       0       
00FFFFFF        0       0       0
br-managed      00000000        149BA8C0        0003    0       0       100     
00000000        0       0       0
r...@omega:~# cat /proc/`pgrep init | sed -n 2p`/root/proc/1/net/route
Iface   Destination     Gateway         Flags   RefCnt  Use     Metric  Mask    
        MTU     Window  IRTT
managed 009BA8C0        00000000        0001    0       0       0       
00FFFFFF        0       0       0
managed 00000000        149BA8C0        0003    0       0       100     
00000000        0       0       0


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to