0% found this document useful (0 votes)
13 views2 pages

Cau Hinh

Uploaded by

sonlqd12a4
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views2 pages

Cau Hinh

Uploaded by

sonlqd12a4
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Buoc 1.

Dat IP cho nguyen mo hinh

HANOI(config)#interface fastEthernet 1/0


HANOI(config-if)#ip address 192.168.1.1 255.255.255.0
HANOI(config-if)#no shutdown

HANOI(config)#interface fastEthernet 0/0


HANOI(config-if)#ip address 1.1.1.1 255.255.255.0
HANOI(config-if)#no shutdown

ISP(config)#interface fastEthernet 0/0


ISP(config-if)#ip address 1.1.1.2 255.255.255.0
ISP(config-if)#no shutdown

ISP(config)#interface fastEthernet 1/0


ISP(config-if)#ip address 2.2.2.2 255.255.255.0
ISP(config-if)#no shutdown

SAIGON(config)#interface fastEthernet 0/0


SAIGON(config-if)#ip address 2.2.2.3 255.255.255.0
SAIGON(config-if)#no shutdown

SAIGON(config)#interface fastEthernet 1/0


SAIGON(config-if)#ip address 192.168.2.1 255.255.255.0
SAIGON(config-if)#no shutdown

Buoc 2. Tao tunnel GRE

HANOI(config)#interface tunnel 1
HANOI(config-if)#ip address 10.10.10.10 255.255.255.0
HANOI(config-if)#no shutdown
HANOI(config-if)#tunnel source fastEthernet 0/0
HANOI(config-if)#tunnel destination 2.2.2.3

interface tunnel 1
ip address 10.10.10.10 255.255.255.0
no shutdown
tunnel source fastEthernet 0/0
tunnel destination 2.2.2.3

SAIGON(config)#interface tunnel 1
SAIGON(config-if)#ip address 10.10.10.20 255.255.255.0
SAIGON(config-if)#no shutdown
SAIGON(config-if)#tunnel source fastEthernet 0/0
SAIGON(config-if)#tunnel destination 1.1.1.1

interface tunnel 1
ip address 10.10.10.20 255.255.255.0
no shutdown
tunnel source fastEthernet 0/0
tunnel destination 1.1.1.1

Buoc 3. Cau hinh default ve ISP

HANOI(config)#ip route 0.0.0.0 0.0.0.0 1.1.1.2

ip route 0.0.0.0 0.0.0.0 1.1.1.2

SAIGON(config)#ip route 0.0.0.0 0.0.0.0 2.2.2.2


ip route 0.0.0.0 0.0.0.0 2.2.2.2

Buoc 4. Cau hinh dinh tuyen OSPF

HANOI(config)#router ospf 1
HANOI(config-router)#network 192.168.1.0 0.0.0.255 area 0
HANOI(config-router)#network 10.10.10.0 0.0.0.255 area 0

router ospf 1
network 192.168.1.0 0.0.0.255 area 0
network 10.10.10.0 0.0.0.255 area 0

SAIGON(config)#router ospf 1
SAIGON(config-router)#network 192.168.2.0 0.0.0.255 area 0
SAIGON(config-router)#network 10.10.10.0 0.0.0.255 area 0

router ospf 1
network 192.168.2.0 0.0.0.255 area 0
network 10.10.10.0 0.0.0.255 area 0

You might also like