L3 switch softwafe design