Wednesday, May 7, 2014

how to open interface on router and give to it ip !


In this Tutorial I will show you to how to open interface on router and give to it ip !


First look at this pic :

     


We can see :

Employees_Router (give it ip 192.168.15.1 and subnet mask 255.255.255.0)


Pc Name
Ip Address
Subnet Mask
Emp_1 192.168.15.2 255.255.255.0
Emp_2 192.168.15.3 255.255.255.0
Emp_3 192.168.15.4 255.255.255.0
Emp_4 192.168.15.5 255.255.255.0


Lets start and show you how to give it all this devices ips and open interface on router first go to router then enter to global configuration mode (if you don't know how to go to global configuration mode resume this lesson please here




Then type : interface f2/0  like that
Employees(config)#interfac f2/0 then enter

Give ip for this interface by typing :
Ip address 192.168.15.1 255.255.255.0

Then type no shutdown

Now it will appeare for you message tell you Fastethernet2/0 changed state to up like this pic


Notes : 

you can disable this message by go to gloable configuration mode and enter to line console 0 then type logging syncronous

like this picture  :





If you want to verify the interface type :
Show ip interface brief




Now go to vpcs to configure ips to pcs to enable ping between eachother if you don't how please check it here







Emp_1 ip 192.168.15.2 192.168.15.1 255.255.255.0
Emp_2 ip 192.168.15.3 192.168.15.1 255.255.255.0
Emp_3 ip 192.168.15.4 192.168.15.1 255.255.255.0
Emp_4 ip 192.168.15.5 192.168.15.1 255.255.255.0


after you can test to ping between eachther pcs



Enjoy !

Thursday, May 1, 2014

How to install VPCS under linux Ubuntu Add pcs on gns3 !

In this Tutorial I will show to you configure VPCS to add Pcs and configure Ips for Pcs devices ..

 first download VPCS from here  





After downloaded you should go to direction : cd /home/username/Downloads/

Then   unzip vpcs-0.21a.zip


Now go to    cd 0.21a/

Then ls
Then change mode to excutable like that : chmod +x vpcs (32 or 64)

After that type ./vpcs(64 or 32)






Now it will be start like that :

VPCS[1]>
Type 1 for pc1
Type 2 for pc2
Type 3 for pc3
Type 4 for pc4
….








If you want to give ip and subnet mask and gateway like this you should type :

Ip then ip-range then default gateway then subnetmask like that :




Ip 192.168.15.2 192.168.15.1 255.255.255.0


after that type : VPCS[1]> show

  to apply all your ips and see what is the LPORT and RPORT ( this import will see later )







Now go to open your gns3 project and go to Edit and choose Symbol manager and choose computer and press on > button to add this to customized nodes and press on computer  double click to change the name of this device now go to the top  in the Name : and change name to anyname you want and choose from Type : and change it to cloud then press on apply then  press on ok  ..

now press on the pc it will be appearing for you like this pic



then press on the name of your pc for example press on Emp_1 as you could see the pic

go to NIO UDP like this pic







Now you can touch my Notes about (( LPORT and RPORT )) look at your VPCS to see whats your LPORT and RPORT and vice versa those it mean put LPORT number on RPORT  number  and put RPORT on LPORT number and in Remote  host type your localhost or 127.0.0.1 then press on  Add  button then Apply then ok Now you are done !



Enjoy !