SlideShare a Scribd company logo
Nat amb 3-VLans
Smix-01
Xarxes
Mario Sanchez
Josep Anton
SMIX MP07
1-Hem de crear un escenari en GNS3 com aquest:
2-Després de crear l'escenari hem de configurar el router amb aquesta
configuració:
interface FastEthernet0/0
no ip address
duplex auto
speed auto
no shutdown
!
interface FastEthernet0/0.16
encapsulation dot1Q 16
ip address 172.16.0.1 255.255.255.0
ip access-group 102 in
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0.20
encapsulation dot1Q 20
ip address 172.20.0.1 255.255.255.0
ip access-group 100 in
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0.30
encapsulation dot1Q 30
ip address 172.30.0.1 255.255.255.0
ip access-group 101 in
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/1
Mario Sanchez Sierra Pag 2 de 10
SMIX MP07
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/0
ip address dhcp
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
no shutdown
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 172.31.0.1
!
ip nat inside source list 1 interface FastEthernet1/0 overload
!
access-list 1 permit 172.20.0.0 0.0.0.255
access-list 1 permit 172.30.0.0 0.0.0.255
access-list 1 permit 172.16.0.0 0.0.0.255
access-list 100 deny ip 172.20.0.0 0.0.0.255 172.30.0.0 0.0.0.255
access-list 100 deny ip 172.20.0.0 0.0.0.255 172.16.0.0 0.0.0.255
access-list 100 permit ip any any
access-list 101 deny ip 172.30.0.0 0.0.0.255 172.20.0.0 0.0.0.255
access-list 101 deny ip 172.30.0.0 0.0.0.255 172.16.0.0 0.0.0.255
access-list 101 permit ip any any
access-list 102 deny ip 172.16.0.0 0.0.0.255 172.20.0.0 0.0.0.255
access-list 102 deny ip 172.16.0.0 0.0.0.255 172.30.0.0 0.0.0.255
access-list 102 permit ip any any
Llavors comprovació:
Mario Sanchez Sierra Pag 3 de 10
SMIX MP07
3-Després hem de configurar el primer switchamb amb la Vlan 16, i posar els
cables troncals.
-Els ports 2,4,5,6,7 porten la Vlan-16.
-El port 0,1,3 els cables són troncals.
4-Ara hem de configurar els Vpcs: NetAdmin (amb la Vlan 16) i SysAdmin (amb
la Vlan 16)
-NetAdmin -Ping NetAdmin
Mario Sanchez Sierra Pag 4 de 10
SMIX MP07
-SysAdmin -Ping SysAdmin
5-Anem l’altre switch amb la Vlan-20
-El port 3 el cable es troncal.
-En els ports 0,1,2,4,5,6,7 posem la Vlan-20
Mario Sanchez Sierra Pag 5 de 10
SMIX MP07
6-En els VPCS Secretari i Director hem de configurar la IP, posant la Vlan-20
-Secretari -Ping Secretari
-Director -Ping Director
7-Ara anem al Switch amb la Vlan-30
Mario Sanchez Sierra Pag 6 de 10
SMIX MP07
Posem el port 1 amb la Vlan 1 troncal, en els altres ports posem la Vlan-30
-El port 1 el cable es troncal
-Els ports 0,2,3,4,5,6,7 posem la Vlan-30
6-En els VPCS Vendes1 i Vendes2 hem de configurar la IP, posant la Vlan-30
-Vendes1 -Ping Vendes1
Mario Sanchez Sierra Pag 7 de 10
SMIX MP07
-Vendes2 -PingVendes2
7-Comprovar que No hi ha comunicació entre departaments
-Ping: De Secretari a Vendes2
Ip Secretari: 172.20.0.25/24
Ip Vendes2: 172.30.0.28/24
-Ping: De Vendes1 a Director
Ip Vendes1: 172.30.0.27/24
Ip Director: 172.20.0.26/24
Mario Sanchez Sierra Pag 8 de 10
SMIX MP07
-Ping: De Director a SysAdmin
Ip Director: 172.20.0.26/24
Ip SysAdmin: 172.16.0.24/24
-Ping: De NetAdmin a Vendes 1
Ip NetAdmin: 172.16.0.23/24
Ip Vendes 1: 172.30.0.27/24
8-Comprovar que Si hi ha comunicació dins dels departaments
-Ping: De Secretari a Director
Ip Secretari: 172.20.0.25/24
Ip Director: 172.20.0.26/24
Mario Sanchez Sierra Pag 9 de 10
SMIX MP07
-Ping: De Vendes1 a Vendes2
Ip Vendes1: 172.30.0.27/24
Ip Vendes2: 172.30.0.28/24
-Ping: De NetAdmin a SysAdmin
Ip NetAdmin: 172.16.0.23/24
Ip SysAdmin: 172.16.0.24/24
Mario Sanchez Sierra Pag 10 de 10

More Related Content

Featured

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
Alireza Esmikhani
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
Project for Public Spaces & National Center for Biking and Walking
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
Erica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Saba Software
 

Featured (20)

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 

