Question:
In my Lab environment cisco ios commands in GNS I have
connected two 7200 series router through fastethernet on router A I have given
IP adress 192.168.10.54 and router B I have given IP address 192.168.10.53 and
default route as 0.0.0 .0 0.0.0.0 192.168.10.53
and when I run the command on router A it shows result as follows "C
192.168.10.52/24 is directly connected ,Fast ethernet 2/0".
So I need to know why it's showing the
result of .52 at last why not .53 or .54 at last what is the reason it's
showing .52 which I have not mentioned in my IP address.
Answer:
Then thats the correct thing you are
seeing. I have showed this to you on my previous update:
If you are using the /30 then the subnet
would be displayed.
R1(config)#int f1/0
R1(config-if)#ip address 192.168.10.54
255.255.255.252
R1#show ip route
192.168.10.0/30 is subnetted, 1 subnets
C
192.168.10.52 is directly connected, FastEthernet1/0 <<<< 52
is displayed.
In your scenario:
===========
10.255.222.52 is the subnet and followed by
the host ids. ( 10.255.222.53 &
10.255.222.54 will be the two host which can be on .52 subnet hence it only
shows you the .52 in the routing table.
Details on your subnet Cisco Switches Price below:
http://www.subnet-calculator.com/subnet.php?net_class=A
没有评论:
发表评论