DrayTek UK Users' Community Forum

Help, Advice and Solutions from DrayTek Users

static routing - newbie

  • iswizzle
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
05 Mar 2013 19:33 #75458 by iswizzle
static routing - newbie was created by iswizzle
Could somebody explain static routing to me please.

I have the following:

SITE A
WAN = 10.1.1.1/32
LAN = 192.168.1.1/24

SITE B
WAN = 10.1.2.1/32
LAN = 192.168.2.1/24

How do I tell SITE A to connect to SITE B?

Do I put a static route into SITE A like:
IP ADDRESS = 192.168.1.1 (SITE B's LAN)
NETMASK = 255.255.255.0
GATEWAY = 10.1.2.1 (SITE B's WAN address)

and do the reverse for SITE B?

NB: please be aware that SITE A (wan) is aware of SITE B (wan) and vice versa via the next hop router and both sites can ping each other. We just can't get the LANs to talk.

Please Log in or Create an account to join the conversation.

More
05 Mar 2013 22:30 #75459 by suprawez
Replied by suprawez on topic Re: static routing - newbie
You need to route the networks / subnet, you are just routing single addresses, in this case the LAN side router interfaces.

Site A = 192.168.2.0 255.255.255.0 via 10.1.2.1
Site B = 192.168.1.0 255.255.255.0 via 10.1.1.1

Draytek 2750n on Zen Broadband

Please Log in or Create an account to join the conversation.

  • iswizzle
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
06 Mar 2013 06:57 #75464 by iswizzle
Replied by iswizzle on topic Re: static routing - newbie
Thanks for the reply.
Now is is possible for SITE A (WAN = 10.1.1.1) to have devices on the LAN SIDE to be in the same subnet as the WAN:

SITE A
WAN = 10.1.1.1
LAN = 10.1.1.0/24 (and have DHCP enabled for this)

SITE B
WAN = 10.1.2.1
LAN = 10.1.2.0/24 (and have DHCP enabled for this)

I'm trying to do away with the 192.*.*.*/24 so that anything on the LAN side of SITE A can talk directly with anything on the LAN side of SITE B.
At the minute, SITE A router (10.1.1.1/32) can talk to SITE B router (10.1.2.1/32) but if I could get the above to work, I would imagine that SITE A & SITE B would have to change to a /24 instead of a /32

Can anyone confirm my thinking here?
Thank you.

Please Log in or Create an account to join the conversation.

More
07 Mar 2013 10:58 #75503 by suprawez
Replied by suprawez on topic Re: static routing - newbie
What connectivity do you have between SITE A and B?

Leased line, metro net etc?

Draytek 2750n on Zen Broadband

Please Log in or Create an account to join the conversation.

  • iswizzle
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
08 Mar 2013 07:09 #75510 by iswizzle
Replied by iswizzle on topic Re: static routing - newbie
This is an MPLS network.
We simply connect via ADSL to their core network and specify our password etc and input the WAN address eg 10.1.1.1 into our CE router.
Our router then automatically picks up their PE router address. It's basically a private network and their PE routers are aware of our CE Routers.
We're trying to get the LAN side of our CE Routers to talk to each other.
I think that the LAN side of the CE routers have to have a totally different subset to the WAN side of the CE Routers and we would have to enable static routing to make them aware of each other.

Please Log in or Create an account to join the conversation.

Moderators: Sami