ACIK KAYNAK
 
*
Merhaba, Ziyaretçi. Lütfen giriş yapın veya üye olun. Mayıs 17, 2008, 07:51:51 ÖÖ


Kullanıcı adınızı, parolanızı ve aktif kalma süresini giriniz



Reklamlar
Sayfa: [1]   Aşağı git
  Yazdır  
Gönderen Konu: Cisco DSL Router with a Dynamic IP Address  (Okunma Sayısı 46 defa)
0 Üye ve 1 Ziyaretçi konuyu incelemekte.
alibaba
Global Moderator
***
Offline Offline

Mesaj Sayısı: 11


Üyelik Bilgileri
« : Haziran 04, 2007, 01:11:01 ÖS »

!--- Comments contain explanations and additional information.


service timestamps debug datetime msec
service timestamps log datetime msec
vpdn enable
 no vpdn logging
 vpdn-group pppoe
  request-dialin
   protocol pppoe

!--- These commands are needed only on Cisco IOS Software earlier than 12.2(13)T.

!
!
ip subnet-zero
!


!--- For DHCP:


ip dhcp excluded-address <ip address of ethernet0>
ip dhcp pool <dhcp pool name>
 network <ip network address of ethernet0> <subnet mask>
 default-router <ip address of ethernet0>
 dns-server <ip address of dns server>
!
interface ethernet0 
 no shut 
 ip address <ip address> <subnet mask>
 ip tcp adjust-mss 1452
 
!--- If the ip tcp adjust-mss 1452 command is not supported, 
 !--- try this configuration statement:
 !--- ip adjust-mss 1452   


 
!--- If this command is not supported in your current Cisco DSL Router software
 !--- release, either upgrade to the latest Cisco DSL Router software or follow the
 !--- procedure in the "Possible Required Configuration Steps on the PC"
 !--- section of this document.

 


!--- For NAT:


ip nat inside
 no ip directed-broadcast
!
interface atm0
 no shut
 no ip address
 bundle-enable
 dsl operating-mode auto
!
interface atm0.1 point-to-point
 no ip address
 no ip directed-broadcast
 no atm ilmi-keepalive
 pvc <vpi/vci>
 pppoe-client dial-pool-number 1
 
!--- Common PVC values supported by ISPs are 0/35 or 8/35.
 !--- Confirm your PVC values with your ISP.

 !
!
interface dialer1
 ip address negotiated
 mtu 1492


!--- For NAT:


 ip nat outside
 encapsulation ppp
 dialer pool 1
 ppp authentication chap pap callin
 ppp chap hostname <username>
 ppp chap password <password>
 ppp pap sent-username <username> password <password>
!


!--- For NAT:


ip nat inside source list 1 interface dialer1 overload


!--- If you have a pool (a range) of public IP addresses provided
!--- by your ISP, you can use a NAT Pool. Replace
!--- ip nat inside source list 1 interface dialer1 overload

 

!--- with these two configuration statements:
!--- ip nat inside source list 1 pool <nat pool name> overload
!--- ip nat pool <nat pool name> <first ip address>
!---  <last ip address> netmask <subnet mask>




!--- If Internet users require access to an internal server, you can
!--- add this static NAT configuration statement:
!--- ip nat inside source static tcp <inside ip address of server> {80 or 25}
!---  <outside well-known ip address of server> {80 or 25} extendable
!--- Note: TCP port 80 (HTTP/web) and TCP port 25 (SMTP/mail) are used
!--- for this example. You can open other TCP or UDP ports, if needed.

!
ip classless
ip route 0.0.0.0 0.0.0.0 interface dialer 1


!--- For NAT:


access-list 1 permit <ip network address of ethernet0> <wildcard mask>

!--- In this configuration, access-list 1 defines a standard access list
!--- that permits the addresses that NAT translates. For example, if 
!--- your private IP network was 10.10.10.0, configuring
!--- access-list 1 permit 10.10.10.0 0.0.0.255 would allow NAT to translate
!--- packets with source addresses between 10.10.10.0 and 10.10.10.255.

!
end
Logged
Sayfa: [1]   Yukarı git
  Yazdır  
 
Gitmek istediğiniz yer:  


[Basit Gorunum]

MySQL ile Güçlendirildi PHP ile Güçlendirildi Powered by SMF 1.1.5 | SMF © 2006, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


acikkaynak
XHTML 1.0 Geçerli! CSS Geçerli! Dilber MC Theme by HarzeM