jskfan
asked on
Wild Card Mask
I have R1 that has learned EIGRP routes from R2 as shown below.
R1(config-std-nacl)#do sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, + - replicated route
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 7 subnets, 7 masks
D 10.1.0.0/16 [90/156160] via 192.168.12.2, 00:00:08, FastEthernet0/0
D 10.2.0.0/17 [90/156160] via 192.168.12.2, 00:00:08, FastEthernet0/0
D 10.3.0.0/18 [90/156160] via 192.168.12.2, 00:00:08, FastEthernet0/0
D 10.4.0.0/19 [90/156160] via 192.168.12.2, 00:00:08, FastEthernet0/0
D 10.5.0.0/20 [90/156160] via 192.168.12.2, 00:00:08, FastEthernet0/0
D 10.6.0.0/21 [90/156160] via 192.168.12.2, 00:00:08, FastEthernet0/0
C 10.10.10.10/32 is directly connected, Loopback10
I have this configuration below:
Now if I run sh ip route , I will see the 10.x.x.x gone except for the Directly Connected ..
My question is what if I want to keep just these 3 routes below in the routing table. how would I change the wild card mask.
D 10.2.0.0/17 [90/156160] via 192.168.12.2, 00:03:04, FastEthernet0/0
D 10.3.0.0/18 [90/156160] via 192.168.12.2, 00:03:04, FastEthernet0/0
D 10.4.0.0/19 [90/156160] via 192.168.12.2, 00:03:04, FastEthernet0/0
Thank you
R1(config-std-nacl)#do sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, + - replicated route
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 7 subnets, 7 masks
D 10.1.0.0/16 [90/156160] via 192.168.12.2, 00:00:08, FastEthernet0/0
D 10.2.0.0/17 [90/156160] via 192.168.12.2, 00:00:08, FastEthernet0/0
D 10.3.0.0/18 [90/156160] via 192.168.12.2, 00:00:08, FastEthernet0/0
D 10.4.0.0/19 [90/156160] via 192.168.12.2, 00:00:08, FastEthernet0/0
D 10.5.0.0/20 [90/156160] via 192.168.12.2, 00:00:08, FastEthernet0/0
D 10.6.0.0/21 [90/156160] via 192.168.12.2, 00:00:08, FastEthernet0/0
C 10.10.10.10/32 is directly connected, Loopback10
I have this configuration below:
router eigrp 1
distribute-list route-map FILTER_IN in
ip access-list standard NET_1
deny 10.0.0.0 0.0.255.255
route-map FILTER_IN permit 10
match ip address NET_1
Now if I run sh ip route , I will see the 10.x.x.x gone except for the Directly Connected ..
My question is what if I want to keep just these 3 routes below in the routing table. how would I change the wild card mask.
D 10.2.0.0/17 [90/156160] via 192.168.12.2, 00:03:04, FastEthernet0/0
D 10.3.0.0/18 [90/156160] via 192.168.12.2, 00:03:04, FastEthernet0/0
D 10.4.0.0/19 [90/156160] via 192.168.12.2, 00:03:04, FastEthernet0/0
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Oh I’m sorry I missed the /18 /19 etc. I read them as if they were slash 16 routes
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you Guys..
I will come back to this topic later.
I will come back to this topic later.
ASKER
10.3.0.0/18 = 255.255.192.0
wildcard Mask =0.0.64.255
10.4.0.0/19 = 255.255.224.0
Wildcard mask= 0.0.31.255