simple question regarding the Routing Table.

From: Raghav Bhargava (raghavbhargava12@gmail.com)
Date: Sun Mar 29 2009 - 18:46:29 ART


Hi Experts,

For example we have a loopback interface 0 with the Ip address 4.4.4.4/24

Now when we have to advertise the network in the routing table, which of the
following way is correct:-

router ospf 1
network 4.4.4.4 0.0.0.0 area 4

OR

router ospf 1
network 4.4.4.0 0.0.0.255 area 4

coz if we use any of the way we will see this entry in the routing table:-

    *4.0.0.0/32* is subnetted, 1 subnets
O 4.4.4.4 [110/2] via 1.1.1.1, 00:00:44, FastEthernet0/0

Now another question that I have is if i change the network type of the
loopback from LOOPBACK ( which is default ) to point-to-point then the
routing table entry changes like this

*4.0.0.0/24 *is subnetted, 1 subnets
O 4.4.4.4 [110/2] via 1.1.1.1, 00:00:44, FastEthernet0/0

Please can some one explain this change in the subnet mask????

As far as i know PPP converts the /24 or any other subnet into /32 host
routes. Maybe i could be wrong here......:)

-- 
Warm Regards
Raghav

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Mon Apr 06 2009 - 06:44:08 ART