You are on page 1of 1

#####SW1#########

vlan database
vlan 10 name Diez
vlan 20 name Veinte
vlan 30 name Treinta
exit
conf t
int range f0/0 - 1
switchport mode trunk
no shut
exit
int range f1/1 - 4
switchport mode access
switchport access vlan 10
no shut
exit
int range f1/5 - 9
switchport mode access
switchport access vlan 20
no shut
exit
int range f1/10 - 15
switchport mode access
switchport access vlan 30
no shut
exit
######UBUNTUSERVER######
conf t
int f0/0
no shut
exit
int f0/0.1
encapsulation dot1Q 10
ip add 10.0.10.1 255.255.255.0
exit
int f0/0.2
encapsulation dot1Q 20
ip add 10.0.20.1 255.255.255.0
exit
int f0/0.3
encapsulation dot1Q 30
ip add 10.0.30.1 255.255.255.0
exit
######R1######
conf t
int f0/0
ip add 192.168.27.193 255.255.255.240
no shut
exit
router rip
version 2
network 192.168.27.192
network 192.168.27.208
exit

You might also like