Sei sulla pagina 1di 3

classes of ip address:

A,B,C,D,E.
class d is used for multicast.A,B,c-public
E for isro,nasa research purpose.
IP number 127 is reserves for loop back or self IP(testing).
subnetmask
'N' can be altered only by the ISP provider
subnet mask of
A-255.0.0.0
B-255.255.0.0
C-255.255.255.0
Class
A-2^24 computers (Network.Host.Host.Host)
B-(N.N.H.H) 2^16
C-(N.N.N.H) 2^8

124.0.0.0(NETWORK ID) amd 124.0.0.255(BRODCAST ID) cannot be used as IP,

router> user mode ADMIN AND PASSWORD


en

router# privilege mode trouble shooting


conf t

router(config)# global configuration mode

int fa0/0-loggin into the router interface

ip add 124.0.0.x 255.0.0.0 -provide ip address

no shut - to load ip address

default gateway is the ip of the interface to which comp is connected

ARP- address resolution protocol( failed first attempt)

ip dhcp pool GK-name of ip pool


network 110.0.0.0 255.0.0.0 (network id)
default-router 110.0.0.1
exit
ip dhcp excluded-address 110.0.0.2 110.0.0.5 (reserving few ip to add ips later
on)

DHCP-dynamic host configuration protocol

clock rate -data flown in a sec default 64000bits

after dhcp cpmmand,


r(config)# int set2/0
ip add 30.0.0.1 255.0.0.0
clock rate 64000
no shut
exit
ip route <indirectly connected nw><subnet mask><next hop ip>

r1
ip route 40.0.0.0 255.0.0.0 30.0.0.3
ip route 50.0.0.0 255.0.0.0 30.0.0.3
ip route 60.0.0.0 255.0.0.0 30.0.0.3

r2
ip route 20.0.0.0 255.0.0.0 30.0.0.1
ip route 60.0.0.0 255.0.0.0 50.0.0.1

STATIC AND DYNAMIC WEBSITES


| |
read only mode has database

www.website.com/login.php?id=1 get method

www.website.com/login.php post method

havij software
sqlmap kali linux/bt5
testphp.vulnweb.com

after get method add "'". if sql stmt appears,the website is hackable.

temp mail

subnetting - avoiding the wastage of ips

class full and class less ip addresses


120.0.0.0 255.0.0.0(class full)

255.255.255.(192) - 196.0.0.0/26
|
class less ip

for subnetting-
1.find num of networks 2^(on bits in the last octant)
2.number of hops 2^(off bits) -2
3.base===256-192 = 64

196.0.0.0 base 1
.
.

196.0.0.62
1960.0.63- broadcast id
196.0.0.64 base 2
.
.
196.0.0.126
196.0.0.127 broadcast
196.0.0.128 base 4
.
.
.

RIP routing information protocol


version 1 and version 2
| |
subnetting not allowed subnetting,vlsm allowed

router rip
version 2
network <directly connected>
exit

terabit virus maker


rootkit
rat

virustotal.com
nyRAT

EIGRP enhanced integral gateway routing protocol


250 routers can be connected

router eigrp <process id>


network <directly connected>
no auto-summary
exit

OSPF open shortest path first


unlimited routers,use wild card mask

Potrebbero piacerti anche