en conf t hostname RIV enable password P@ssw0rd no ip domain-lookup interface FastEthernet0/0 no ip address no shut duplex auto speed auto exit interface FastEthernet0/0.10 encapsulation dot1Q 10 ip address 192.168.240.1 255.255.255.0 exit interface FastEthernet0/0.20 encapsulation dot1Q 20 ip address 192.168.245.1 255.255.255.0 ip helper-address 192.168.240.40 exit interface FastEthernet0/0.30 encapsulation dot1Q 30 ip address 192.168.250.1 255.255.255.0 exit interface FastEthernet0/0.99 encapsulation dot1Q 99 ip address 192.168.255.1 255.255.255.0 exit ip route 0.0.0.0 0.0.0.0 192.168.250.254 line vty 0 4 password P@ssw0rd login exit end