Pada
Executive Member
Seems like no one has done this for the D-Link DSL-2500U yet.
Here's how to do it:
To test, I've added routes for the 196.25.0.0/16 and 196.26.0.0/16 just to demonstrate.
My router's routing table:
The results (See the 3rd hop is different: with the 1 using my Mweb account (ppp_0_8_35_1) and the 2nd one using my Telkom account (ppp_0_8_35_2)
):
Now someone has to modify the script
Here's how to do it:
The telnet login will be prompted with "Login:" and "Password:"
To view the routing table, you can use the command: route show
To list the network interfaces, you can use the command: ifconfig
The PPPoE connections would be named like follow: ppp_0_8_35_#, eg. ppp_0_8_35_1 and ppp_0_8_35_2
To add routes you'll run something like: route add <IP address> <Subnet Mask> <Interface Name>, eg. route add 196.26.0.0 255.255.0.0 ppp_0_8_35_2
To view the routing table, you can use the command: route show
To list the network interfaces, you can use the command: ifconfig
The PPPoE connections would be named like follow: ppp_0_8_35_#, eg. ppp_0_8_35_1 and ppp_0_8_35_2
To add routes you'll run something like: route add <IP address> <Subnet Mask> <Interface Name>, eg. route add 196.26.0.0 255.255.0.0 ppp_0_8_35_2
To test, I've added routes for the 196.25.0.0/16 and 196.26.0.0/16 just to demonstrate.
My router's routing table:
Code:
> route show
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
41.240.64.1 * 255.255.255.255 UH 0 0 0 ppp_0_8_35_2
41.132.44.1 * 255.255.255.255 UH 0 0 0 ppp_0_8_35_1
192.168.89.0 * 255.255.255.0 U 0 0 0 br0
196.25.0.0 * 255.255.0.0 U 1 0 0 ppp_0_8_35_1
196.26.0.0 * 255.255.0.0 U 1 0 0 ppp_0_8_35_2
192.168.0.0 192.168.89.254 255.255.0.0 UG 1 0 0 br0
default 41.240.64.1 0.0.0.0 UG 0 0 0 ppp_0_8_35_2
The results (See the 3rd hop is different: with the 1 using my Mweb account (ppp_0_8_35_1) and the 2nd one using my Telkom account (ppp_0_8_35_2)
Code:
>tracert 196.25.1.11
Tracing route to wblv-ip-dns-3.saix.net [196.25.1.11]
over a maximum of 30 hops:
1 6 ms 2 ms 2 ms rb750.tuis [192.168.90.1]
2 3 ms 2 ms 6 ms d-link-adsl-router.tuis [192.168.89.1]
3 28 ms 25 ms 28 ms 41-132-44-1.dsl.mweb.co.za [41.132.44.1]
4 49 ms 48 ms 49 ms tengig-0-0-0-101.vic-ipc-1.mweb.co.za [196.22.169.134]
>tracert 196.26.1.11
Tracing route to pc11.196-26-1.is.co.za [196.26.1.11]
over a maximum of 30 hops:
1 2 ms 2 ms 3 ms rb750.tuis [192.168.90.1]
2 3 ms 2 ms 2 ms d-link-adsl-router.tuis [192.168.89.1]
3 28 ms 29 ms 25 ms dsl-240-64-01.telkomadsl.co.za [41.240.64.1]
4 30 ms 27 ms 30 ms wblv-ip-lir-1-gig-4-0-0.telkom-ipnet.co.za [196.43.8.190]
Now someone has to modify the script
Last edited: