SOURCECODEBD.NET

Live Experience

4. ROUTE FILTERING USING DISTRIBUTE-LIST

HOW TO ROUTE FILTERING USING DISTRIBUTE-LIST
 
Interface IP Address Configuration  
    
R1  
    
Interface   IP Address   Subnet Mask  
S 0             1.1.1.1          255.0.0.0  
E 0             10.1.1.1        255.0.0.0  
    
R2  
    
Interface   IP Address   Subnet Mask  
S 1            1.1.1.2           255.0.0.0  
S 0            2.2.2.1           255.0.0.0  
E 0            20.1.1.1        255.0.0.0  
    
R3  
    
Interface         IP Address      Subnet Mask  
S 1                   2.2.2.2              255.0.0.0  
E 0                   30.1.1.1           255.0.0.0  
Loopback 0   192.168.0.1     255.255.255.0  
Loopback 1   192.168.1.1     255.255.255.0  
Loopback 2   192.168.2.1     255.255.255.0  
Loopback 3   192.168.3.1     255.255.255.0  
Loopback 4   192.168.4.1     255.255.255.0  
Loopback 5   192.168.5.1     255.255.255.0  
Loopback 6   192.168.6.1     255.255.255.0  
Loopback 7   192.168.7.1     255.255.255.0 
 
  
Task 1  
  
Configure RIP on all the routers as per the scenario . The Requirement is to block  
networks belonging to 192.168.0.0/22 (192.168.0.0,  192.168.1.0,192.168.2.0,  
192.168.3.0) to R1 from R3  using Distribute-List.  
  
R2  
  
Access-list 16 deny 192.168.0.0 0.0.3.255  
Access-list 16 permit any  
  
Router rip  
Distribute-list 16 out serial 1  
 
  
Verification:  
  
R1#show ip route
 
The output does not display 192.168.0.0/22 range of networks, but does not block other  
routes .
You are here: Home / RIP / HOW TO ROUTE FILTERING USING DISTRIBUTE-LIST