View Single Post
Staro 29.11.2013., 15:00   #10
the_ghost
lar~
Moj komp
 
the_ghost's Avatar
 
Datum registracije: Jan 2007
Lokacija: Zagreb
Postovi: 1,552
Code:
interface GigabitEthernet0/0
 ip address 172.16.16.6 255.255.255.0
 ip nat inside
 ip virtual-reassembly
 duplex auto
 speed auto
 !
interface ATM0/0/0
 no ip address
 no atm ilmi-keepalive
 !
!
interface ATM0/0/0.1 point-to-point
 pvc 0/35 
  oam-pvc 0
  encapsulation aal5snap
  pppoe-client dial-pool-number 1
 !

interface Dialer1
 mtu 1462
 ip address negotiated
 ip nat outside
 ip virtual-reassembly
 encapsulation ppp
 dialer pool 1
 ppp authentication pap callin
 ppp pap sent-username username password 0 password
 ppp ipcp dns request accept
 ppp ipcp route default
 ppp ipcp address accept
 no cdp enable


ip nat inside source list 101 interface Dialer1 overload

access-list 101 permit ip 172.16.0.0 0.0.255.255 any
access-list 101 permit icmp 172.16.0.0 0.0.255.255 any
Primjetiti cete da access lista pusta vise nego sto je trenutno skonfano, to je zato jer ce biti vise mreza u 172.16.0.0/16 rangeu.

Zadnje izmijenjeno od: the_ghost. 29.11.2013. u 15:53.
the_ghost je offline   Reply With Quote