hostname dev3
!
version 16.12.3
!
interface GigabitEthernet0/0
 description <dev2 Gi0/1>
 ip address 10.23.0.3 255.255.255.0
 ip access-group 103 in
 no shutdown
!
interface GigabitEthernet0/1
 description <dev4 Gi0/0>
 ip address 10.34.0.3 255.255.255.0
 no shutdown
!
access-list 103 permit tcp any any eq 53
access-list 103 permit udp any any eq 53
access-list 103 deny ip any any
access-list 103 permit tcp any any eq 10001
access-list 103 permit tcp any any eq 10002
access-list 103 permit tcp any any eq 10003
!
ip route 10.12.0.0 255.255.255.0 10.23.0.2
ip route 10.45.0.0 255.255.255.0 10.34.0.4
!
end
