SICT MMT Lab 4
SICT MMT Lab 4
Diagram
• 192.168.0.0/23 192.168.0.1 F0/1 (Router) F0/0 6.9.6.10 6.9.6.9 Internet
• 192.168.2.0/23 192.168.2.1 E0/0/0 (Router) F0/0 6.9.6.10 6.9.6.9 Internet
• 192.168.4.0/23 192.168.4.1 E0/1/0 (Router) F0/0 6.9.6.10 6.9.6.9 Internet
Enable Interfaces (ports) & Assign IPs
• Router CLI Answer: No
Router> enable //jump from user mode to privileged mode
Router# configure terminal //enter global configuration mode
Router(config)# interface f0/1 //enter port F0/1
Router(config-if)# no shutdown //open port
Router(config-if)# ip address 192.168.0.1 255.255.254.0 //assign IP
Router(config-if)# interface f0/0
Router(config-if)# no shutdown
Router(config-if)# ip address 6.9.6.10 255.255.255.0
//Similarly to E0/0/0 va E0/0/1
Router(config-if)# exit
Router(config)#
Static Routing (Default Route)
• Khi không tìm thấy đường đi trong bảng định tuyến thì router sẽ
chuyển tiếp lưu lượng ra tuyến ngầm định (default route) hay còn gọi
là con đường cuối cùng (the last resort)
• Thông thường default route dành cho Internet
• When no path is found in the routing table, the router forwards traffic
to the default route or the last resort.
• Normally, the default route is configured for Internet
Router(config)# ip route 0.0.0.0 0.0.0.0 6.9.6.9 //point to Internet
ISP(config)# ip route 0.0.0.0 0.0.0.0 6.9.6.10 //point to Router