ROUTER VS SWITCHES code example Example: router vs switch switch connect hosts, router connects switches to networks beyond