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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

somebody please help!!!

Status
Not open for further replies.

porsche911

IS-IT--Management
Joined
Sep 14, 2004
Messages
7
Location
US
im frustrated with my routers,

cisco 2503
No router rip

ethernet 0
ip address 10.10.1.1
ip address 10.10.2.1 secondary


cisco 2520
no router rip
ethernet 0
ip address 10.10.3.1
ip address 10.10.4.1 secondary

these routers are connected to an aui and are connected to a 2900 switch.

i am trying to build a static table connecting these 2 routers,

i try the iproute command using
destination mask hop and get this error:
inconsistent address and mask

i have been trying for 2 weeks now and cannot connect these routers. Can someone please explain to me the correct syntax and what exactlt is the " next Hop address" ?
would the next hop address be the switch address?

*both interfaces for ethernet are up..line is up

thanks a million
 
what is the subnet mask of your IP address on the network??

you have to post that or define that properly first before you can do anything..


BuckWeet
 
So each net thinks that all other networks are local. You need to change your mask.
 
do i need to change the mask and make the routers 2 different subnets? or do i also have to change the subnet mask for the switch?

thank you very much

would this work

255.1.1.1 for cisco 2503
255.1.1.3 for cisco 2520
 
besides subnet mask..what is the next hop address?
thanks
 
They should be able to "talk" without the ip route command if your mask is 8 bit on all interfaces like you are saying.. the IP of the switch is not relevant. Are you sure your switch is not "vlaned" from an old config?
 
That won't work if the mask is /8 like your others. I'm not sure about otherwise; I think it would be ok. I would avoid using "255" as any part of an IP address, though.

Yes, the networks on either side of router interfaces need to be different in order for the router to "route". If you chang all your masks to 255.255.255.0 (aka "/24") you'll be ok.

Then, this should work (on 2503, for example):
ip route 10.10.3.0 255.255.255.0 255.1.1.3

(But, please change the switch IP network. The more I look at it the more it seems wrong).
 
ip route 10.10.3.0 255.255.255.0 255.1.1.3
the 255.1.1.3 is the next hop? i dont have a network starting with a 255 address.

does it matter if the vlan is turned on the switch?
 
Then what is "255.1.1.3" and "255.1.1.1"?

The next hop is the address of the next layer-3 device. As I read your original post, it would be the address of the other router's AUI port. If the 2900 is strictly a layer-2 switch, then it doesn't have a subnet mask.
 
try adding a line "ip classless" into the config. The router doesn't "understand" that subnet mask without that command in place.
 
Static routes as follows:-

2 networks - 192.168.1.xxx (/24)
192.168.5.xxx (/24)

2 routers - first address 10.10.1.2 255.255.255.0 network 1
second address 10.10.1.3 255.255.255.0 network
2

(first part is the IP address of the router interface and the second part is the subnet mask - in this case a /24)

Routers connected together:-

From the 192.168.1.xxx network

router1(conf)#ip route 192.168.5.0 255.255.255.0 10.10.1.3

First address in the command is the required network, second is the subnet mask of the required network and the third is the next hop address (the address of the next devices interface in the route). Always remember to adda route back as well or when you test with ping it will not work.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top