Skip to main content

Different Vlan Communicate On Internet

 

DIFFERENT VLAN'S COMMUNCATION ON THE INTERNET. AND ALL THE VLAN ASSIGN DIFFERENT IP ADDRESS.




    GO TO MAIN SWITCH AND ENTER COMMANDS


CREAT A VLAN ON CISCO SWITCH

Switch(config)#  vlan 10

Switch(config)#  name it

Switch(config)#   vlan 20

Switch(config)#  name sale

ASSIGN IP ADDRESS ON VLAN'S

Switch(config)#  inter vlan 10

Switch(config)#  ip address 192.168.2.1 255.255.255.0

Switch(config)#   no shutdown

Switch(config)#    inter vlan 20

Switch(config)#   ip address 192.168.0.1 255.255.2555.0

Switch(config)#   no shutdown

Switch(config)#  inter vlan 1

Switch(config)#  ip address 192.168.100.20 255.255.255.0

Switch(config)#   no shutdown

IMPLEMENT ROUTING

Switch(config)#   ip routing

Switch(config)#   router rip

Switch(config)#     network 192.168.0.0

Switch(config)#     network 192.168.100.0

Switch(config)#    network 192.168.2.0

Switch(config)#   ip route 0.0.0.0 0.0.0.0 192.168.100.1

CONFIGURE INTERFACE TRUNK

Switch(config)#    inter fa0/1

Switch(config)#   switchport mode access

Switch(config)#    switchport mode trunk


   GO TO OFFICE ROUTER


Router(config)#  inter gig0/1

Router(config)#  ip address 192.168.100.1 255.255.255.0

Router(config)#  no shutdown

Router(config)#  inter gig0/1

Router(config)#   ip address 1.1.1.1 255.0.0.0

Router(config)#   no shutdown

IMPLEMENT ROUTING

Router(config)#  router rip

Router(config)#  network 1.1.1.0

Router(config)#   ip route 0.0.0.0 0.0.0.0 192.168.100.20

IMPLEMENT DYNAMIC NAT

Router(config)#   ip nat pool manan 1.1.1.1 1.1.1.1 netmask 255.0.0.0

Router(config)#  access-list 1 permit any

Router(config)#  ip nat inside source list 1 pool manan overload

APPLY NAT ON INTERFACES OF OFFICE ROUTER

Router(config)#  inter gig0/1

Router(config)#  ip nat outside

Router(config)#   inter gig0/0

Router(config)#   ip nat inside


   GO TO ISP ROUTER 


Router(config)#  inter gig0/0

Router(config)#  ip address 1.1.1.2 255.0.0.0

Router(config)#   no shutdown

Router(config)#  inter gig0/1

Router(config)#  ip address 100.100.100.1 255.0.0.0

Router(config)#   no shutdown


   GO TO ALL PC'S AND SERVER ASSIGN IP ADDRESS WITHIN A DEFAULT GATEWAY.

  AND CHECK COMMUNICATION BETWEEN THEM.

  


Comments

Popular posts from this blog

About Me Information

HELLO FRIENDS, I HOPE YOU ALL ARE DOING WELL. I AM MAKING THIS BLOG FOR THE INFORMATION OF NETWORKING ABOUT. IN THIS BLOG WE WILL READ CCNA (200-301) AND ITS RELATED AND NETWORK RELATED INFORMATION. MY NAME IS ABDUL MANAN JAVED MANJ MY AGE IS 21 YEAR    I AM STUDED ABOUT NETWORK  TECHNOLOGY EMAIL ID : mananrajpoot449@gmail.com CONTACT NO : +923486777628 ADDRESS : ISLAMABAD,G7,KHADA MARKET My Website   My Facebook Account My Facebook Page My Linkedin Profile _____________________________ CONTENT ABOUT  HIS BLOGG 1.  Computer Network 2.   What Is Internet 3.   Network Architecture 4.  Osi Refrence Model 5.  Operating System 6.  Internet Protocol (Ip) 7.  Internet Protocol Types 8.   Port Number 9.  Mac-Address 10.    WHAT IS HUB 11.   WHAT IS SWITCH 12.   WHAT IS ROUTER 13.   WHAT IS NETWORK 14.   NETWORK CABLES 15.   ROUTING 16.  Data Transmission 17...

TCP/IP MODEL

  HISTORY OF TCP/IP MODEL THE TCP/IP MODEL WAS DEVELOPED BY VINT CERF AND BOB KAHN IN THE 1970S. THEY WERE BOTH WORKING AT THE DEFENSE ADVANCED RESEARCH PROJECTS AGENCY (DARPA) AT THE TIME. Vint Cerf And Bob Kahn CERF AND KAHN WERE TASKED WITH DEVELOPING A NEW NETWORK PROTOCOL THAT WOULD BE MORE RELIABLE AND EFFICIENT THAN THE EXISTING PROTOCOLS. THEY CAME UP WITH THE IDEA OF USING A LAYERED APPROACH, WHICH WOULD ALLOW EACH LAYER TO FOCUS ON A SPECIFIC TASK. THIS LED TO THE DEVELOPMENT OF THE TCP/IP MODEL, WHICH IS STILL THE BASIS FOR HOW DATA IS TRANSMITTED OVER THE INTERNET TODAY. CERF AND KAHN ARE OFTEN REFERRED TO AS THE "FATHERS OF THE INTERNET" FOR THEIR WORK ON THE TCP/IP MODEL. THEY WERE INDUCTED INTO THE NATIONAL INVENTORS HALL OF FAME IN 2004 FOR THEIR CONTRIBUTIONS TO THE DEVELOPMENT OF THE INTERNET. HERE ARE SOME OTHER NOTABLE PEOPLE WHO CONTRIBUTED TO THE DEVELOPMENT OF THE TCP/IP MODEL: JON POSTEL: POSTEL WAS THE FIRST CHAIRMAN OF THE INTERNET ENGINEERI...

CSST COURSE 1.0

Q1. WHAT IS A ADDRESSING. Network addressing is like a two-part delivery system:   Logical Addressing (IP): This is like your permanent address (e.g., 192.168.1.1) that lets data find your device anywhere on the internet. Physical Addressing (MAC): Think of this as a unique ID for your device's network card (AA:BB:CC:DD:EE:FF) used for local delivery within your network. Q2. WHAT IS A PACKET AND FRAME . Packets: Layer: Network Layer (Layer 3) Content: The actual data you want to send, like an email, a video, or website information. Addressing: Contains logical addresses (IP addresses) to identify the sender and receiver on the network. Size: Can vary depending on the data type, but generally larger than frames. Travels across networks: Packets can travel across different networks, like the internet, as they are routed based on IP addresses. Frames: Layer: Data Link Layer (Layer 2) Content: The packet wrapped with additional information for local deliver...