- Connecting different VLANs
- By using Router on a stick
- It is also called inter vlan routing.
- Switch Port Security
- When the security is placed and the user tries to connect to that port
- Three violations:
- Shutdown port
- Restrict the port (Limited Internet Access)
- Protect - restrict the port and logs all the details such as MAC Address, Name
- Port security can be implemented only on switch, but not on router.
- Shutdown the ports which are unused
- int range f0/1-10
- shutdown
- to shutdown all ports from 1 to 10
- to enable port security
- int f0/1
- switchport port-security maximum 1
- 1 means 1 device
- 1 mac address allowed
- switchport port-security mac-address 0001.421C.751C
- switchport port-security violation shutdown
- If switch automatically shuts down the port due to violation, the port needs to be opened manually through the switch
- shutdown
- no shutdown
- switchport port-security mac-address sticky
- the first device that access will be the mac address that will be set permanently.
- Router has limited amount of ports
- so the interface will be divided into the sub interface ports in Router on a stick
- Make sure the switch is in trunk mode which is sending the data of different vlan
- when first configuring the router, the interface
- no ip address
- no shutdown
- int g 0/0.1
- encapsulation dot1Q 1 - to get the data of VLAN 1
- ip address 192.168.1.1 255.255.255.0
- setting the IP address of the gateway
Recent Pastes