Solved

Access-List: Access to internet #1

Posted on 2009-07-12
1
252 Views
Last Modified: 2012-05-07
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







0
Comment
Question by:tjie
1 Comment
 
LVL 16

Accepted Solution

by:
memo_tnt earned 500 total points
ID: 24837625
hi
6) My questions:
6a1)
- I will ask Now only for "Assign IP address for the Ports on R1"
- 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?
>>>>>  yes yes yes  <<<<<

6a2) >>>> basically it's a logical interface used if any physical interface went down ,, then you can reach the router through it ...
6a3) 'cuz it's a single IP ,,, no need to assign large subnet,,
6a4) check this link :: http://cauew.blogspot.com/2008/05/frame-relay-inverse-arp.html
6a5) yes you can create interfaces as you want ...
but it's different than the DLCI interface.. and the link explain more about this issue ..
6a6) this represents the WAN IP,, and in real life it's almost a real IP,, but it's virtual in the camp 'cuz it's a LAB..
-Is it given by the Internet Service Provider?  >>>>yes<<<
6a7) -Could we use any number such as int f0/1.4, int f0/1.5 ....etc?  >>yes you can<<
-I believe we use this formula to create the Sub-interface of f0/1, am i right? this used when you have two subnets in the network or you have VLANs
6a8) it's a number can be anything
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? >>yes yes yes <<<<


7) You are Welcome

Br
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now