Documente Academic
Documente Profesional
Documente Cultură
enable
configure terminal
hostname R0
interface g0/1
ip address 192.168.1.1 255.255.255.128
no shutdown
interface g0/0
ip address 200.10.10.1 255.255.255.252
no shutdown
exit
ip route 0.0.0.0 0.0.0.0 200.10.10.2
//////////////////////////////
//////////// R1 //////////////
enable
configure terminal
hostname R1
interface g0/0
ip address 200.10.10.2 255.255.255.252
no shutdown
interface s0/0/0
ip address 200.10.10.5 255.255.255.252
no shutdown
interface s0/0/1
ip address 200.10.10.13 255.255.255.252
no shutdown
exit
ip route 0.0.0.0 0.0.0.0 200.10.10.1
router ospf 1
network 200.10.10.4 0.0.0.3 area 0
network 200.10.10.12 0.0.0.3 area 0
default-information originate
exit
//////////////////////////////
//////////// R2 //////////////
enable
configure terminal
hostname R2
interface g0/0
ip address 200.10.10.17 255.255.255.252
no shutdown
interface s0/0/1
ip address 200.10.10.6 255.255.255.252
no shutdown
interface s0/0/0
ip address 200.10.10.9 255.255.255.252
no shutdown
exit
router ospf 1
network 200.10.10.4 0.0.0.3 area 0
network 200.10.10.8 0.0.0.3 area 0
network 200.10.10.16 0.0.0.3 area 0
exit
//////////////////////////////
//////////// R3 ///////////////
enable
configure terminal
hostname R3
interface g0/0
ip address 210.2.3.1 255.255.255.0
no shutdown
interface s0/0/0
ip address 200.10.10.21 255.255.255.252
no shutdown
interface s0/0/1
ip address 200.10.10.10 255.255.255.252
no shutdown
exit
router ospf 1
network 200.10.10.8 0.0.0.3 area 0
network 200.10.10.20 0.0.0.3 area 0
network 210.2.3.0 0.0.0.255 area 0
exit
//////////////////////////////
//////////// R4 //////////////
enable
configure terminal
hostname R4
interface g0/1
ip address 200.10.10.18 255.255.255.252
no shutdown
interface g0/0
router ospf 1
network 200.1.2.0 0.0.0.255 area 0
network 200.10.10.12 0.0.0.3 area 0
network 200.10.10.16 0.0.0.3 area 0
network 200.10.10.20 0.0.0.3 area 0
exit
//////////////////////////////
debug ip nat
show ip nat statistics
show ip nat translations