Jump to content

11th Lecture - Networking


k2s

Recommended Posts

Configuration;

[b] Allowing internal users to access internet[/b]

Assuming, you want NAT to allow certain devices (the first 31 from each subnet) on the inside to originate communication with devices on the outside by translating their invalid address to a valid address or pool of addresses. The pool has been defined as the range of addresses 172.16.10.1 through 172.16.10.63.
[img]http://www.cisco.com/image/gif/paws/13772/12b.gif[/img]

Link to comment
Share on other sites

  • Replies 41
  • Created
  • Last Reply

Top Posters In This Topic

  • k2s

    22

  • Bondu_Babu

    4

  • robo

    3

  • tom bhayya

    3

[quote name='k2s' timestamp='1318286834' post='2969752']
Configuration;

[b] Allowing internal users to access internet[/b]

Assuming, you want NAT to allow certain devices (the first 31 from each subnet) on the inside to originate communication with devices on the outside by translating their invalid address to a valid address or pool of addresses. The pool has been defined as the range of addresses 172.16.10.1 through 172.16.10.63.
[img]http://www.cisco.com/image/gif/paws/13772/12b.gif[/img]
[/quote]

interface ethernet 0
ip address 10.10.10.1 255.255.255.0
ip nat inside
[i]
[color="#0000ff"]!--- Defines Ethernet 0 with an IP address and as a NAT inside interface.[/color]
[/i]

interface ethernet 1
ip address 10.10.20.1 255.255.255.0
ip nat inside
[i]
[color="#0000ff"]!--- Defines Ethernet 1 with an IP address and as a NAT inside interface.[/color]
[/i]

interface serial 0
ip address 172.16.10.64 255.255.255.0
ip nat outside
[i]
[color="#0000ff"]!--- Defines serial 0 with an IP address and as a NAT outside interface.[/color]
[/i]

ip nat pool no-overload 172.16.10.1 172.16.10.63 prefix 24
!
[i]
[color="#0000ff"]!--- Defines a NAT pool named no-overload with a range of addresses
!--- 172.16.10.1 - 172.16.10.63.[/color]
[/i]

ip nat inside source list 7 pool no-overload
!
!
[i]
[color="#0000ff"]!--- Indicates that any packets received on the inside interface that
!--- are permitted by access-list 7 has
!--- the source address translated to an address out of the
!--- NAT pool "no-overload".[/color]
[/i]

access-list 7 permit 10.10.10.0 0.0.0.31
access-list 7 permit 10.10.20.0 0.0.0.31
[i]
[color="#0000ff"]!--- Access-list 7 permits packets with source addresses ranging from
!--- 10.10.10.0 through 10.10.10.31 and 10.10.20.0 through 10.10.20.31.[/color]
[/i]

Link to comment
Share on other sites

[quote name='subba rav' timestamp='1318560978' post='2987046']
What is networking? What does a networking guy do? Where does the end used use his work? Ivvi cheppu bhayya eppudu ayina..
[/quote]

uhmm

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...