Moving the router inside a container isolates the routing functions, solves issues with non-routable IPs and wrong outgoing addresses on multihomed routers, and simplifies the firewall setup. With multiple ISPs, services may choose the wrong outgoing IP and commands like ping require parameters. Moving the router to its own container solves this by separating routing from other services so they always select the correct routes. This involves creating a new network namespace, connecting it to the host with a veth pair, moving Ethernet interfaces into the namespace, and starting routing processes like BGP inside the namespace.