<!DOCTYPE html> <html> <head> </head> <body> <p>Visualizzare la configurazione con il comando > <strong>export</strong><br /><strong>Per aggiungere una rotta</strong>: <br />ip route<br />add distance=1 dst-address=185.54.81.0/24 gateway=185.54.80.30<br />ipv6 route<br />add distance=1 dst-address=2a02:4460:1::/48 gateway=2a02:4460::30</p> <p><strong>Per rimuovere una rotta</strong>:<br />/ip route remove [find dst-address="185.54.83.0/24"]<br />Anche se restituisce l'errore: <em>failure: can remove only static routes</em> , la rotta viene comunque rimossa. Verificare con il comando <em>export</em><br /><br /><strong>Per rimuovere la default route:</strong><br />Cercare le rotte statiche esistenti sotto <strong>/ip route</strong> <strong><br /></strong>Per rimuovere l'eventuale default <strong>gw</strong> sotto <strong>/ip route</strong> <br />(che ha il seguente formato): add distance=1 gateway=185.54.80.1<br />eseguire il comando: <strong>ip route remove 0</strong><br />Per mostrare le rotte attuali: <strong>ip route print <br /><br /></strong><br /><br /></p> </body> </html>
Subscribe
0 Comments
Oldest