Documente Academic
Documente Profesional
Documente Cultură
(Config)# ip routing
(Config-router)# ip route 0.0.0.0 0.0.0.0 dialer 1 2
(Config)# ip name-server 202.54.30.2
(Config)# ip name-server 202.54.2.30
(Config)# int E 0
(Config-if)# ip nat inside
(Config-if)# no shut
(Config-if)# exit
ISP
S 0 172.16.1.1 172.16.1.2 S 0
Bri 0
ISP CPE/DTE
E 0 1.50 E 0 5.50
1.4 1.1 5.4 5.1
1.3 1.2 5.3 5.2
(Config)# int S 0
(Config-if)# ip address 172.16.1.1 255.255.0.0
(Config)# ip routing
(Config-router)# ip route 0.0.0.0 0.0.0.0 S 0
(Config-router)# ip route 0.0.0.0 0.0.0.0 dialer 1 2
(Config)# int E 0
(Config-if)# ip nat inside
(Config-if)# no shut
(Config-if)# exit
(Config)# int S 0
(Config-if)# backup interface bri 1/0
(Config-if)# backup delay 30 60
Frame Relay
Point - to - Point
frame-relay Network
S 0 172.16.1.1 172.16.1.2 S 0
Router A Dlci 101 Dlci 102 Router B
PVC
Fr-Switch Fr-Switch
E 0 1.50 E 0 5.50
1.4 1.1 5.4 5.1
1.3 1.2 5.3 5.2
Config t
(Config)# int S 0
(Config-if)# no ip address
(Config-if)# encapsulation frame-relay
(Config-if)# no shut
(Config-if)# exit
(Config)# ip routing
(Config)# ip route 192.168.5.0 255.255.255.0 172.16.1.2
Point - to - Multi Point
4.0
10.0.0.1
104 102
A C
101
B 10.0.0.3
2.0
Configuration of Router A
--------------------------------
Config t
(Config)# int S 0
(Config-if)# no ip address
(Config-if)# encapsulation frame-relay
(Config-if)# no shut
(Config-if)# exit
(Config)# ip routing
(Config)# ip route 192.168.2.0 255.255.255.0 10.0.0.3
(Config)# ip route 192.168.4.0 255.255.255.0 10.0.0.1
(Config)# ip route 192.168.5.0 255.255.255.0 10.0.0.2
Point-to-Point - Point-to-Point
172.16.1.2 4.0
101
10.0.0.3
2.0
Configuration of Router A
--------------------------------
Config t
(Config)# int S 0
(Config-if)# no ip address
(Config-if)# encapsulation frame-relay
(Config-if)# no shut
(Config-if)# exit
(Config-if)# bandwidth 64
(Config-if)# clock rate 56000
(Config-if)# frame-relay map ip 161.16.1.2 102 broadcast
(Config-if)# exit
(Config)# ip routing
(Config)# ip route 172.16.0.0 255.255.0.0
Iso
International organization for standardization
Iso has designed a reference model called osi reference model
(open system interconnection). It has 7 layers. It says that
Any n/w for comunication needs 7 layers
1. Application layer
The user uses application layer to send the data. The protocols
@ this layer are ftp,http,smtp(e-mail) telenet etc.
2. Presentation layer
Presentation layer takes the data from application layer and present
In different formats for securing reason. The services offered @
This layer are
Compression – decompression
Coding – decoding
Encryption - decryption
3. Session layer
Establishing the session or the conectivity n/w n/w 1 & n/w 2 is done
By the session layer.
It 1. Establishes a session
2. maintains it &
3. Terminates it b/w the application
4. Transport layer
End-end connectivity during a session b/w two application is done
By the transport layer. It also decides the type of connection like tcp
or udp i.e. connection oriented or connection less.
Services:
Sequencing
Flow ctrl, error detection & correction
Transport layer info + data is called segment.
5. Netwrok layer
Logical addressing is done at thenetwork layer i.e. source address &
destination address are attached to the data.
Protocols @network layer
Routed protocols: they always carry the data along with them
Routing protocol: they identify the path for routed protocol to
carry the data
At this layer routers & layer 3 switches forms packets.
Data link layer
MAC LLC
Media access control logical link control framing of
data
Ip address is lik the pincode & MAC address is like house number.
Here layer2 switches are used.
Wab protocols used at this layer are PPP,HDLC,FP,X.25 etc.
Here error checking CRC bits are added to the packets
DLL info+ packets --> frames
7 physical layer
Takes care of physical connectivity i.e connector,cable etc. here
Frames are converted to bits (1’s & 0’s).
The devices like hubs, repeaters,cables & connectors are used at
this layer.
I P Addressing
Now a days ip ver4 is followed. It is a 32-bit addressing scheme.
32bits are divided into 4 octets of 8 bits each.
i.e 8-8-8-8. i.e (1’s & 0’s)-(1’s & 0s)-(1’s & 0’s)-(1’s & 0’s).
(binary format). The ip address is maximum of 255 & min of 0.
In future ip ver 6 is expected. It is 128 bit scheme.
Ip adresses are clsassified into different classes.
Class A 0 - 127
Class B 128 - 191
Class C 192 - 223
Class D 224 - 239
Class E 240 - 255
8-8-8-8
M.S.O Most Significant Ocate considering MSO
Through out class A, the MSB ‘0’ is constant in class B the
Msbs are ‘101’ constant through out.
Class D & E are not used for internetworking class D is used for
Multicast network.
“ E “ “ “ research.
class A
0-0-0-0 should not be assigned for any divice
127-0-0-0 is reserved for loopback
127-0-0-1
127-0-0-”
127-0-0-” usually reserved for loopback
127-0-0-”
127-255-255-254
Hence 0 & 127 cannot be used for adressing so actual range will be
1 to 126.
All ip addresses are divided into two.
1.network I.d
2.host I.d
in class a address there is 1n\w I.d postion & 3 host I.d postion I,e
N-H-H-H..
Class A N-H-H-H
Class B N-N-H-H
Class C N-N-N-H
Public network: the public address is defined with routing over the
Internet it is given by I.S.P & routing table is created on the internet.
Private network: for internal network I,e intranet, all the ip addresses
Are governed by a body called INTERNIC. If we are a part of asia
Pacefic then it is governed by APNIC.
We can run our private network with any ip addresses of our choice
But it should not be connected to internet.
Range of addresses for private network
Class A 10.0.0.0 to 10.255.255.255
Class B 172.16.0.0 to 172.31.255.255
Class C 192.168.0.0 to 192.168.255.255
Functions of switch
1. Adress learning
2. Filter & forwarding
3. Loop avoidance
1. Address learning
Booting 1.blocking state (15 secs)
2.Listening state (15 secs)
3.Learning stage (20 secs)
4.Forwarding stage (20 secs)
The switch will always learn the MAC address from the source itself
The source should atleast communicate once to learn the MAC address.
telco
vn3/vn4 ss7 basic net3
France India
E-series, I-series & Q-series
E-tells about telephone network & ISDN network
I-tells about concepts & interfaces of ISDN
Q-tells about signalling & switching of ISDN
DDR
Dail on Demand Routing
The main feature of ISDN is it dials & connects on request &
Discounects when no data transfer is taking place.
nat (network address translation
IP NAT inside
IP NAT out side
overload
IPNAT inside: any request from th internal network will be NATED
To public Ip address sending the request from internal network
To Bri interface is overloading.
When ever NAT is enable, the router will maintain a nat table.
Nat table:
Sh isdn active
Sh isdn history
Sh ip network translaiton