Añadir Rutas en Linux (Centos 7)
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 0.0.0.0 UG 0 0 0 eth0
route del -net 169.254.0.0/16
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
route add -net 0.0.0.0/0 dev eth0
route add default gw X.X.X.X dev eth0
route -n
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 158.69.249.254 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 eth0
Listo.
Comentarios
Publicar un comentario