cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1329
Views
0
Helpful
5
Replies

OSPF Wildcard

kbullard00
Level 1
Level 1

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

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

View solution in original post

5 Replies 5

anthony.barron
Level 1
Level 1

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

gatlin007
Level 4
Level 4

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 

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

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

you're right thnks for the insight

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card