search the web

Tuesday, March 15, 2016

Configuring Inter-vlan routing

Configuring Inter-vlan routing


------------------------------------------------------------------
R3
------------------------------------------------------------------
conf t
int e0/0
ip address 192.168.5.1 255.255.255.0
no shut

int e0/0.10
encapsulation dot1q 10
!This command enables the dot1q encapsulation and tells the port that it will handle the data from vlan 10

ip address 192.168.10.1 255.255.255.0
no shut
exit

int e0/0.20
encapsulation dot1q 20
ip address 192.168.20.1 255.255.255.0
no shut
exit

int e0/0.30
encapsulation dot1q 30
ip address 192.168.30.1 255.255.255.0
no shut
exit


No comments: