How to add route to Buffalo router

1

I'm trying to understand what I can make use with this feature on my Buffalo WHR-HP-GN router. Using the User Friendly Firmware, I've clicked on the Internet / LAN -> Route menu, and am presented with the following:
Add Routing
Destination Address:
Gateway:
Metric:

However, when I attempted to add the following:
Destination Address: 192.168.60.4
Gateway: 192.168.20.22
Metric: 15 (This is the default)

I'm given the following:
ERROR: Destination Address description: IP Address is not valid as network address

The reason I entered the above is because I have the following setup:

Internet -> Buffalo Router -> 192.168.20.1/24  
                           -> Another Router (192.168.20.22) -> 192.168.60.1/24  
                                                             -> Device (192.168.60.4)

user192702

Posted 2013-10-14T11:26:28.727

Reputation: 131

If you want to add route to single host, you should choose Subnet Mask 255.255.255.255 – Dusan Bajic – 2013-10-14T11:38:26.177

@dusan.bajic Thanks! That was it! The Subnet Mask is defaluted to 255.255.255.0 so it didn't work. In fact I am now able to ping from within my 192.168.20.1/24 network to the Device at 192.168.60.4. However, what I don't understand is why is this the case. If I goto http://www.subnet-calculator.com/, the combination of [192.168.60.1 & 255.255.255.0] or [192.168.60.4 & 255.255.255.0] results in the same network. I want to add the whole 192.168.60.1/24 network. HOw can I do this?

– None – 2013-10-14T14:59:34.803

The very first address in subnet is used as "network address", so if you want to add 192.168.60.x/24, you need to enter [192.168.60.0 & 255.255.255.0] – Dusan Bajic – 2013-10-14T15:22:03.640

Answers

1

If you want to add route to single host, you should choose Destination Address 192.168.60.4 and Subnet Mask 255.255.255.255

If you want to add the whole 192.168.60.X/24 network, use the very first address in subnet as "network address", so the right combination is [192.168.60.0 & 255.255.255.0]

Dusan Bajic

Posted 2013-10-14T11:26:28.727

Reputation: 284

Thanks. Just experimented for this and it worked. Just tried to come back to let you know but guess you beat me to it. Thanks! – None – 2013-10-14T15:33:31.070

Just noticed 2 issues. 1) If I connect my PC to the 192.168.20.0/24 network, I can not ping the 192.168.60.4 device (sitting behind the second router at 192.168.20.22) until I ping the second router first. As soon as I have pinged the second router at 192.168.20.22, I can ping the device at 192.168.60.4. Any idea why this is the case? 2) For some reason I can access the web page hosted on 192.168.60.4 from my iPhone but not from my PC. Both are connected to the 192.168.20.0/24 network in the same way. How can this be? – user192702 – 2013-10-19T17:19:03.953

is that a windows pc? – Dusan Bajic – 2013-10-19T17:43:02.010

Yes it's a Windows 7 PC. – user192702 – 2013-10-19T17:51:06.657

Any idea? Curious why you asked if it's a Windows. – user192702 – 2013-10-20T16:11:09.430

try adding this route to windows pc (from CMD): ROUTE ADD 192.168.60.0 MASK 255.255.255.0 192.168.20.22 and see if it helps – Dusan Bajic – 2013-10-20T16:57:13.650

Thanks. I understand why you suggested this. However, the static route I added to the Buffalo router should have enabled this anyway, isn't it? I don't quite understand why it's not doing it and it's only happening to my PC too while the iPhone is fine! – user192702 – 2013-10-22T15:57:08.603

I know you added it to Buffalo, but can you try and add it to windows machine also (for testing purposes)? – Dusan Bajic – 2013-10-22T16:26:55.210

Thanks and sorry I haven't tried it yet. I tried the same thing with a different Windows 7 machine and it works without having to do anything. – user192702 – 2013-11-02T15:04:14.267

I have finally managed to do the route add and I can now a) access the device via a browser, b) map the device as a drive, c) access it via windows Explorer. However, I'm still unable to get Windows to show it under Windows Explorer -> Network. – user192702 – 2013-11-03T04:56:34.700

Perhaps you should post that in new question with proper title (that would help getting the right answer) – Dusan Bajic – 2013-11-04T08:35:30.917

Thanks. Think the answer was posted by MariusMatutiae on http://superuser.com/questions/668698/windows-7-can-ping-but-cant-see-device-on-other-subnet. However this also highlights how faulty the Buffalo implementation is.

– user192702 – 2013-11-05T14:48:20.133