Notice: La funzione wp_enqueue_script è stata richiamata in maniera scorretta. Gli script e gli stili non dovrebbero essere registrati o accodati prima degli hook wp_enqueue_scripts, admin_enqueue_scripts, o login_enqueue_scripts. Questo avviso è stato attivato dall'handle nfd_wpnavbar_setting. Leggi Debugging in WordPress per maggiori informazioni. (Questo messaggio è stato aggiunto nella versione 3.3.0.) in /home2/sbkpzrmy/public_html/wp-includes/functions.php on line 6078

Warning: Cannot modify header information - headers already sent by (output started at /home2/sbkpzrmy/public_html/wp-includes/functions.php:6078) in /home2/sbkpzrmy/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home2/sbkpzrmy/public_html/wp-includes/functions.php:6078) in /home2/sbkpzrmy/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home2/sbkpzrmy/public_html/wp-includes/functions.php:6078) in /home2/sbkpzrmy/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home2/sbkpzrmy/public_html/wp-includes/functions.php:6078) in /home2/sbkpzrmy/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home2/sbkpzrmy/public_html/wp-includes/functions.php:6078) in /home2/sbkpzrmy/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home2/sbkpzrmy/public_html/wp-includes/functions.php:6078) in /home2/sbkpzrmy/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home2/sbkpzrmy/public_html/wp-includes/functions.php:6078) in /home2/sbkpzrmy/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home2/sbkpzrmy/public_html/wp-includes/functions.php:6078) in /home2/sbkpzrmy/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
{"id":179,"date":"2019-06-20T21:48:35","date_gmt":"2019-06-20T19:48:35","guid":{"rendered":"https:\/\/www.alessandrovita.com\/?p=179"},"modified":"2023-01-03T22:35:08","modified_gmt":"2023-01-03T21:35:08","slug":"connessione-internet-dedicata-lan","status":"publish","type":"post","link":"https:\/\/www.alessandrovita.com\/connessione-internet-dedicata-lan\/","title":{"rendered":"Una connessione internet dedicata ad ogni lan"},"content":{"rendered":"
\n
\n
\n

Introduzione<\/span><\/h2>\n

In questa pratica guida scopriremo come si gestiscono due o pi\u00f9 reti lan dedicando ad ognuna una connessione internet sfruttando un solo dispositivo hardware.<\/span><\/p>\n

Un esempio di questa realt\u00e0 la si pu\u00f2 trovare all\u2019interno di un hotel. Infatti in genere si trova una rete interna e un\u2019altra rete dedicata al wifi dei clienti.<\/span><\/p>\n

Come hardware \u00e8 necessario un mini pc con almeno 4 schede di rete. In quest\u2019articolo viene considerato come sistema operativo Debian o altre distro.<\/span><\/p>\n

In realt\u00e0, per chi possiede delle conoscenze pi\u00f9 avanzate, \u00e8 sufficiente anche solo 3 interfacce. E\u2019 necessario impostare la porta lan in trunk, ma serve anche uno switch compatibile.<\/span><\/p>\n

Per raggiungere tale obiettivo \u00e8 necessario creare tante tabelle di routing quante sono le connessioni internet da gestire. Inoltre \u00e8 indispensabile aggiungere dei comandi nelle impostazioni delle schede di rete da far eseguire in automatico.<\/span><\/p>\n

Situazione ipotetica<\/span><\/h2>\n

Supponiamo di trovarci in questa situazione come nella seguente immagine.<\/span><\/p>\n

\"schema<\/p>\n

Ed abbiamo i seguinti indirizzi sulle schede di rete:<\/span><\/p>\n