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

BRIDGE MODE AND NAT MODE AP

  BOTH BRIDGE MODE AND NAT MODE ARE WAYS TO CONFIGURE AN ACCESS POINT (AP) TO EXTEND A NETWORK, BUT THEY DIFFER IN HOW THEY HANDLE IP ADDRESSES AND NETWORK TRAFFIC: BRIDGE MODE: CONCEPT: ACTS AS A TRANSPARENT BRIDGE, SIMPLY RELAYING DATA BETWEEN WIRED AND WIRELESS DEVICES. IP ADDRESS: DEVICES OBTAIN THEIR IP ADDRESSES FROM AN UPSTREAM DHCP SERVER, TYPICALLY THE MAIN ROUTER ON THE NETWORK. NETWORK TRAFFIC: ALL DEVICES, BOTH WIRED AND WIRELESS, ARE SEEN AS PART OF THE SAME NETWORK AND CAN DIRECTLY COMMUNICATE WITH EACH OTHER. BENEFITS: SEAMLESS ROAMING: DEVICES CAN EFFORTLESSLY SWITCH BETWEEN APS WITHOUT LOSING THEIR IP ADDRESS OR CONNECTION. SIMPLIFIED NETWORK MANAGEMENT: ALL DEVICES ARE ON THE SAME SUBNET, MAKING CONFIGURATION AND TROUBLESHOOTING EASIER. INCREASED COMPATIBILITY: WORKS WITH DEVICES THAT DON'T SUPPORT NAT TRAVERSAL (E.G., SOME VPN CLIENTS). DRAWBACKS: LESS SECURITY : ALL DEVICES ARE DIRECTLY EXPOSED TO EACH OTHER, POTENTIALLY INCREAS

What Is A Ip Excluded Address

  AN IP EXCLUDED ADDRESS IS AN IP ADDRESS THAT HAS BEEN CONFIGURED ON A DHCP SERVER TO BE EXCLUDED FROM THE POOL OF ADDRESSES THAT CAN BE ASSIGNED TO DHCP CLIENTS.  THIS IS TYPICALLY DONE TO RESERVE IP ADDRESSES FOR SPECIFIC DEVICES, SUCH AS PRINTERS, SERVERS, OR OTHER NETWORK DEVICES THAT NEED TO HAVE A STATIC IP ADDRESS. IP EXCLUDED ADDRESSES CAN ALSO BE USED TO PREVENT DHCP CLIENTS FROM RECEIVING IP ADDRESSES THAT ARE ALREADY IN USE BY OTHER DEVICES ON THE NETWORK.  THIS CAN HELP TO AVOID IP ADDRESS CONFLICTS AND IMPROVE NETWORK PERFORMANCE. TO CONFIGURE AN IP EXCLUDED ADDRESS ON A DHCP SERVER, YOU WILL NEED TO KNOW THE IP ADDRESS THAT YOU WANT TO EXCLUDE. ONCE YOU HAVE THE IP ADDRESS, YOU CAN USE THE APPROPRIATE DHCP SERVER CONFIGURATION COMMANDS TO ADD THE IP ADDRESS TO THE EXCLUSION LIST. SOME EXAMPLES OF WHEN YOU MIGHT WANT TO USE IP EXCLUDED ADDRESSES: TO RESERVE AN IP ADDRESS FOR A SPECIFIC DEVICE, SUCH AS A PRINTER OR SERVER. TO PREVENT DHCP CLIENTS FROM RECEIVING I

DOS AND DDOS ATTACK

A Dos (Denial-Of-Service) Attack and A DDOS (Distributed Denial-Of-Service) Attack Are Both Attempts to Make a Computer System or Network Resource Unavailable to Legitimate Users. However, They Differ in How They Achieve This: Dos Attack: Imagine A Single Person Throwing Rocks at A Castle Gate. A This Person Represents the Attacker, And the Rocks Represent the Malicious Traffic. The Castle Gate Represents the Target System or Network Resource. The Attacker Keeps Throwing Rocks, Trying to Overwhelm the Gate's Defenses and Gain Entry. Dos Attacks Are Typically Launched from A Single System. They Can Be Effective Against Small Systems or Networks, But Larger Systems Can Often Withstand Them. DDos Attack: Imagine An Army Throwing Rocks at A Castle Gate. This Army Represents the Attacker, And the Rocks Represent the Malicious Traffic. The Castle Gate Represents the Target System or Network Resource. The Attackers Coordinate Their Attack, Throwing Rocks from Multiple Directions at Once.