11-12-2001 04:54 PM - edited 03-01-2019 07:20 PM
I am sorry for a stupid question.
I am trying to set up an OSPF network. So far I am doing from a router to a router .
Here is what I have:
Router A:
int e0/0
ip address 192.168.30.0 255.255.255.0
ip ospf network poin-to-point
network ospf 10
network 192.168.0.0 0.0.255.255.0.0 area 0
Router B:
int e0/0
ip address 192.168.31.0 255.255.255.0
ip ospf network point-to-point
network ospf 10
network 192.168.0.0 0.0.255.255 area 0
When I do sh dcp neigh I can see the router but I can not ping it.
Would you please tell me what I am doing wrong.
Thanks in advance,
11-12-2001 08:55 PM
Both of your routers are using illegal addresses.
Change your IP on both routers' ethernet interfaces to 192.168.3x.1 255.255.255.0
Also, by specifying that the OSPF network type is point-to-point, you're precluding OSPF from forming neighbor relationships by discovery. You would need to add "neighbor" statements to your OSPF config.
Also, your IP addresses on the ethernet interfaces must be on the same subnet (I'm assuming you have cross connected them or are using a hub). You can't form a neighbor relationship between two interfaces that are addressed on two different subnets. Change them to 192.168.30.1&2.
Without seeing the entire config, that's the best I can do.
Mick.
11-13-2001 02:49 AM
if your router are directly connected, you should use the same network address 192.168.30.x for exemple.
and you can not use 192.168.30.0 ip address, it's the network address. you should use a number between 1 and 254.
regards and good luck
11-13-2001 07:24 AM
Thanks a lot guys. I've not even notice that my ip addresses were in different subnets.
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: