Link to home
Start Free TrialLog in
Avatar of tjie
tjieFlag for United States of America

asked on

Access-List: Access to internet #1

Hi,

1) My friend joined a boot camp related to Cisco
2) She made a note of the configuration being made there (but could not explain me clearly for some questions)
3) I would like to get clarification and confirmation for some items.
4) The configuraiton is as the followings:

i) Assign IP address for the ports on R1
R1(config)#int f0/0
R1(config-if)#no shut
R1(config-if)#ip add 192.168.10.1 255.255.255.252
R1(config-if)#int loop 1
R1(config-if)#ip add 1.1.1.1 255.255.255.255
R1(config-if)#exit
R1(config)#int s0/0
R1(config-if)#encap fra
R1(config-if)#no frame-relay inverse-arp
R1(config-if)#no shut
R1(config-if)#int s0/0.102 p
R1(config-subif)#fra int 102
R1(config-fr-dlci)#ip add 172.28.0.81 255.255.255.252
R1(config-subif)#exit
R1(config)#int f0/1
R1(config-if)#no shut
R1(config)# int f0/1.8
R1(config-subif)#encap dot1q 78
R1(config-subif)#ip add 172.28.71.2 255.255.255.252

ii) Config NAT in R1
R1(config)#acc 1 permit 192.168.10.0 0.0.0.3
R1(config)#ip nat pool go2internet 172.28.71.2 172.28.71.2 netmask 255.255.255.252
R1(config)#ip nat inside source list 1 pool go2internet overload
R1(config)#int f0/0
R1(config-if)#ip nat inside
R1(config-if)#int f0/1.8
R1(config-subif)#ip nat outside

iii) Config Static Route on R1 to CoreRTR1
R1(config)#ip route 0.0.0.0 0.0.0.0 172.28.71.1

5) Note:
-No diagram given here ( i hope you can "imagine" or "figure it out")
- This boot camp was executed at a Residential house (Not commercial building); so (i believe) the arrangement should be the same as a typical residential house (I am not sure how many "inside Global addressess" are able to be supplied by the Internet Service Provider)

6) My questions:
- I will ask Now only for "Assign IP address for the Ports on R1"
6a1) " R1(config-if)#ip add 192.168.10.1 255.255.255.252"
- i understood this ip address (192.168.10.1) is an internal IP address, am i right?
- We can use any Ip address for this, such as 192.168.20.1, 192.168.30.1, etc  (same subnet mask), am I right?
6a2) " R1(config-if)#int loop 1"
- What is loopback in the production environment? (or in daily life)
6a3) "R1(config-if)#int loop 1
R1(config-if)#ip add 1.1.1.1 255.255.255.255"
-Why the subnet mask of this loopback is "255.255.255.255"?
-  The subnet mask "255.255.255.255" is for Broadcasting, right?
6a4) " R1(config-if)#no frame-relay inverse-arp"
- What is the goal or function  of this ios command?
6a5) " R1(config-if)#int s0/0.102 p
R1(config-subif)#fra int 102 "
- Are we able to create this sub-interface by these 2 commands only?
- For example, if i want to create the dlci = 105, i will execute these commands only:
R1(config-if)#int s0/0.105 p
R1(config-subif)#fra int 105
Am I right? or i need another EXTRA commands?
6a6) " R1(config-fr-dlci)#ip add 172.28.0.81 255.255.255.252 "
-What is this ip "172.28.0.81"?
-Is it given by the Internet Service Provider?
- Or it is also an internal IP that we can put anything such as 172.28.1.81, 172.28.2.81, etc ....?
6a7) " R1(config)# int f0/1.8 "
-Could we use any number such as int f0/1.4, int f0/1.5 ....etc?
-I believe we use this formula to create the Sub-interface of f0/1, am i right?
- Is there any "accompanying ios command to create this sub-interface of f0/1? If yes, what are they?
6a8) " R1(config-subif)#encap dot1q 78 "
- Per her explanation, each attendee has different number; for example: A uses 18, B uses 28 ........ and she uses 78
-Is it the same as creating a VLAN?
6a9) " R1(config-subif)#ip add 172.28.71.2 255.255.255.252 "
-Is this ip "172.28.71.2" given by ISP or we can use any IP?

7) Thank you

Tjie







ASKER CERTIFIED SOLUTION
Avatar of memo_tnt
memo_tnt
Flag of Palestine, State of image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial