Read-only archive. Login and posting are unavailable.
Reply
 
Thread Tools
  #1  
Old 02-03-2013, 08:46
clone's utopi's Avatar
Senior Member
Join Date: 09-2011
Posts: 171
router và server

vô ngay vấn đề chính, các bác cho mình hỏi :
1: công ty mình có 1 con router của cisco, giờ nối mạng thì phải làm sao. Cũng cắm cổng line điện thoại vô router rồi dùng hay là bên isp nó cho mình đường dây khác!
2: mình có 1 con server để chạy web, vậy phải config kiểu gì! bác nào biết thì chỉ dẫn các bước chính là ok lắm rồi!
thank các bác trước!
Reply With Quote
  #2  
Old 02-03-2013, 09:17
prescolt's Avatar
Senior Moderator
Join Date: 07-2006
Posts: 9,511
Re: router và server

Quote:
Originally Posted by clone's utopi View Post
vô ngay vấn đề chính, các bác cho mình hỏi :
1: công ty mình có 1 con router của cisco, giờ nối mạng thì phải làm sao. Cũng cắm cổng line điện thoại vô router rồi dùng hay là bên isp nó cho mình đường dây khác!
2: mình có 1 con server để chạy web, vậy phải config kiểu gì! bác nào biết thì chỉ dẫn các bước chính là ok lắm rồi!
thank các bác trước!
internet thi cung chi la mang, mà mạng thì phải có line để cắm, cái internet mà bạn nói là ADSL, nếu muốn chi phí rẻ thì dùng mạng cáp quang xong đấu nối tu line đó vô router và routing cho mạng nội , còn sang thì keu mot duong leaserline về
- webserver linux thi cần : apache/nginx/lightspeed ,Php (php-cgi,fast-cgi), ....tùy nhu cầu sử dụng mà sư dung windows hay linux
Reply With Quote
  #3  
Old 02-03-2013, 09:36
clone's utopi's Avatar
Senior Member
Join Date: 09-2011
Posts: 171
Re: router và server

^ thank bác!
Reply With Quote
  #4  
Old 02-03-2013, 12:55
it.thuongnguyen's Avatar
Đã tốn tiền
Join Date: 03-2008
Posts: 681
Re: router và server

Cấu hình ADSL cho router cisco

Tham khảo nha bác

Quote:
hostname Router
!
!
enable password xxxxxxxxxx
no aaa new-model
ip subnet-zero
ip cef
!
!!!!! Configure Router as PPPoE Client to the ISP
vpdn enable
!
vpdn-group 1
request-dialin
protocol pppoe
!!!!!
!
!
!
interface Ethernet0
description My LAN Interface
ip address 10.10.10.1 255.255.255.0
!!!! When NAT/PAT occurs, this interface is the source candidate (inside local)
ip nat inside
!!!!
no ip mroute-cache
no cdp enable
!
interface Ethernet1
description Physical ADSL Interface (Facing the ISP)
no ip address
no ip mroute-cache
!!!! Ties this interface to the Dialer interface
pppoe enable
pppoe-client dial-pool-number 1
!!!!
no cdp enable
!
interface Serial0
no ip address
no ip mroute-cache
shutdown
no cdp enable
!
interface Serial1
no ip address
no ip mroute-cache
shutdown
no cdp enable
!
interface Dialer1
description Logical ADSL Interface
ip address negotiated
ip mtu 1492
!!!! When NAT/PAT occurs, this interface is the destination candidate (inside global)
ip nat outside
!!!!
encapsulation ppp
ip tcp adjust-mss 1452
no ip mroute-cache
!!!!! Ties this logical interface to the proper physical interface
dialer pool 1
!!!!!
!!!!! Passing the protocol allowed by the "dialer-list" command
dialer-group 1
!!!!!
no cdp enable
ppp authentication chap pap callin
ppp chap hostname [your username, provided by ISP]
ppp chap password 0 [your username password, given by ISP]
ppp pap sent-username [the username] password 0 [the password]
!!!! Default Gateway to the ISP
ppp ipcp route default
!
ppp ipcp dns request accept
ppp ipcp address accept
!
!!!! PAT subnets allowed by the ACL 10
ip nat inside source list 10 interface Dialer1 overload
!!!!
no ip http server
ip classless
!!!!
!
!
!!!! ACL 10 determines which subnet to be PATed
access-list 10 permit 10.10.10.0 0.0.0.255
!!!!
!!!! Determine which protocol to pass through
dialer-list 1 protocol ip permit
!!!!
no cdp run
!
!
!
line con 0
exec-timeout 120 0
stopbits 1
line vty 0 4
exec-timeout 0 0
login local
length 0
!
scheduler max-task-time 5000
end
public web server
Quote:
version 12.2
no parser cache
no service single-slot-reload-enable
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
enable secret 5 $1$QCbf$D7PDt6pAZek52ln8EFJt2/
!
hostname outside-filter
!
!
no ip dhcp-client network-discovery
no ip http server
no ip domain-lookup
ip subnet-zero
ip classless
!
!
! DMZ interface
interface Ethernet0
ip address 10.10.10.1 255.255.255.0
ip nat inside
!
! ISP interface
interface Ethernet1
ip address 216.93.82.8 255.255.255.240
ip nat outside
!
!
! Default route to ISP's gateway
ip route 0.0.0.0 0.0.0.0 216.93.82.1
! Static route to inside filter router (internal LAN traffic)
ip route 172.17.0.0 255.255.0.0 10.10.10.2
!
!
! Allow traffic from internal LAN out
access-list 1 permit 172.17.0.0 0.0.255.255
!
ip nat inside source list 1 interface Ethernet1 overload
! Send incoming SMTP mail traffic Solaris box
ip nat inside source static tcp 10.10.10.5 21 216.93.82.8 25 extendable
! Send incoming Web traffic to Debian box
ip nat inside source static tcp 10.10.10.3 80 216.93.82.8 80 extendable
!
!
line con 0
exec-timeout 30 0
stopbits 1
line vty 0 4
no login
!
no scheduler allocate
end
Đọc kỹ config và thay mấy cái thông tin của mình vào nhé. Như IP username password .....
__________________
YM: it.thuongnguyen MAIL: it.thuongnguyen@gmail.com
Reply With Quote
  #5  
