Riverstone-networks WICT1-12 Manuel d'utilisateur Page 492

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 718
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 491
21-6 Riverstone Networks RS Switch Router User Guide Release 8.0
Configuration Examples Network Address Translation Configuration
2.
Next, define the interfaces to be NAT “inside” or “outside”:
3.
Then, define the NAT static rules:
Using Static NAT
Static NAT can be used when the local and global IP addresses are to be bound in a fixed manner. These bindings never
get removed nor time out until the static NAT command itself is negated. Static binding is recommended when you
have a need for a permanent type of binding.
The other use of static NAT is when the out to in traffic is the first to initialize a connection, i.e., the first packet is
coming from outside to inside. This could be the case when you have a server in the local network and clients located
remotely. Dynamic NAT would not work for this case as bindings are always created when an in to out Internet
connection occurs. A typical example is a web server inside the local network, which could be configured as follows:
This server, 10.1.1.2, is advertised as 192.50.20.2 to the external network.
nat set interface 10-net inside
nat set interface 192-net outside
nat create static protocol ip local-ip 10.1.1.2 global-ip 192.50.20.2
nat create static protocol tcp local-ip 10.1.1.2 global-ip 192.50.20.2 local-port 80
global-port 80
Vue de la page 491
1 2 ... 487 488 489 490 491 492 493 494 495 496 497 ... 717 718

Commentaires sur ces manuels

Pas de commentaire