Bsnl 32 Kbps Unlimited For Rs.300

  • Thread starter Thread starter hitech
  • Start date Start date
  • Replies Replies 33
  • Views Views 6,685
QUOTE(vol @ May 8 2006, 11:44 PM) [snapback]50651[/snapback]
If bsnl gives a 32 kbps unlited connection for Rs.300, would you buy it?
[/b]


YES !!!!!

I will take two of them and combine into one 256 kbps connection :)

My bad...... I read this as 128 kbps, dunno what I was thinking. :(
 
QUOTE(Argus @ May 9 2006, 02:20 PM) [snapback]50706[/snapback]
@netfreak : Is it possible to combine two bsnl connections ?
[/b]


Yes it is possible.

Quite straightforward if you are running Linux.

Not easy, but still possible with Windows NT/2000/XP/2003
 
How do u combine two connections in linux? If its true, tell. Is it possible in Suse 10.0. But I don't think it is possible without extra hardware.
 
I htink the topic starter is from BSNL itself....They only can have such ideas...
 
is it possible to combine two connection... i neva heard about it... can some one throw more light to it... combing 2 , 256k connection would behave like 512 ?thanks
 
QUOTE(pushkar_01 @ May 9 2006, 05:09 PM) [snapback]50729[/snapback]
How do u combine two connections in linux? If its true, tell. Is it possible in Suse 10.0. But I don't think it is possible without extra hardware.
[/b]

Code:
Structure :                           Lan Card 1----modem1----isp--internet                          /                        Applications-----IPTables                                                  \                                                    Lan Card 2----modem2----isp--internet

Modify IPs,gateways and such in this script and Run:
Code:
IPTABLES="/usr/local/sbin/iptables"# Internal InterfaceNET_INT_INT=eth0# Internal IPNET_INT_IP=192.168.0.1# Internal SubnetNET_INT_SUB=/24# Internal NetworkNET_INT_NET=192.168.0.0# First external interfaceNET_EXT_INT1=eth1# First external IPNET_EXT_IP1=172.16.1.1# First external interface's gatewayNET_EXT_GW1=172.16.1.3# Second external interfaceNET_EXT_INT2=eth2# Second external IPNET_EXT_IP3=172.16.1.2# Second external interface's gatewayNET_EXT_GW2=172.16.1.3echo "Flushing All Tables"$IPTABLES -F$IPTABLES -F -t nat$IPTABLES -F -t mangle$IPTABLES -X -t nat$IPTABLES -X -t mangle$IPTABLES -X$IPTABLES -t mangle -N ETH1$IPTABLES -t mangle -F ETH1$IPTABLES -t mangle -A ETH1 -p tcp -j LOG --log-prefix " MANGLE_TCP_ETH1 "$IPTABLES -t mangle -A ETH1 -p icmp -j LOG --log-prefix " MANGLE_ICMP_ETH1 "$IPTABLES -t mangle -A ETH1 -j MARK --set-mark 1$IPTABLES -t mangle -N ETH2$IPTABLES -t mangle -F ETH2$IPTABLES -t mangle -A ETH2 -p tcp -j LOG --log-prefix " MANGLE_TCP_ETH2 "$IPTABLES -t mangle -A ETH2 -p icmp -j LOG --log-prefix " MANGLE_ICMP_ETH2 "$IPTABLES -t mangle -A ETH2 -j MARK --set-mark 2$IPTABLES -t nat -N SPOOF_ETH1$IPTABLES -t nat -F SPOOF_ETH1$IPTABLES -t nat -A SPOOF_ETH1 -j LOG --log-prefix " SPOOF_ETH1 "$IPTABLES -t nat -A SPOOF_ETH1 -j SNAT --to ${NET_EXT_IP1}$IPTABLES -t nat -N SPOOF_ETH2$IPTABLES -t nat -F SPOOF_ETH2$IPTABLES -t nat -A SPOOF_ETH2 -j LOG --log-prefix " SPOOF_ETH2 "$IPTABLES -t nat -A SPOOF_ETH2 -j SNAT --to ${NET_EXT_IP2}echo "Setting some local network rules..."$IPTABLES -A INPUT -p icmp -s ${NET_INT_NET}/${NET_INT_SUB} -d ${NET_INT_IP} -j ACCEPTecho "Setting Mangle rules for eth1..."$IPTABLES -t mangle -A OUTPUT -o ! ${NET_INT_INT} -m random --average 50 -j ETH1$IPTABLES -t mangle -A PREROUTING -i ${NET_INT_INT} -m random --average 50 -j ETH1ip ro add table 10 default via ${NET_EXT_GW1} dev ${NET_EXT_INT1}ip ru add fwmark 1 table 10ip ro fl caecho "Setting Mangle rules for eth2..."$IPTABLES -t mangle -A OUTPUT -o ! ${NET_INT_INT} -m random --average 50 -j ETH2$IPTABLES -t mangle -A PREROUTING -i ${NET_INT_INT} -m random --average 50 -j ETH2ip ro add table 20 default via ${NET_EXT_GW2} dev ${NET_EXT_INT2}ip ru add fwmark 2 table 20ip ro fl caecho "Setting up spoofing rules..."$IPTABLES -t nat -A POSTROUTING -o ${NET_EXT_INT1} -j SPOOF_ETH1$IPTABLES -t nat -A POSTROUTING -o ${NET_EXT_INT2} -j SPOOF_ETH2echo "Adding default route..."ip ro add default nexthop via ${NET_EXT_GW1} dev ${NET_EXT_INT1} weight 1 nexthop via ${NET_EXT_GW2} dev ${NET_EXT_INT2} weight 1echo "Disabling Reverse Path Filtering..."echo 0> /proc/sys/net/ipv4/conf/eth1/rp_filterecho 0> /proc/sys/net/ipv4/conf/eth2/rp_filterecho "Enabling IPv4 Packet forwarding..."echo "1"> /proc/sys/net/ipv4/ip_forward
 
Yes, you wont get better ping times. But you can download at nearly double bandwidth.
 
Back