Old 02-03-2013, 12:55
it.thuongnguyen's Avatar
Đã tốn tiền
Join Date: 03-2008
Posts: 681
Re: router và server

Không khó cũng không dễ, khó khi bác chưa biết gì về config cisco dễ nếu bác config vài lần.

Config web server kiểu gì ? thì cỏn tùy bác. Windows hay linux ... nhiều thứ lắm
__________________
YM: it.thuongnguyen MAIL: it.thuongnguyen@gmail.com
Reply With Quote
  #6  
Old 02-03-2013, 13:52
TND's Avatar
TND TND is offline
Senior Member
Join Date: 05-2010
Posts: 5,032
Re: router và server

uậy dùng router cisco cho mạng adsl, bác chủ top chơi quá. Bác đang dùng con router gì thế Mà sao lại dùng adsl để làm webserver
__________________
Rồ Nga chuyên nghiệp + Chiến sĩ trung kiên trên mặt trận chống đồng tính Việt Nam và Thế giới
Reply With Quote
  #7  
Old 02-03-2013, 15:33
it.thuongnguyen's Avatar
Đã tốn tiền
Join Date: 03-2008
Posts: 681
Re: router và server

Quote:
Originally Posted by TND View Post
uậy dùng router cisco cho mạng adsl, bác chủ top chơi quá. Bác đang dùng con router gì thế Mà sao lại dùng adsl để làm webserver
Ha ha em đang dùng 2821 cho FPT Adsl đây ? nhưng tháo ra rùi, kêu to quá tối ngủ không được ... he he bác nào dùng đồ cisco biết nó kêu to như thế nào ! nhưng bù lại nó chạy cực ngon.

Đánh giá thì em vẫn vote cho con zyxel 8 năm tuổi. Cấu hình đơn giản, ít tốn điện và êm vì không có quạt. MOD cho no mấy cái tản nhiệt chạy phà phà.

Em không để ý lắm, xem kỹ mới thấy câu hỏi không hợp lý. Nếu dùng megawan thì còn có lý. Nếu megawan thì config trên không chạy đâu.. hi hi
__________________
YM: it.thuongnguyen MAIL: it.thuongnguyen@gmail.com
Reply With Quote
  #8  
Old 02-03-2013, 16:54
clone's utopi's Avatar
Senior Member
Join Date: 09-2011
Posts: 171
Re: router và server

mình chuẩn bị phỏng vấn vào 1 chỗ, dự là phải làm những việc này nên hỏi
lâu nay chỉ học ccna, config mấy cái router nhưng chưa bao giờ làm ngoài thực tế, chả biết phải nối mạng rồi config kiểu gì nên hỏi
còn cái server thì chắc là phải dựng vài cái chạy phần mềm với web
Reply With Quote
  #9  
Old 02-03-2013, 18:05
K.I.A
Join Date: 01-2009
Posts: 530
Re: router và server

Quote:
Originally Posted by clone's utopi View Post
vô ngay vấn đề chính, các bác cho mình hỏi :
1: công ty mình có 1 con router của cisco, giờ nối mạng thì phải làm sao. Cũng cắm cổng line điện thoại vô router rồi dùng hay là bên isp nó cho mình đường dây khác!
2: mình có 1 con server để chạy web, vậy phải config kiểu gì! bác nào biết thì chỉ dẫn các bước chính là ok lắm rồi!
thank các bác trước!
bác hỏi kiểu này chỉ có mà tới năm sau
sao k mời kĩ thuật viên nó config dùm cho, làm web đâu phải chỉ là dc
Reply With Quote
  #10  
Old 02-03-2013, 19:00
f22_raptor's Avatar
Senior Member
Join Date: 10-2007
Posts: 2,874
Re: router và server

Quote:
Originally Posted by clone's utopi View Post
mình chuẩn bị phỏng vấn vào 1 chỗ, dự là phải làm những việc này nên hỏi
lâu nay chỉ học ccna, config mấy cái router nhưng chưa bao giờ làm ngoài thực tế, chả biết phải nối mạng rồi config kiểu gì nên hỏi
còn cái server thì chắc là phải dựng vài cái chạy phần mềm với web
lab ảo cũng đâu có khác ngoài thực tế mấy đâu bác?
__________________
[quote=Trác Đông Lai] Dịch hay =)) [/quote]
Reply With Quote
Reply

« Previous Thread | Next Thread »

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT +7. The time now is 03:19.