• February 24, 2025, 10:18:32 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: How to set up custom routing  (Read 12098 times)

BarsMonster

  • Level 1 Member
  • *
  • Posts: 8
How to set up custom routing
« on: February 24, 2010, 01:06:54 AM »

Hi, I have 1Mbit internet provider(ADSL modem at 192.167.0.99 in home LAN network) and 100Mbit city's network (IP range is 10.*.*.*).

I want to set things up so that DGL-4500 (firmware 1.02) route 10.*.*.* to the WAN port, connected to the city's network, and have the rest go to ADSL modem connected to one of LAN ports.

I don't see a way how to set up routing like this... Router does not allow to add rules like 0.0.0.0 MASK 0.0.0.0 to catch all traffic. Any suggestions?

PS. Currently I have DGL4500 with ADSL at WAN port and city's network is at extra DIR-300 router - but it's too slow to handle 100Mbit, hence the reason to put all load on DGL4500 and get rid of secondary router.

« Last Edit: February 24, 2010, 01:15:20 AM by BarsMonster »
Logged

Beeder

  • Level 2 Member
  • **
  • Posts: 65
Re: How to set up custom routing
« Reply #1 on: February 24, 2010, 05:38:49 AM »

The 4500 does support custom routing tables...I'll post back later when I have a chance to dig it up.
Logged

BarsMonster

  • Level 1 Member
  • *
  • Posts: 8
Re: How to set up custom routing
« Reply #2 on: February 26, 2010, 09:45:24 AM »

This is still actual :-S Want to route everything to LAN port and small part to WAN port....
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: How to set up custom routing
« Reply #3 on: February 26, 2010, 10:25:14 AM »

Hi, I have 1Mbit internet provider(ADSL modem at 192.167.0.99 in home LAN network) and 100Mbit city's network (IP range is 10.*.*.*).

I want to set things up so that DGL-4500 (firmware 1.02) route 10.*.*.* to the WAN port, connected to the city's network, and have the rest go to ADSL modem connected to one of LAN ports.

I don't see a way how to set up routing like this... Router does not allow to add rules like 0.0.0.0 MASK 0.0.0.0 to catch all traffic. Any suggestions?

PS. Currently I have DGL4500 with ADSL at WAN port and city's network is at extra DIR-300 router - but it's too slow to handle 100Mbit, hence the reason to put all load on DGL4500 and get rid of secondary router.



Being on DSL I would ensure that your DSL modem, is bridged or set up for transparent connection to the 4500. I have seen this recently that newer DSL modems have the addition of a DCHP router and thus it's handing the 4500 a private 192.168 IP address instead of the public WAN IP address. Setting the DSL modem to hand a public address helps in most cases. Just my 2 cents.
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

BarsMonster

  • Level 1 Member
  • *
  • Posts: 8
Re: How to set up custom routing
« Reply #4 on: February 26, 2010, 10:28:26 AM »

Yes, I was giving DSL modem a static known IP in my LAN 192.167.0.99, the problem is that DGL-4500 GUI does not allow to create routing rule I need :-S
Logged

BarsMonster

  • Level 1 Member
  • *
  • Posts: 8
Re: How to set up custom routing
« Reply #5 on: March 24, 2010, 02:53:33 AM »

Still actual. :-(
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: How to set up custom routing
« Reply #6 on: March 24, 2010, 09:30:47 AM »

Can't add a custom route in Advanced/Routing?
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

BarsMonster

  • Level 1 Member
  • *
  • Posts: 8
Re: How to set up custom routing
« Reply #7 on: March 24, 2010, 12:38:08 PM »

Can't add a custom route in Advanced/Routing?

That's the question: I can't add a route with MASK 0.0.0.0 to route all traffic to different IP.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: How to set up custom routing
« Reply #8 on: March 24, 2010, 01:05:32 PM »

What happens when you input that address? I've have never done this however curious if the UI gives an error or states that you need to be with in a certain IP address range and Zero might not fall in to the required range.
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

BarsMonster

  • Level 1 Member
  • *
  • Posts: 8
Re: How to set up custom routing
« Reply #9 on: March 24, 2010, 01:08:11 PM »

I am getting route subnet 0.0.0.0 is invalid.
When I am trying to use mask 128.0.0.0 to use 2 rules instead of 1, I am getting "Destination and Gateway should not reside in the same subnet 128.0.0.0"
« Last Edit: March 24, 2010, 01:11:40 PM by BarsMonster »
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: How to set up custom routing
« Reply #10 on: March 24, 2010, 01:39:08 PM »

I'm wondering if using Zeros is not a valid input syntax for this router. I would ask one of the moderators on here and check. Let us know what you find out.
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

BarsMonster

  • Level 1 Member
  • *
  • Posts: 8
Re: How to set up custom routing
« Reply #11 on: March 25, 2010, 08:17:44 PM »

That was terrible, I have no idea why DGL-4500 does not allow destination IP to be in the subnet I am routing, that really overcomplicates things :-(

I managed to route all traffic to LAN port using this bunch of rules (instead of 1 rule which I would prefer to use here):

   All      1.0.0.0      128.0.0.0   192.167.0.3      1      LAN   Edit   Delete
   all2    193.0.0.0    255.0.0.0    192.167.0.3    1    LAN    Edit    Delete
   All3    194.0.0.0    254.0.0.0    192.167.0.3    1    LAN    Edit    Delete
   all4    196.0.0.0    252.0.0.0    192.167.0.3    1    LAN    Edit    Delete
   all5    200.0.0.0    248.0.0.0    192.167.0.3    1    LAN    Edit    Delete
   all6    208.0.0.0    240.0.0.0    192.167.0.3    1    LAN    Edit    Delete

Note that it also didn't allowed to add 0.0.0.0/128.0.0.0 rule... SO many troubles due to crazy limitations :-(

Any ideas of making this simpler?
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: How to set up custom routing
« Reply #12 on: March 25, 2010, 08:22:50 PM »

I would PM or post the message to a Moderator in here. They are watching.
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

BarsMonster

  • Level 1 Member
  • *
  • Posts: 8
Re: How to set up custom routing
« Reply #13 on: March 26, 2010, 04:41:48 AM »

Ok, my variant actually does not works as I needed.

Now I can't route 10.*.*.* to WAN.
I can't add rule 10.0.0.0 MASK 255.0.0.0 gateway 10.13.3.1 because it says "Destination and gateway should not reside in the same 10.0.0.0 network".

What's the use of having ability to add routes if you can't really do anything useful with it and everything useful is restricted?
Logged