11-08-2010 05:46 PM - edited 03-04-2019 10:24 AM
I have a question about wildcards.
I know the wildcard is one less than the block size.
What if the block size is 1?
See attach.
When I run this command it returns no output. sh ip ospf int s0/0
Not currently using s0/1 only concerned about s0/0
thanks a bunch
Solved! Go to Solution.
11-08-2010 10:00 PM
Hi ,
You have on the interface 192.181.132.2 , but under ospf router you set the protocol to run on the interface that has 192.181.132.0 netmask 255.255.255.255 ( 0.0.0.0 wildcard ). To solve this modify the network statement network 192.181.132.2 0.0.0.0.
Dan
11-08-2010 06:02 PM
The int serial0/0 is up/down. This means that either the IP address on the other device is not set or the clock rate is not set. Once the protocol goes to up on the int s0/0, an OSPF route will be entered into the routing table, assuming that the other device is configured properly. If you have any more issues can you please post your config?
edit: Also assuming you are using a /24 mask on the network, the wildcard mask should be 0.0.0.255
Router(config-router)#no network 192.168.133.0 0.0.0.0 area 0
Router(config-router)#Network 192.168.133.0 0.0.0.255 area 0
11-08-2010 07:55 PM
The network statement and wildcard bits in OSPF are not used to advertise a netblock into OSPF. They are used to enable OSPF on an interface. The network advertisement will be that of the subnet configured on the interface.
For example:
int fa0/0
192.168.1.1 255.255.255.0
exit
router ospf 1
network 192.168.1.1 0.0.0.0
exit
This will enable OSPF in int fa0/0. The advertised network will be 192.168.1.0/24.
Another example:
int fa0/1
ip address 192.168.2.1 255.255.255.0
exit
int fa0/2
ip address 192.168.3.1 255.255.255.0
exit
router ospf 1
network 192.168.0.0 0.0.255.255
exit
This will enable OSPF on all interfaces within 192.168.0.0/16. In this case OSPF would be enabled on fa0/1 and fa0/2.
Chris
11-08-2010 09:37 PM
hey cris sorry but i really didnt understood what u want to ask.. please can you clear yourself .. sorry...may be i can help with OSPF
11-08-2010 10:00 PM
Hi ,
You have on the interface 192.181.132.2 , but under ospf router you set the protocol to run on the interface that has 192.181.132.0 netmask 255.255.255.255 ( 0.0.0.0 wildcard ). To solve this modify the network statement network 192.181.132.2 0.0.0.0.
Dan
11-09-2010 11:27 AM
you're right thnks for the insight
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide