OSPF simulation query
AceAll
Member Posts: 36 ■■□□□□□□□□
in CCNA & CCENT
Doubt regarding the ospf question :-
You have been asked to setup OSPF routing between RouterA and RouterB so that each attached LAN networks are advertised to the neighboring router on the other side of the serial link.All IP addressing is already pre-configured . use area 0 and inverse mask on the network statement. use proc ID 1
routerA(config)# router ospf 1
network 10.1.1.0 0.0.0.255 area 0 -- serial interface address on routerA
network 172.16.1.0 0.0.0.255 area 0 -- Fastethernet address on routerA
question 1:Is it necessary to include the above fastethernet addr while configuring for the routing protocol. I beleive that
the routing protocols are only used by the serial interfaces of the routers. correct me if i am wrong.
routerB# router ospf 1
network 10.1.1.0 0.0.0.255 area 0
network 172.16.1.0 0.0.0.255 area 0 -- Again the same fastethernet address of routerA
This is the solution given by boson netsim v1.0 and I think its not correct.
question 2:
Is this command right for 10.1.1.1 with netmask of 255.255.255.0
-#"network 10.1.1.1 0.0.0.0 area 0" as the wildcard mask .
question 3:
Is there any command to which could help to start everything from scratch other than typing "no" and typing the same command.
Let me know the regular steps which you follow before you start typing the actual commands in simulation type questions.
like show running-config etc.
You have been asked to setup OSPF routing between RouterA and RouterB so that each attached LAN networks are advertised to the neighboring router on the other side of the serial link.All IP addressing is already pre-configured . use area 0 and inverse mask on the network statement. use proc ID 1
routerA(config)# router ospf 1
network 10.1.1.0 0.0.0.255 area 0 -- serial interface address on routerA
network 172.16.1.0 0.0.0.255 area 0 -- Fastethernet address on routerA
question 1:Is it necessary to include the above fastethernet addr while configuring for the routing protocol. I beleive that
the routing protocols are only used by the serial interfaces of the routers. correct me if i am wrong.
routerB# router ospf 1
network 10.1.1.0 0.0.0.255 area 0
network 172.16.1.0 0.0.0.255 area 0 -- Again the same fastethernet address of routerA
This is the solution given by boson netsim v1.0 and I think its not correct.
question 2:
Is this command right for 10.1.1.1 with netmask of 255.255.255.0
-#"network 10.1.1.1 0.0.0.0 area 0" as the wildcard mask .
question 3:
Is there any command to which could help to start everything from scratch other than typing "no" and typing the same command.
Let me know the regular steps which you follow before you start typing the actual commands in simulation type questions.
like show running-config etc.
A is for academics, B is for beer. One of those reasons is why I'm not here. So leave a message
Comments
-
johnnynodough Member Posts: 634If you dont issue a network command for the network of the fastethernet, then the router will not include it in routing updates sent to other routers.
There answer is correct.
You could issue the net command like that. You could also issue
10.0.0.0 0.255.255.255
10.1.0.0 0.0.255.255
10.1.1.0 0.0.0.255
10.1.1.0 0.0.0.0.253
~~~~~~
10.1.1.0 0.0.0.1
and so forth
they would accomplish the same thing.
The network command will work as long as the interface you are trying have participate falls within the combination of the network and wildcard mask. Unlike subnet masks, wildcard mask bits dont have to be contigous. As long as there is a bit with a value of 1 that matches the uniqueness of an interface, it will work. You can be as specific as you want.
AS far as I know, you have to issue no commands.
I just start typing the commands in the simulator questions, not much of a need to check the running config, you just need to do what they ask you to do, nothing more nothing less.Go Hawks - 7 and 2
2 games againts San Fran coming up, oh yeah baby, why even play? just put then in the win category and call it good -
johnnynodough Member Posts: 634In regards to typing the no command to negate earlier issued commands, you can eliminate all of your network command by typing the appropriate "no router" that made them. i.e.
Router#sh run
building config......
a bunch of stuff not relevant to this post.....
router ospf 1
network 10.1.1.1 0.0.0.0 area 0
network 10.1.2.1 0.0.0.0 area 0
network 10.1.3.1 0.0.0.0 area 0
network 10.1.4.1 0.0.0.0 area 0
end
All 4 of those network command could be eliminated by -
router(config)#no router ospf 1
it will delete all applied network commands for you created with OSPF process ID 1.Go Hawks - 7 and 2
2 games againts San Fran coming up, oh yeah baby, why even play? just put then in the win category and call it good