PDA

View Full Version : Cấu hình router thành modem



anhndhp
16-11-2009, 05:11 PM
Mấy anh ơi! Cho em hỏi cái, mình cấu hình thế nào để router thành modem đựơc ạ?

dangquangminh
16-11-2009, 06:55 PM
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R1
!
!
ip subnet-zero
no ip domain-lookup
bridge irb

!-- This command enables the IRB feature on this router.

!
!
!
interface Ethernet0
no ip address
no ip directed-broadcast
bridge-group 1

!-- The interface E0 is in bridge-group 1.

!
Interface Ethernet1
no ip address
no ip directed-broadcast
bridge-group 1

!-- The interface E1 is in bridge-group 1.

!
Interface Serial0
ip address 10.10.20.1 255.255.255.0
no ip directed-broadcast
no ip mroute-cache
no fair-queue
!
interface Serial1
no ip address
no ip directed-broadcast
shutdown
!
interface BVI1
ip address 10.10.10.1 255.255.255.0

!-- An ip address is assigned to the logical BVI for routing


!-- IP between bridged interfaces and routed interfaces.

no ip directed-broadcast
!
ip classless
ip route 10.10.30.0 255.255.255.0 10.10.20.2
!
bridge 1 protocol ieee

!-- This command enables the bridging on this router.

bridge 1 route ip

!-- This command enable bridging as well routing for IP protocol.

!
line con 0
transport input none
line aux 0
line vty 0 4
!
end


bạn xem thêm về IRB ở đây:

http://www.cisco.com/en/US/tech/tk389/tk815/technologies_tech_note09186a0080094663.shtml

anhndhp
16-11-2009, 11:02 PM
Anh ơi, có thể nói rõ hơn được không ạ, nhìn vào file cấu hình trên em chưa hiểu lắm

dangquangminh
17-11-2009, 09:35 AM
đầu tiên bạn hiểu thế nào là modem cái đã.

anhndhp
17-11-2009, 01:46 PM
đầu tiên bạn hiểu thế nào là modem cái đã. Vâng, theo em hiểu là modem là thiết bị nối máy tính với mạng điện thoại công cộng, chức năng chính của nó là chuyển tín hiệu số sang tương tự và ngược lại. Nhưng em không hiểu chức năng cụ thể của nó?