Link to home
Start Free TrialLog in
Avatar of infopls
infopls

asked on

Routing 2 networks

Hi,

I have 2 networks on different networks, 192.168.1.0/24 and 192.168.5.0/24 they both have their seperate internet connection and their own router but i need them to be able to access data, i thought about using LAN Routing but i couldnt get this to work.  There are 2 NICs in one of the server - am i being sill and missed something?

I configured lan routing and added the rip protocol then added both interfaces....

Thanks
Avatar of joelsplace
joelsplace
Flag of Afghanistan image

Access data between various devices or just both networks access data on the one server with the two nics?
Avatar of infopls
infopls

ASKER

I need access between various devices and both networks...

i got it working with access one way with access just to the routing server...
SOLUTION
Avatar of joelsplace
joelsplace
Flag of Afghanistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of infopls

ASKER

One server has 2 NICs with static IP's of both the networks but i should be able to configure a lan route as i can physically run a cable from the switch to the server on the other network which i have done but i was expecting once the lan route with rip was configured i would be able to talk across both networks...
ASKER CERTIFIED SOLUTION
Avatar of hypercube
hypercube
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of infopls

ASKER

I need this to be kept internally as requested by the client.  Thats why i thought doing a multihomed server would be a good idea but i just cannot get both networks to speak..
I've got a client with a similar situation that is using my subnet mask solution successfully.
I don't know what you mean by "kept internally".  I think everything I mentioned was "internal" pretty much....

Have you set up the routing in the server as described?  Please provide the result from:

route print

joelsplace suggests a subnetting approach which could work.

In effect, this creates a single larger subnet with multiple internet gateways.
I think you'd want to be sure that the subnet masks on *all* devices match - including the gateways.
Avatar of infopls

ASKER

Is that a route add? Could you give me the correct syntax for this and and will attempt this over the weekend.

With the subnet would I have to change both sites and the dhcp or just the multi homed server?  Sorry about all the questions.
Avatar of infopls

ASKER

At the moment both sites are on a 255.255.255.0 subnet
I understand that the subnet masks are currently 255.255.255.0.  OK.

Windows route add:

route -p ADD “destination network” MASK “destination subnet mask”  “gateway ip” metric "N"

where everyting in quotes is entered without the quotes as ip addresses and N an integer.

From:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/route.mspx?mfr=true

Syntax
route [-f] [-p] [Command [Destination] [mask Netmask] [Gateway] [metric Metric]] [if Interface]]


Avatar of infopls

ASKER

Okay, I shall have a go in the next day when I am back in the office and will report back
Avatar of infopls

ASKER

Sorry i am still a little confused, do i do the route add on the server of the client workstations that are trying to connect to the other network?
I think I'd mentioned this before:

You can either do this on *all* the computers OR you can do it once, on a router.
The notation is for a computer.
Router setting methods will vary but the ideas are the same.
Avatar of infopls

ASKER

Managed to do it via the router, thanks for your input guys.  Much appreciated