Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Cisco Support Community site will be in read only mode on Dec14, 2017 from 12:01am PST to 11:30am for standard maintenance. Sorry for the inconvenience.

New Member

OSPF Wildcard

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

1 ACCEPTED SOLUTION

Accepted Solutions

Re: OSPF Wildcard

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

5 REPLIES
New Member

Re: OSPF Wildcard

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

Silver

Re: OSPF Wildcard

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 

New Member

Re: OSPF Wildcard

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

Re: OSPF Wildcard

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

New Member

Re: OSPF Wildcard

you're right thnks for the insight

505
Views
0
Helpful
5
Replies
CreatePlease to create content