Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CANNOT ADD an IP ROUTE!!!! Pls Help

Status
Not open for further replies.

edzy55

MIS
Joined
Jul 12, 2001
Messages
103
Location
GB
Okay.

I'm trying to add an ip route for the following:-

ip route 10.0.0.0 255.0.0.0 192.168.2.255 say.

Then it gives me the inconsistant address and mask error. How can I get about this?

Thanks in advance.
 
Hi,

Your problem is with the next hop address, 192.168.2.255 is the broadcast address of a class C private network. So it cannot be the next hop.

Cheers

Mark

 
Sorry. That was a bad example of me and didn't mean to confuse.

Okay here it is!!!
ip route 10.0.0.0 255.255.0.0 192.168.1.254

I then get the error inconsistant mask to ip address. I know this is really a class A address but we have 10.0.0.0/16 mask at the remote network.

Thanks in advance.

 
Hi again,

OK that makes more sense, you are using 10.0.0.0 , this a subnet-zero.

Has your config got "ip subnet-zero", by default this is off and must be enabled to use any subnet-zero.

Cheers

Mark
 
Cheers Mark66

All sorted now. You live and learn hey!!!

Thanks.

Edz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top