#on router 1

hostname R1
int f1/0
ip address 196.10.0.1 255.255.255.0
bandwidth 128
no shutdown
int f1/1
ip address 196.20.0.1 255.255.255.0
bandwidth 128
no shutdown
int f0/0
ip address 156.10.0.1 255.255.255.0
no shutdown
router eigrp 1
network 196.10.0.0
network 196.20.0.0
network 156.10.0.0
no auto-summary

#on router 2

hostname R2
int f1/0
ip address 196.10.0.2 255.255.255.0
bandwidth 128
no shutdown
int f1/1
ip address 196.30.0.1 255.255.255.0
bandwidth 64
no shutdown
int f0/0
ip address 166.10.0.1 255.255.255.0
no shutdown"
router eigrp 1
network 196.10.0.0
network 196.30.0.0
network 166.10.0.0
no auto-summary

#on router 3

hostname R3
int f1/0
ip address 196.20.0.2 255.255.255.0
bandwidth 128
no shutdown
int f1/1
ip address 196.30.0.2 255.255.255.0
bandwidth 64
no shutdown
int se3/0
ip address 176.10.0.1 255.255.255.0
bandwidth 64
no shutdown

# PBR
ip access-list standard PBR-PC3
permit 186.10.0.0 0.0.0.255
exit
route-map PBR permit 10
match ip address PBR-PC3
set ip next-hop 196.20.0.1
exit
int se3/0
ip policy route-map PBR

# EIGRP
router eigrp 1
network 196.20.0.0
network 196.30.0.0
network 176.10.0.0
no auto-summary


#on router 4

hostname R4
int se3/0
ip address 176.10.0.2 255.255.255.0
bandwidth 64
no shutdown
int f0/0
ip address 186.10.0.1 255.255.255.0
no shutdown
router eigrp 1
network 176.10.0.0
network 186.10.0.0
no auto-summary