H i: ỏ
ườ ng r t t ử ụ ấ i c quan tôi đang s d ng 2 đ ệ ạ ơ ị ấ ệ ệ ể ụ ủ ắ ủ ng d ch v c a 2 nhà cung c p này mà chúng tôi đ c h ượ ưở ủ ờ ầ ộ ỗ ụ ế ệ ố ỏ ể ử ụ ố ế ị ầ ữ ể ạ t thì cho mình h i đ s d ng d ch v Internet FTTH c a FPT ị t b đ u cu i nào (h tr PPPoE, hay DHCP) ? có config ng FTTH c a FPT thì cho mình ỗ ợ ạ ớ ườ ẫ ề ệ ấ ủ ấ ng ADSL c a VDC và Viettel. Tuy nhiên, ch t Hi n t l . 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 ủ (có th ) thì dùng nh ng thi m u v vi c c u hình Router Cisco 878 ch y v i đ xin v iớ
Tr l i t các thành viên: ả ờ ừ
ơ ộ ữ ấ ở ế ớ ườ ổ ở ệ khi l p đ t (Jul 2006) đ n gi SG, không bi ủ ệ ớ ỹ ế ữ ầ ậ ủ ủ ư ả ả ả ệ ẫ t nh ng n i khác Là m t trong nh ng n i có đ ng FTTH s m nh t ơ ư ỗ 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 đây. Làm vi c v i k thu t c a FPT m y ắ ặ ờ ể ừ ư thay luôn router Zyxel = Cisco và fiber modem c a AMP nh ng tháng nay, ngay c t ả ự đ 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. ế ề i đ i và hy/vô v ng :mad: . H nói trong tu n này h s a ch a nâng c p gì ti p ---> l ấ ọ ẫ ạ ợ ọ ử ử ế ầ ọ
ọ ữ ế ỗ ơ ỉ ọ ố t 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 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 !
ổ
ổ ắ ủ
ISP tĩnh/đ ng ừ ộ
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 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 ườ ợ ấ
ng ADSL. ấ ớ ườ
C u hình Cisco 878 v i đ 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