The first tricky question. The fist part is obvious, network statements need to be applied under the EIGRP process. The second part of the question, that only Vlan2, Vlan3 and Vlan4 should be advertised by EIGRP could possibly throw a curve ball. A solution to the question that comes to mind is to use three statements e.g:
network 183.0.2.0
network 183.0.3.0
network 183.0.4.0
However, this address is a Class B address and since no mask was specified EIGRP will default to the classful address:
Rack1SW2#sh run | beg router eigrp
router eigrp 2
network 183.0.0.0
no auto-summary
This will break the restriction that only Vlan 2 – 4 should be advertised because this clusful address will also advertise Loopback 0 in EIGRP. The solution is to add the mask:
Rack1SW2(config)#router eigrp 2
Rack1SW2(config-router)#net 183.0.2.0 0.0.0.255
Rack1SW2(config-router)#net 183.0.3.0 0.0.0.255
Rack1SW2(config-router)#net 183.0.4.0 0.0.0.255
Ofcourse the interface address could be used with a 0.0.0.0 mask.
Verify that neighbors are up;
Rack1SW2#sh ip eigrp neighbors
EIGRP-IPv4 neighbors for process 2
H Address Interface Hold Uptime SRTT RTO Q Seq
2 183.0.4.4 Vl4 14 00:01:33 5 200 0 8
1 183.0.3.3 Vl3 14 00:01:36 16 200 0 10
0 183.0.2.2 Vl2 11 00:01:40 1 200 0 8
Verify connectivity:
Rack1R4>sh ip route eigrp
183.0.0.0/24 is subnetted, 5 subnets
D 183.0.50.0 [90/156416] via 183.0.4.1, 00:04:35, FastEthernet0/0
D 183.0.3.0 [90/28416] via 183.0.4.1, 00:04:35, FastEthernet0/0
D 183.0.2.0 [90/28416] via 183.0.4.1, 00:04:35, FastEthernet0/0
D 183.0.10.0 [90/156416] via 183.0.4.1, 00:04:35, FastEthernet0/0
Rack1R4>
Rack1R4>ping 183.0.3.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 183.0.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms