Tải bản đầy đủ (.doc) (8 trang)

Kiến thức về kết nối cáp quang pot

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (78.6 KB, 8 trang )

Hỏi:
Hiện tại cơ quan tôi đang sử dụng 2 đường ADSL của VDC và Viettel. Tuy nhiên, chất
lượng dịch vụ của 2 nhà cung cấp này mà chúng tôi được hưởng rất tệ. Hiện chúng tôi
đang cân nhắc chuyển sang dùng dịch vụ FTTH của FPT. Nhờ các AE đã sử dụng đánh
giá giúp. Mình đang có yêu cầu design hệ thống mạng cho một chuỗi cafe internet, anh
em nào biết thì cho mình hỏi để sử dụng dịch vụ Internet FTTH của FPT (có thể) thì
dùng những thiết bị đầu cuối nào (hỗ trợ PPPoE, hay DHCP) ? có config mẫu về việc
cấu hình Router Cisco 878 chạy với đường FTTH của FPT thì cho mình xin với
Trả lời từ các thành viên:
Là một trong những nơi có đường FTTH sớm nhất ở SG, không biết những nơi khác thì
sao chứ chúng tôi đang khổ sở vì cái chuyện dis connection của nó hầu như mỗi ngày, kể
từ khi lắp đặt (Jul 2006) đến giờ đây. Làm việc với kỹ thuật của FPT mấy tháng nay,
ngay cả tự thay luôn router Zyxel = Cisco và fiber modem của AMP nhưng đến ngày
hôm nay tình hình vẫn chưa cải thiện mà tiền vẫn phải trả hàng tháng 6tr6. Họ nói trong
tuần này họ sửa chửa nâng cấp gì tiếp > lại đợi và hy/vô vọng :mad: .
Hy vọng là chỉ có mình chỗ tui bị như vậy. Bạn hỏi tiếp những nơi khác, nếu họ tốt hơn
thì cho tui biết để học hỏi kiếm cách khắc phục.
Tóm tắt kinh nghiệm đã trãi qua:
Good:
+ very fast (<=1ms) chỉ khi kết nối đến FPT's servers
Bad:
+ Lost connection almost daily, several times!!!!!
+ very slow when going out to Internet, sometime slower than ADSL.
Cấu hình mẫu dùng router Cisco:
Client#sh run
Building configuration
Current configuration : 1596 bytes
!
version 12.2
!
hostname Client


!
vpdn enable
!
vpdn-group 1
request-dialin
protocol pppoe
!
interface Loopback0
ip address 10.10.10.10 255.255.255.0//thay cho cổng LAN bên trong
ip nat inside
!
interface Ethernet0/0 < cổng gắn vào cáp quang của FPT
no ip address
half-duplex
pppoe enable
pppoe-client dial-pool-number 1
!
interface Dialer1
mtu 1492
ip address YOUR_IP_FROM_ISP < IP xin từ ISP tĩnh/động
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
!
ip nat inside source list 100 interface Dialer1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
ip http server
!

!
access-list 1 permit 10.10.10.0 0.0.0.255
dialer-list 1 protocol ip permit
!
end
Trường hợp cấu hình load balancing cho nhiều đường FTTH
Router 2851
!
no aaa new-model
!
ip cef
!
no ip domain lookup
ip name-server 203.162.0.181
ip name-server 222.255.250.190
vpdn enable
!
vpdn-group pppoe
!
track 1 interface Dialer0 ip routing
delay down 1 up 1
!
track 2 interface Dialer1 ip routing
delay down 1 up 1
!
track 3 interface Dialer2 ip routing
delay down 1 up 1
!
track 4 interface vlan3 ip routing
delay down 1 up 1

!
interface GigabitEthernet0/0
description Local Inside
ip address
ip nbar protocol-discovery
ip nat inside
ip virtual-reassembly
ip route-cache flow
!
interface GigabitEthernet0/1
description FPT2
no ip address
ip virtual-reassembly
ip tcp adjust-mss 1344
duplex auto
speed auto
pppoe enable group pppoe
pppoe-client dial-pool-number 1
!
interface FastEthernet0/0/0 (Card HWIC SW4Ethernet)
description FPT1
switchport access vlan 2
pppoe enable group global
pppoe-client dial-pool-number 2
!
interface FastEthernet0/0/1 (Card HWIC SW 4 Ethernet noi voi kenh LeasedLine)
description Connect to LL
switchport access vlan 3
!
interface FastEthernet0/0/2

!
interface FastEthernet0/0/3
!
interface ATM0/1/0
description ADSL
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
pvc 0/35
pppoe-client dial-pool-number 3
!
!
interface Vlan1
no ip address
!
interface Vlan2
no ip address
ip tcp adjust-mss 1344
pppoe enable group global
pppoe-client dial-pool-number 2
!
interface Vlan3
description Connect to LL
ip address
ip nat outside
ip virtual-reassembly
interface Dialer0
description FPT2
mtu 1492
ip address negotiated

no ip redirects
ip nat outside
no ip virtual-reassembly
encapsulation ppp
dialer pool 1
ppp authentication pap callin
ppp pap sent-username password
!
interface Dialer1
description FPT1
mtu 1492
ip address negotiated
no ip redirects
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 2
ppp authentication pap callin
ppp pap sent-username password
!
interface Dialer2
description ADSL
mtu 1942
ip address negotiated
ip nat outside
no ip virtual-reassembly
encapsulation ppp
dialer pool 3
ppp chap hostname
ppp chap password

ppp pap sent-username password
!
interface Group-Async0
physical-layer async
no ip address
encapsulation slip
shutdown
no group-range
!
router ospf 1
log-adjacency-changes
network area 0
default-information originate always
!
ip route 0.0.0.0 0.0.0.0 Dialer0 track 1
ip route 0.0.0.0 0.0.0.0 Dialer1 track 2
ip route 0.0.0.0 0.0.0.0 Dialer2 track 3
ip route 0.0.0.0 0.0.0.0 Vlan3 track 4
!
ip http server
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
ip nat inside source route-map FPT1 interface Dialer0 overload
ip nat inside source route-map FPT2 interface Dialer1 overload
ip nat inside source route-map ADSL interface Dialer2 overload
ip nat inside source route-map LL interface Vlan6 overload
!
route-map FPT1 permit 10
match interface Dialer0

set interface Dialer0
!
route-map FPT2 permit 20
match interface Dialer1
set interface Dialer1
!
route-map ADSL permit 30
match interface Dialer2
set interface Dialer3
!
route-map LL permit 40
match interface vlan3
set interface vlan3
!
control-plane
!
end
Trường hợp cấu hình dùng interface vlan
Cấu hình Cisco 878 với đường ADSL.
ADSL#sh run
Building configuration
Current configuration : 1353 bytes
!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname ADSL

!
boot-start-marker
boot-end-marker
!
enable password xxxxxx
no aaa new-model
!
resource policy
!
ip subnet-zero
ip cef
!
!
vpdn enable
!
!
!
!
username admin
!
!
controller DSL 0
line-term cpe
!
!
!
!
interface BRI0
no ip address
encapsulation hdlc

shutdown
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Vlan1
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly
pppoe enable group global
pppoe-client dial-pool-number 1
!
interface Dialer1
mtu 1492
ip address negotiated
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication pap callin
ppp pap sent-username xxxxx password 0 xxxxxx
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1

!
no ip http server
no ip http secure-server
ip nat inside source list 1 interface Dialer1 overload
!
access-list 1 permit 192.168.1.0 0.0.0.255
dialer-list 1 protocol ip permit
dialer-list 100 protocol ip permit
!
control-plane
!
!
line con 0
password xxxxx
login
no modem enable
line aux 0
line vty 0 2
password xxxxx
login
line vty 3 4
login
!
scheduler max-task-time 5000
end
ADSL#ping 203.162.4.1 source 192.168.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 203.162.4.1, timeout is 2 seconds:
Packet sent with a source address of 192.168.1.1
!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 32/32/32 ms

×