Quando tento realizar as configurações no roteador a tela cli é essa % Configuring IP routing on a LAN subinterface is only allowed if that subinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q, or ISL vLAN.
Router(config-subif)#ip address 172.16.0.1 255.255.254.0
% Configuring IP routing on a LAN subinterface is only allowed if that
subinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q,
or ISL vLAN.
Router(config-subif)#exit
Router(config)#interface Fa0/0.2
Router(config-subif)#ip address 172.16.2.1 255.255.254.0
% Configuring IP routing on a LAN subinterface is only allowed if that
subinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q,
or ISL vLAN.
Router(config-subif)#
Os IPs nas máquitas não são distribuidos corretamente, ficam todos com faixa 169.xx.xx.xx