Anyagok és hírek a nagyvilágból

IT világ

IT világ

Frame Relay, PPP, NAT overloading (PAT), GRE tunnels

2023. február 08. - itanyagok

Frame Relay, PPP with CHAP, NAT overloading (PAT), GRE tunnels

Frame Relay "teljes háló"
"Beágyazás"/encapsulation bekapcsolása
R1(config)#int s0/0/0 (példa; az a serial port, ahonnan a konfigurálást végezzük)
R1(config)#encapsulation frame-relay
"Feltérképezni egy másik router útvonalát broadcast kulcsszóval"
R1(config)#int s0/0/0
R1(config)#frame-relay map ip -a kívánt eszköz (másik hálózat) serial

interfészének a címe, amit összekötnénk- -DLCI map kód a másik eszköz serial-
jához-

[DLCI -> data-link connection identifier]
példa: R1(config)#int s0/0/0
R1(config)#frame-relay map ip 10.0.0.1 301 broadcast
példa2: R1(config)#int s0/0/0
R1(config)#frame-relay map ip 10.0.0.2 302 broadcast

LMI típus beállítása
LMI is a set of signalling standards between routers and frame relay switches.
Communication takes place between a router and the first frame relay switch to
which it is connected. Information about keepalives, global addressing, IP
multicast and the status of virtual circuits is commonly exchanged using LMI.
Frame Relay uses the Local Management Interface (LMI) protocol to manage
each physical access link and the PVCs that use that link.

R1(config)#frame-relay lmi-type -típus-
példa: R1(config)#frame-relay lmi-type ansi

!!! Three LMI options are available: ansi, Cisco, and q933a
GRE tunnel/csatorna konfigolása

A Generic Routing Encapsulation (GRE) tunnel is ideal for forwarding internet-
bound traffic from your corporate network to the Zscaler service. GRE is a

tunneling protocol for encapsulating packets inside a transport protocol. A GRE-
capable router encapsulates a payload packet inside a GRE packet.

R1(config)#int tunnel 0

R1(config)#tunnel source -konfigolt eszköz (local interface) serial port-
R1(config)#tunnel destination -a remote eszköz serial ip címe, amit összekötnénk-
R1(config)#ip address -a konfigolt eszköz remote-tal összekötött csatornájának [itt

tunnel 0] ip címe és maszkja-
példa:

R1(config)#int tunnel 0
R1(config)# tunnel source s0/0/0
R1(config)#tunnel destination 10.0.0.1
R1(config)#ip address 192.168.1.6 255.255.255.252

PPP with CHAP beállítása
PPP (Point-to-Point Protocol) PPP (Point-to-Point Protocol) is a protocol for
communication between two computers using a serial interface, typically a
personal computer connected by phone line to a server.
R1(config)#int -konfigolt eszköz serialja, amit a feladat kér [pl. Internet felé]-
R1(config-if)#encapsulation ppp
R1(config-if)#ppp authentication chap
R1(config-if)#exit

R1(config)#username -router neve- password -jelszó-
példa:

R1(config)#int s0/0/1
R1(config-if)#encapsulation ppp
R1(config-if)#ppp authentication chap
R1(config-if)#exit
R1(config)#username ISP password cisco
NAT konfigurálása (részletesebben a külön NAT-os tételben)
Feladat: Configure NAT to share the public IP address configured on interface
s0/0/1 with the entire class A private range.
- Configure access-list 1 for use with NAT.
- Identify the inside and outside interfaces.

R1(config)#access-list 1 permit -hálózat címe- -wildcard maszk-
R1(config)#ip nat inside source list -lista neve- interface -interfész neve

példa:
R1(config)#access-list 1 permit 10.0.0.0 0.255.255.255
R1(config)#ip nat inside source list 1 interface s0/0/1
Interfészek beállítása:
R1(config)#int s0/0/1
R1(config-if)#ip nat outside
R1(config)#int s0/0/0
R1(config-if)#ip nat inside

süti beállítások módosítása