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

routing help

Hi,

I have a dedicated fibre link between two premises. I device address :
Site a -  192.168.20.0
Site b - 192.168.40.0


What routes will i need if i need to ping back from 192.168.40.0 to 192.168.20.0 .

i have internet connection at site B with following address : 192.168.30.0

Do i have to do some sort of bridging?
0
santoshmotwani
Asked:
santoshmotwani
  • 6
  • 5
  • 3
1 Solution
 
mlchelpCommented:
Im going to assume you have a router on each end of the fibre correct, So on the router on the .20 side you have to add a static route the syntax depends on the router, 192.168.40.0/24 to 192.168.40.1 and on the router that is .40 add 192.168.20.0/24 to 192.168..20.1 assuming that the routers are .1
0
 
santoshmotwaniAuthor Commented:
Hi,

thanks for your advice.

I forgot to say that i can ping from one end from 192.168.20.0 to 192.168.40.0 . We have ubuntu machine acting as a gateway in the bridge mode.


Now at site B : I was thinking to get a router , plug both internet( i.e. 192.168.30.0) and fibre connection (i.e. 192.168.40.0) into it and add a route as you said.

But question is what ip should i give to that router should it be 192.168.30.xx or 192.168.40.xx

Sorry for late reply

Thanks for you help
0
 
dcj21Commented:
If the Internet router will be at Site B, give it an address on the Site B network 192,168.40.xx

Your fiber connection is not a bridge, but a route since you have different IP addresses.

At layer 3 (IP) our network should look like:

SiteA---(Router)---SiteB---(Router)--Internet

If you have 3 ports on the router (better solution) use one router for all connections. That will make routing easier:

SiteA---------\
              (Router)------Internet
SiteB---------/

Open in new window

0
Network Scalability - Handle Complex Environments

Monitor your entire network from a single platform. Free 30 Day Trial Now!

 
dcj21Commented:
I would expect your fiber connection to be using Media Converters or Transceivers. These are not bridges (Layer2), but simply convert the physical wiring (Layer 1).
0
 
mlchelpCommented:
"But question is what ip should i give to that router should it be 192.168.30.xx or 192.168.40.xx"

you can give it any address you want, but usually you would make it .1 so 192.168.30.1 on one interface and 192.168.40.1 this would become the default gateway for devices on those subnets.
0
 
santoshmotwaniAuthor Commented:
great help

but site a and site b have their own internet its just some of the applications on site a i want users should be able to access at site.b

i have linksys router can it b used?
0
 
mlchelpCommented:
"its just some of the applications on site a i want users should be able to access at site.b"

Then you need to add a router between the segments, what model linksys do you have.

0
 
santoshmotwaniAuthor Commented:
wrt54g
0
 
mlchelpCommented:
no, you need a real router, like the linksys rv082.
0
 
santoshmotwaniAuthor Commented:
ok ...

Can i use windows xp as a router or ubuntu box?
0
 
mlchelpCommented:
You cant use XP, you can use win 2000 server ,2003serv, 2008 serv if the server has two network interfaces. Im not sure about ubunto, not my area of expertise.
0
 
santoshmotwaniAuthor Commented:
Thanks mlchelp will try first 2morrow.
0
 
dcj21Commented:
Ubuntu makes a great router and firewall.

https://help.ubuntu.com/community/Router
0
 
santoshmotwaniAuthor Commented:
Thanks a lot for your help
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Network Scalability - Handle Complex Environments

Monitor your entire network from a single platform. Free 30 Day Trial Now!

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