• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 286
  • Last Modified:

New to Routing and Remote Access...

Good Morning,

I need to give a server two gateways.

1st NIC: 192.168.2.2
GW: 192.168.2.1
(This is the T1 for the website.)

2nd NIC: 192.168.3.39
GW: 192.168.3.34
(This is to a CISCO router going to a vendor.)

The vendor connects to our CISCO and FTP's a file to the 192.168.3.39 address.

They are unable to connect unless I have the GW entry in for the 2nd interface, but as we all know, 2 GW's are bad.  If I have the 2nd GW, the other interface goes down fequently, killing my website...

So, in a previous question, I was instructed to use RRAS to connect the two somewhat disjointed networks.  I've enabled RRAS, but can't figure out how to proceed.  Any help is appreciated.

-adam.
0
adamkerrigan
Asked:
adamkerrigan
  • 4
  • 3
2 Solutions
 
adamkerriganAuthor Commented:
Or should I just add a static route?

-adam.
0
 
TheCleanerCommented:
There are multiple reasons why "multihomed" servers are usually not a good idea.

Is the Cisco Router the only router you have?

You should be able to configure the server with 1 NIC and 1 or 2 IPs and then route the traffic accordingly in the Cisco router using Natting or similar.
0
 
adamkerriganAuthor Commented:
TheCleaner,

I have some switches and hubs, but no other routers.

As an FYI; The Cisco router is used to two servers...

Would you please elaborate on your last comment?

-adam.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
jeff_trentCommented:
The simplest solution would seem to be removing the default gateway from the secondary feed and just build static routes on each side (routes on the server AND on the Cisco) to ensure that the appropriate traffic is passed both ways for that connection.
0
 
TheCleanerCommented:
I agree with Jeff, that's the simplest way.

What kind of Cisco Router?
0
 
adamkerriganAuthor Commented:
TheCleaner,

Not sure...it's in a data center I don't have access to, and the vendor is the one that maintains the Cisco.

I suppose I'll be in contact with them to have them setup a route to my server.

-adam.
0
 
adamkerriganAuthor Commented:
All,

What would be the route add syntax?

-adam.
0
 
TheCleanerCommented:
On the server:

EXAMPLE:
route ADD 157.0.0.0 MASK 255.0.0.0  157.55.80.1 METRIC 3 IF 2
       destination^      ^mask      ^gateway               metric^    ^
                                                                              Interface^


So for you:

route ADD 192.168.3.34 MASK 255.255.255.255  192.168.3.39 METRIC 1 IF 2

This would basically say anything destined for the router IP of the Cisco router goes through the 2nd interface (nic #2).

If you need it more generalized for the subnet you can do:

route ADD 192.168.3.0 MASK 255.255.255.0  192.168.3.39 METRIC 1 IF 2
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now