From a Linux SSH shell, type
/etc/init.d/network restart to restart the network service.
I expect my SSH connection to die since the network service goes down. But it doesn't. Very cool. But how does Linux achieve this? How does it keep my SSH connection alive accross the service restart?