next up previous
Next: ULOG Up: Installing and administrating PFC Previous: Installing and administrating PFC

VNET

VNET is the module that tags packets with the xid of the slice that generate them. It is implemented mainly in the xt_MARK extension of iptables. The following rule enables VNET:


\begin{lstlisting}
-A POSTROUTING -j MARK -copy-xid 0x0
\end{lstlisting}

To verify if VNET is active:


\begin{lstlisting}[root@planetlab-7 ] ...

The reference count on the xt_MARK module should be 2 - accounting for one reference each for incoming and outgoing packets. Without this rule, all packets will be accounted to root.



2008-09-23