SALAM TO ALL BROTHERS AND SISTERS
PLZ KOI MUJHE LOCAL AREA NETWORKING SIKHA SAKTA HAI WITH PIC SHOOT JIS SEY MUJHE SAMJH A JAY
MEREY PASS 10 PC hain 1 HUB HAIN D-LINK COMPANY AB MAIN INKO KESE CONECT KRO HELP ME
SALAM TO ALL BROTHERS AND SISTERS
PLZ KOI MUJHE LOCAL AREA NETWORKING SIKHA SAKTA HAI WITH PIC SHOOT JIS SEY MUJHE SAMJH A JAY
MEREY PASS 10 PC hain 1 HUB HAIN D-LINK COMPANY AB MAIN INKO KESE CONECT KRO HELP ME
10 cables banaen,easily available in markeet.
sab computer ka unique name rakh dain, my computer ki property main,
computer name kay neechay doosri baar main, workgroup (koi saa bee naam rakh dain) yeh khayal rakhen, kay sab computers main work group same hona chahiay, phir next kar dain, baqi kaam aap ka computer kar day ga. (file printing and sharieng per check laga deejiay ga, jab option poochay ga).
ab tmam pc's ko shut down karen.
cables connect karen,
Hub on karen,
or start kar lain apnay computers.
aap ka local area network bun chuka hay.
eparate Connections using VirtualBox - Host on wireless, virtual machine on wired network
Its no big deal using those two connections on same PC achievable through virtualization. I use VirtualBox to virtualize Windows XP on Ubuntu. You will have to use “host networking” to achieve this. Let me give a brief summary of how I do this.
Install bridge-tools, sudo apt-get install bridge-utils uml-utilities
Here’s how I create a virtual bridge and add eth0 in promiscuous mode to it.
sudo tunctl -t tap0 -u kx
sudo chmod 666 /dev/net/tun
sudo ifconfig eth0 0.0.0.0 promisc
sudo ifconfig tap0 0.0.0.0 promisc
sudo brctl addbr br0
sudo brctl addif br0 eth0
sudo brctl addif br0 tap0
sudo dhclient br0
Now create a new network adapter, attached to host interface and chose interface name tap0. If you have DHCP running on router both host machine and virtual machine will get DHCP address from router or you can configure static IPs.
Restore network as:
sudo ifconfig tap0 -promisc
sudo ifconfig br0 down
sudo brctl delif br0 eth0
sudo brctl delif br0 tap0
sudo brctl delbr br0
sudo tunctl -d tap0
sudo ifconfig eth0 -promisc
sudo dhclient eth0
sudo ifconfig eth0 down
sudo ifconfig eth0 up
Its OK, we can download one file in Virtual Machine and another on host machine @ 256Kbps each. But this is not what we want. We want to download *that single movie* in half the time at 512K
Combining connections on Single Host
Make sure you have removed any bridges or virtual devices from previous section. Just reboot to be sure.
Start configuration: Just make sure both interfaces are up and have IPs. I use WICD to manage my networks on Ubuntu. So quicky “ifconfig” and see if you have 2 IPs. If not, up that interface, “ifconfig eth0 up” and probably get an ip, “sudo dhclient eth0″. I’ll leave this to you guys assuming you’ll be able to do it.
Ok now, Print your initial routing table, “route -e”
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
10.1.1.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
default 10.1.1.1 0.0.0.0 UG 0 0 0 eth0
Now I don’t want 2 default routes so I delete one.
sudo route del default gw 192.168.1.1 eth1
Now all of my traffic goest through 10.1.1.1 which is my wired network. So, grab a torrent client and load that movie. Set max connections per torrent to a figure like 300. Let it download for a few minutes. When it has connected to lets say 50 peers. Browse to peers tab. And just note the relative categories of IPs of peers.
For e.g. In my case almost half were from range 50.X.X.X to 100.X.X.X and rest were from other space. Now all of these connections are going through default gateway from our routing table. All we want to do is add some alternate route for this address space.
Okie Dokie. Stop the download. Here’s the script file I created for the same purpose.
if [ $# -lt 4 ]
then
echo “Error - Range and interface missing $#”
echo “Syntax : $0 start_range stop_range gateway_address interface”
echo “E.g. ./add_range 50 55 192.168.1.1 eth1″
exit 1
fi
for (( i = $1 ; i <= $2; i++ ))
do
sudo route add -net $i.0.0.0 netmask 255.0.0.0 gw $3 $4
done
Copy the above code and save it in a .sh file. For e.g. I run it as
./add_range 50 100 192.168.1.1 eth1
That’s it. Run start the torrent again. Al peers in IP range 50.X.X.X to 100.X.X.X would go through wireless interface and all others through default gateway i.e. wired interface.
Just make sure that the default gateway corresponds to interface. For e.g. in my case 192.168.1.1 -> eth1 and 10.1.1.1 -> eth0
Similarly you can delete some ip ranges.
if [ $# -lt 4 ]
then
echo “Error - Range and interface missing $#”
echo “Syntax : $0 start_range stop_range gateway_address interface”
echo “E.g. ./delete_range 50 55 192.168.1.1 eth1″
exit 1
fi
for (( i = $1 ; i <= $2; i++ ))
do
sudo route del -net $i.0.0.0 netmask 255.0.0.0 gw $3 $4
done
You can keep on dynamically adding routes to balance no of connections over two interfaces. You are in control
http://itdunya.com/showthread.php?t=47615
great sharing
KHANzzzz hai jaan Main apka Buhat shukar Guzar hoon but agr app mujhe ENGLISH K BAJAY URDU MAIN BATA DEY WITK IMAGES TU I M VERY THNKFUL 2 U
Brother Ye sub tu thik hai
mujhe ye bata do k main ney Computer main lan card laga diye hain driver install kr diye hain Lan card k Hub laga kr wires bhi laga di hai har aik pc ko hub sey nikal kr
ab onko kese connect kro plz some details in screen shots
Lan card setting kese krni hai
Ip address setting kese krni hai
ASSALAM O ALIKUM BROTHER
aap apny Router ko sab see Pehly Configure karin aur us main see aik cable Switch Main laga dein us ke baad aap ko kise bhi setting ke Zaroorat nahi parey ge ...
AGR aap ke Main system main Modem card hai aur us see aap sharing karna cahty hain tu aap Apny Connection ko Share karwa Dein
App ke Lan Card par Khud ba khud aik Network BaN JAYE GA Tu Ap apny us Lan Card see aik Cable Le kar Switch Main laga Dein aur sab system main aap ko Static IP dalney hon gey
Like aap ka Jo Network Main system par baney ga wo Kuch Youn Hoga
Ip Address 192.168.0.1
Subnet Mask 255.255.255.0
Ab aap nee apny Next System main ye Setting Karni hai
Ip Address 192.168.0.2
Subnet Mask 255.255.255.0
Getway 192.168.0.1
Aisey hi Next System main aap IP address Main Izafa kartey jain like
192.168.0.3
192.168.0.4
192.168.0.5
Etc,,,,
thnx Brother Thnx To All Brothers And Sister,s
sorry mgsoftsys meh urdu zaida nahi janta kiyon ke meh neh apni life meh 8 years aboard guzaray hain to urdu meh explanation little difficult brother sorry
Koi BAAT NHI KHANZZzzzz BHAI JAAN Mere Liye Yehi Buhat hai K app meri HAr Martaba Mushkil Waqt Main Help Krte hain
THNX brother
Bhai Jaan app Pakistan kab a rhe ho
Bookmarks