A method performed by a device for determining and implementing an optimized traffic plan for a network, the method comprising: receiving, by the device, network data associated with the network, wherein the network includes a peer network with a plurality of network devices interconnected by links; determining, by the device, traffic and costs associated with the network based on the network data; determining, by the device, traffic assignments for the network based on the traffic and the costs associated with the network, wherein the traffic assignments indicate assignments of the traffic associated with the network to one or more tunnels and peer links to be utilized for the network; determining, by the device, tunnel use for the network based on the traffic assignments for the network, wherein the tunnel use indicates a quantity of tunnels to be utilized for the network; determining, by the device, peer link use for the network based on the tunnel use for the network, wherein the peer link use indicates a quantity of peer links to be utilized for the network; determining, by the device, costs associated with the traffic assignments, the tunnel use, and the peer link use for the network; generating, by the device, traffic plans based on the traffic assignments, the tunnel use, the peer link use, and the costs associated with the traffic assignments, the tunnel use, and the peer link use, wherein the traffic plans include information identifying the traffic assignments, the tunnel use, the peer link use, and the costs associated with the traffic assignments, the tunnel use, and the peer link use; identifying a traffic plan, of the traffic plans, that minimizes costs associated with operating the network as compared to the other traffic plans; and causing, by the device, the traffic plan to be implemented in the network by the plurality of network devices and the links. receiving, by the device, network data associated with the network, wherein the network includes a peer network with a plurality of network devices interconnected by links; determining, by the device, traffic and costs associated with the network based on the network data; determining, by the device, traffic assignments for the network based on the traffic and the costs associated with the network, wherein the traffic assignments indicate assignments of the traffic associated with the network to one or more tunnels and peer links to be utilized for the network; determining, by the device, tunnel use for the network based on the traffic assignments for the network, wherein the tunnel use indicates a quantity of tunnels to be utilized for the network; determining, by the device, peer link use for the network based on the tunnel use for the network, wherein the peer link use indicates a quantity of peer links to be utilized for the network; determining, by the device, costs associated with the traffic assignments, the tunnel use, and the peer link use for the network; generating, by the device, traffic plans based on the traffic assignments, the tunnel use, the peer link use, and the costs associated with the traffic assignments, the tunnel use, and the peer link use, wherein the traffic plans include information identifying the traffic assignments, the tunnel use, the peer link use, and the costs associated with the traffic assignments, the tunnel use, and the peer link use; identifying a traffic plan, of the traffic plans, that minimizes costs associated with operating the network as compared to the other traffic plans; and causing, by the device, the traffic plan to be implemented in the network by the plurality of network devices and the links.