Cấu hình Cisco 1841 ra internet
Mô hình:
Cấu hình Cisco 1841 để PC ra internet thông qua ADSL Router
interface FastEthernet0/0
ip address 192.168.0.1 255.255.255.0
ip nat inside
ip virtual-reassembly
duplex a
speed auto
!
interface FastEthernet0/1
ip address 192.168.1.125 255.255.255.0
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
router rip
network 192.168.0.0
network 192.168.1.0
!
ip route 0.0.0.0 0.0.0.0 192.168.1.1
!
!
ip http server
no ip http secure-server
ip nat inside source list 1 interface FastEthernet0/1 overload
!
access-list 1 permit any
!
!
!
!
control-plane
!
!
line con 0
line aux 0
line vty 0 4
login
!
scheduler allocate 20000 1000
end
Chỗ in đậm là bạn phải cấu hình. Chúc bạn thành công!

