- 8777701917
- info@saikatinfotech.com
- Basirhat W.B
Router Interface Configuration
show ip interface breif
config t
interface fa0/0
ip address dhcp
no shutdown
exit
Default Routing Configuration
config t
ip route 0.0.0.0 0.0.0.0 192.168.1.1
Intervlan Routing Configuration
config t
interface fa0/0.10 <VLAN ID 10 Subinterfaces >
encapsulation dot1q 10
ip address 10.10.10.1 255.255.255.0
no shutdown
exit
config t
interface fa0/0.20
encapsulation dot1q 20
ip address 10.10.20.1 255.255.255.0
no shutdown
exit
config t
interface fa0/0.30
encapsulation dot1q 30
ip address 10.10.30.1 255.255.255.0
no shutdown
exit
DHCP Server Configuration
config t
ip dhcp pool 10 <For VLAN 10>
network 10.10.10.0 255.255.255.0
default router 10.10.10.1
dns-server 8.8.8.8
exit
config t
ip dhcp pool 20
network 10.10.20.0 255.255.255.0
default router 10.10.20.1
dns-server 8.8.8.8
exit
config t
ip dhcp pool 30
network 10.10.30.0 255.255.255.0
default router 10.10.30.1
dns-server 8.8.8.8
exit
NAT Configuration
config t
interface fa0/1 <WAN Interface Outside>
ip nat outside
exit
interface fa0/0.10 <Inside LAN Subinterfaces>
ip nat inside
exit
interface fa0/0.20
ip nat inside
exit
interface fa0/0.30
ip nat inside
exit
ACL Configuration
ip access-list standard local
permit 10.10.10.0 0.0.0.255
permit 10.10.20.0 0.0.0.255
permit 10.10.30.0 0.0.0.255
exit
ip nat inside source list local interfaces fa0/1 overload
Switch Configuartion
config t
interface gig/48
switchport mode trunk
no shutdown
show interface trunk
Create VLAN
config t
vlan 10
name HR
no shut
exit
vlan 20
name IT
no shut
exit
vlan 30
name Sales
no shut
exit
show vlan
Assign Port For VLAN
interface range 0/1-16
switchport mode acces
switchport access vlan 10
interface range 0/17-20
switchport mode acces
switchport access vlan 20
interface range 0/21-25
switchport mode acces
switchport access vlan 30
All Configuration Done