Nat amb 3-Vlans

  • 2. SMIX MP07 1-Hem de crear un escenari en GNS3 com aquest: 2-Després de crear l'escenari hem de configurar el router amb aquesta configuració: interface FastEthernet0/0 no ip address duplex auto speed auto no shutdown ! interface FastEthernet0/0.16 encapsulation dot1Q 16 ip address 172.16.0.1 255.255.255.0 ip access-group 102 in ip nat inside ip virtual-reassembly ! interface FastEthernet0/0.20 encapsulation dot1Q 20 ip address 172.20.0.1 255.255.255.0 ip access-group 100 in ip nat inside ip virtual-reassembly ! interface FastEthernet0/0.30 encapsulation dot1Q 30 ip address 172.30.0.1 255.255.255.0 ip access-group 101 in ip nat inside ip virtual-reassembly ! interface FastEthernet0/1 Mario Sanchez Sierra Pag 2 de 10
  • 3. SMIX MP07 no ip address shutdown duplex auto speed auto ! interface FastEthernet1/0 ip address dhcp ip nat outside ip virtual-reassembly duplex auto speed auto no shutdown ! ip forward-protocol nd ip route 0.0.0.0 0.0.0.0 172.31.0.1 ! ip nat inside source list 1 interface FastEthernet1/0 overload ! access-list 1 permit 172.20.0.0 0.0.0.255 access-list 1 permit 172.30.0.0 0.0.0.255 access-list 1 permit 172.16.0.0 0.0.0.255 access-list 100 deny ip 172.20.0.0 0.0.0.255 172.30.0.0 0.0.0.255 access-list 100 deny ip 172.20.0.0 0.0.0.255 172.16.0.0 0.0.0.255 access-list 100 permit ip any any access-list 101 deny ip 172.30.0.0 0.0.0.255 172.20.0.0 0.0.0.255 access-list 101 deny ip 172.30.0.0 0.0.0.255 172.16.0.0 0.0.0.255 access-list 101 permit ip any any access-list 102 deny ip 172.16.0.0 0.0.0.255 172.20.0.0 0.0.0.255 access-list 102 deny ip 172.16.0.0 0.0.0.255 172.30.0.0 0.0.0.255 access-list 102 permit ip any any Llavors comprovació: Mario Sanchez Sierra Pag 3 de 10
  • 4. SMIX MP07 3-Després hem de configurar el primer switchamb amb la Vlan 16, i posar els cables troncals. -Els ports 2,4,5,6,7 porten la Vlan-16. -El port 0,1,3 els cables són troncals. 4-Ara hem de configurar els Vpcs: NetAdmin (amb la Vlan 16) i SysAdmin (amb la Vlan 16) -NetAdmin -Ping NetAdmin Mario Sanchez Sierra Pag 4 de 10
  • 5. SMIX MP07 -SysAdmin -Ping SysAdmin 5-Anem l’altre switch amb la Vlan-20 -El port 3 el cable es troncal. -En els ports 0,1,2,4,5,6,7 posem la Vlan-20 Mario Sanchez Sierra Pag 5 de 10
  • 6. SMIX MP07 6-En els VPCS Secretari i Director hem de configurar la IP, posant la Vlan-20 -Secretari -Ping Secretari -Director -Ping Director 7-Ara anem al Switch amb la Vlan-30 Mario Sanchez Sierra Pag 6 de 10
  • 7. SMIX MP07 Posem el port 1 amb la Vlan 1 troncal, en els altres ports posem la Vlan-30 -El port 1 el cable es troncal -Els ports 0,2,3,4,5,6,7 posem la Vlan-30 6-En els VPCS Vendes1 i Vendes2 hem de configurar la IP, posant la Vlan-30 -Vendes1 -Ping Vendes1 Mario Sanchez Sierra Pag 7 de 10
  • 8. SMIX MP07 -Vendes2 -PingVendes2 7-Comprovar que No hi ha comunicació entre departaments -Ping: De Secretari a Vendes2 Ip Secretari: 172.20.0.25/24 Ip Vendes2: 172.30.0.28/24 -Ping: De Vendes1 a Director Ip Vendes1: 172.30.0.27/24 Ip Director: 172.20.0.26/24 Mario Sanchez Sierra Pag 8 de 10
  • 9. SMIX MP07 -Ping: De Director a SysAdmin Ip Director: 172.20.0.26/24 Ip SysAdmin: 172.16.0.24/24 -Ping: De NetAdmin a Vendes 1 Ip NetAdmin: 172.16.0.23/24 Ip Vendes 1: 172.30.0.27/24 8-Comprovar que Si hi ha comunicació dins dels departaments -Ping: De Secretari a Director Ip Secretari: 172.20.0.25/24 Ip Director: 172.20.0.26/24 Mario Sanchez Sierra Pag 9 de 10
  • 10. SMIX MP07 -Ping: De Vendes1 a Vendes2 Ip Vendes1: 172.30.0.27/24 Ip Vendes2: 172.30.0.28/24 -Ping: De NetAdmin a SysAdmin Ip NetAdmin: 172.16.0.23/24 Ip SysAdmin: 172.16.0.24/24 Mario Sanchez Sierra Pag 10 de 10