ip dhcp pool valn2
network 172.16.0.0 255.255.255.0
default-router 172.16.0.1
!
ip dhcp pool valn3
network 172.16.1.0 255.255.255.0
default-router 172.16.1.1
!
ip dhcp pool vlan5
network 192.168.0.0 255.255.255.0
default-router 192.168.0.1
!
ip dhcp pool vlan6
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
interface FastEthernet0/0
description transit
ip address 192.168.7.1 255.255.255.0
duplex half
!
interface FastEthernet1/0
no ip address
duplex auto
speed auto
!
interface FastEthernet1/0.2
encapsulation dot1Q 2
ip address 172.16.0.1 255.255.255.0
!
interface FastEthernet1/0.3
encapsulation dot1Q 3
ip address 172.16.1.1 255.255.255.0
!
interface FastEthernet1/1
no ip address
duplex auto
speed auto
!
interface FastEthernet1/1.5
encapsulation dot1Q 5
ip address 192.168.0.1 255.255.255.0
!
interface FastEthernet1/1.6
encapsulation dot1Q 6
ip address 192.168.1.1 255.255.255.0
!
interface FastEthernet2/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet3/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet3/1
no ip address
shutdown
duplex auto
speed auto
!
S* 0.0.0.0/0 [1/0] via 192.168.7.2
172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
C 172.16.0.0/24 is directly connected, FastEthernet1/0.2
L 172.16.0.1/32 is directly connected, FastEthernet1/0.2
C 172.16.1.0/24 is directly connected, FastEthernet1/0.3
L 172.16.1.1/32 is directly connected, FastEthernet1/0.3
192.168.0.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.0.0/24 is directly connected, FastEthernet1/1.5
L 192.168.0.1/32 is directly connected, FastEthernet1/1.5
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/24 is directly connected, FastEthernet1/1.6