I'm a bit confused on what you want to do (restart the network or configure it?) but to restart the network you must be root and do:
Code:
/etc/init.d/networking restart
configuring the network is another matter.