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

Cisco Router 2620 - Add 2nd IP address??

Status
Not open for further replies.

dand1

Technical User
Jan 12, 2001
18
0
0
US
Being router-knowledge impaired, I need some assistance. Situation is this:
2 locations connected via 2 Cisco 2620 routers using Frame Relay. Location 1 using 10. private IP addressing, Location 2 using 192. private addressing. I have a server located in the 10. subnet which I would like to be able to access from the 192. subnet using a 192. IP address.

I tried adding a second IP address (192.168.10.46) to the single NIC in the server and also tried adding a second NIC with the 192. IP but could not get either option to work. Looking at the server's routing table (route print) the 192. route's Gateway and Interface default to the same IP (192.168.10.46) as the NIC's IP address. So 192. packets go nowhere. If I change the route for the 192. (route change) to point to the 10. Gateway IP address of the router on the 10. subnet, I can ping the 192. subnet from the 10. subnet but the 192. subnet cannot ping or tracert the 192.168.10.46 server IP address. I'm assuming this is because the 192. ping won't return to the 10. gateway??

Thanks for any help you can provide in solving this. Appreciate it if you can be somewhat descriptive in your ideas 'cause you know I'm router-knowledge impaired. Thanks

 
I'm not sure if I understand you correctly but this is what I would do to see about resolving the issue.....

It sounds like you need two route statements.....

ip route 192.168.10.0 255.255.255.0 serial0/0
ip route 10.0.0.0 255.0.0.0 serial1/1

Of course you can leave the default route in..

0.0.0.0 0.0.0.0 192.168.10.?

You should also ensure that your default gateway on your servers go to the router. I don't know if you're using another router for your default gateway but the default route in the Cisco 2600 should take care of any traffic outside of your network....



david e
*end users are just like computers, some you can work with...others just need a simple reBOOTing to fix their problems.*
 
One other note, since you didn't place your subnet masks in the question, I assumed you were using the default. Make sure you match your subnet masks to what your network is setup for. In this case I don't think it would make a difference but if you grow your network any it could have a significant impact.

david e
*end users are just like computers, some you can work with...others just need a simple reBOOTing to fix their problems.*
 
Thanks for the response. Here's more info. (Please excuse the crude drawing)

->LAN#1 - 10.0.0.0 255.0.0.0
| Server1 - NT 4.0
| NIC1 - 10.1.254.101 Default Gateway 10.1.253.2
| NIC2 - 192.168.10.46 255.255.255.0
|
->10.1.253.2FastEthernet [Router#1] 172.16.0.1Serial0/0.1
|
|T1-FrameRelay
|
->192.168.10.2FastEthernet [Router#2] 172.16.0.2Serial0/0.1
|
|
->LAN#2 - 192.168.10.0 255.255.255.0

User on LAN#2 needs to access Server1(192.168.10.46) on LAN#1.
 
Why do you need the ip address on NIC2? Disable that. Do a route print on the NT4 server and make sure it's default gateway is 10.1.253.2.
On router 1: ip route 192.168.10.0 255.255.255.0 s0/0.1
On router 2: ip route 10.0.0.0 255.0.0.0 s0/0.1

Users on Lan 2 should be able to access server via 10.1.254.101
 
xlee is correct, the diagram helps out a lot. xlee's solution should provide you with the correct setup.

david e
*end users are just like computers, some you can work with...others just need a simple reBOOTing to fix their problems.*
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top