-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathnat.txt
50 lines (49 loc) · 929 Bytes
/
nat.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Router3_2
Enable
Configure terminal
Ip nat pool net-1 5.0.12.1 5.0.12.1 netmask 255.255.255.252
Access-list 1 permit 10.0.0.0 0.0.0.63
ip nat inside source list 1 pool net-1 overload
Interface Gig0/0
Ip nat outside
Exit
Interface Gig0/1
Ip nat inside
End
Router 4_2
Enable
Configure terminal
Ip nat pool net-2 5.0.13.1 5.0.13.1 netmask 255.255.255.252
Access-list 1 permit 10.0.0.0 0.0.1.255
ip nat inside source list 1 pool net-2 overload
Interface Gig0/0
Ip nat outside
Exit
Interface Gig0/1
Ip nat inside
End
Router 2_1
Enable
Configure terminal
Ip nat pool net-2 5.0.1.1 5.0.1.1 netmask 255.255.255.252
Access-list 1 permit 10.0.0.0 0.255.255.255
ip nat inside source list 1 pool net-2 overload
Interface Gig0/0
Ip nat outside
exit
Interface Gig0/1
Ip nat inside
exit
Interface Gig0/1.2
Ip nat inside
exit
Interface Gig0/1.3
Ip nat inside
exit
Interface Gig0/1.4
Ip nat inside
exit
Interface Gig0/1.5
Ip nat inside
exit
End