Xin chào các anh chị,
Tôi có cisco 2514 và và 1 line ADSL. Tôi muốn dùng router 2514 để làm firewall. Tôi đã config router như sau
Current configuration:
!
version 11.2
service timestamps debug uptime
service timestamps log uptime
no service udp-small-servers
no service tcp-small-servers
!
hostname Cisco2514
!
enable password cisco
!
ip subnet-zero
no ip domain-lookup
!
interface Ethernet0
description connected to FireWall_LAN
ip address 172.16.1.2 255.255.255.0
!
interface Ethernet1
description connected to ADNCO_LAN
ip address 10.0.0.1 255.255.255.0
--More-- !
interface Serial0
no ip address
shutdown
!
interface Serial1
no ip address
shutdown
!
router rip
version 2
network 172.30.0.0
network 10.0.0.0
no auto-summary
!
no ip classless
ip route 0.0.0.0 0.0.0.0 10.0.0.2
ip route 10.0.0.0 255.255.255.0 Ethernet0
ip route 10.10.10.0 255.255.255.0 Ethernet0
ip route 172.16.1.0 255.255.255.0 Ethernet0
--More-- !
line con 0
exec-timeout 0 0
password cisco
login
line aux 0
line vty 0 4
password cisco
login
!
end
Với config như thế thì nếu tôi set cho PC[sử dụng Win XP]
IP: 172.16.1.3
Subnetmask: 255.255.255.0
Gateway: 172.16.1.1 or 10.0.0.1 or 10.0.0.2 vẫn không access được internet
Nếu tôi set cho PC:
IP: 10.0.0.3
Subnetmask: 255.255.255.0
Gateway: 172.16.1.1 or 10.0.0.1 or 10.0.0.2 (1 trong 3 cái vẫn vô tư access internet.)
Như thế lý do là sao??
Ngoài ra để làm firewall yôi còn phải config thêm cho router 2514 thế nào??
Các anh chị tiếp tục giúp tôi nha..
Cám ơn các anh chị đã đọc bài viết..






Reply With Quote