Cisco Router (Inter vlan & DHCP Setup)
Main Cisco Router:
step-1
enable
configure terminal
interface gigabitEthernet0/0
no shutdown
exit
Step-2
interface g0/0.10
encapsulation dot1Q 10
ip address 192.168.88.1 255.255.255.192
exit
interface g0/0.20
encapsulation dot1Q 20
ip address 192.168.88.65 255.255.255.192
exit
interface g0/0.30
encapsulation dot1Q 30
ip address 192.168.88.129 255.255.255.192
exit
interface g0/0.40
encapsulation dot1Q 40
ip address 192.168.88.193 255.255.255.192
exit
Dhcp-setup
step-1
enable
configure terminal
ip dhcp excluded-address 192.168.88.1
ip dhcp excluded-address 192.168.88.65
ip dhcp excluded-address 192.168.88.129
ip dhcp excluded-address 192.168.88.193
Step-02
ip dhcp pool VLAN10
network 192.168.88.0 255.255.255.192
default-router 192.168.88.1
dns-server 8.8.8.8
ip dhcp pool VLAN20
network 192.168.88.64 255.255.255.192
default-router 192.168.88.65
dns-server 8.8.8.8
ip dhcp pool VLAN30
network 192.168.88.128 255.255.255.192
default-router 192.168.88.129
dns-server 8.8.8.8
ip dhcp pool VLAN40
network 192.168.88.192 255.255.255.192
default-router 192.168.88.193
dns-server 8.8.8.8
Step-03
end
copy running-config startup-config
Cisco Core Switch:
Core-sw
Step-1
enable
configure terminal
vlan 10
name program
vlan 20
name News
vlan 30
name Admin
vlan 40
name Marketing
exit
step-02
interface f0/1
switchport mode trunk
exit
step-03
interface range fastEthernet0/1 - 9
switchport mode trunk
exit
Program floor Switch:
Configure Command:
enable
config t
vlan 10
exit
int f0/1
switchport mode trunk
exit
Dhcp:
inte f1/1
switchport mode access
switchport access vlan 10
exit
int f2/1
switchport mode access
switchport access vlan 10
exit
int f3/1
switchport mode access
switchport access vlan 10
exit
program Floor(Online):
Command:
enable
config t
vlan 40
exit
int f0/1
switchport mode trunk
exit
Dhcp:
int f6/1
switchport mode access
switchport access vlan 40
exit
int f7/1
switchport mode access
switchport access vlan 40
exit
int f8/1
switchport mode access
switchport access vlan 40
exit
News Floor Switch:
Command:
enable
configure terminal
vlan 20
exit
interface fastEthernet0/1
switchport mode trunk
exit
Dhcp:
interface f0/2
switchport mode access
switchport access vlan 20
exit
interface f0/3
switchport mode access
switchport access vlan 20
exit
interface f0/4
switchport mode access
switchport access vlan 20
exit
interface f0/5
switchport mode access
switchport access vlan 20
exit
Admin Floor Switch:
Command:
enable
config t
vlan 30
exit
int f0/1
switchport mode trunk
exit
Dhcp:
int f0/2
switchport mode access
switchport access vlan 30
exit
int f0/3
switchport mode access
switchport access vlan 30
exit
int f0/4
switchport mode access
switchport access vlan 30
exit
int f0/5
switchport mode access
switchport access vlan 30
exit
Marketing Floor Switch:
Command:
enable
config t
vlan 40
exit
int f0/1
switchport mode trunk
exit
Dhcp:
int f0/2
switchport mode access
switchport access vlan 40
exit
int f0/3
switchport mode access
switchport access vlan 40
exit
int f0/4
switchport mode access
switchport access vlan 40
exit
int f0/5
switchport mode access
switchport access vlan 40
exit
Comments
Post a Comment