In this example I am configuring a Cisco 2811 with a HWIC-1ADSL WIC in Slot 0. This gives it an interface of "atm0/0/0".
interface ATM0/0/0
description ADSL Physical Interface
no ip address
pvc 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
!
Next we can configure our Dialer interface. This is used to initiate authentication to your ISP.
interface Dialer0
description ADSL Dialer Interface
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
ppp authentication chap callin
ppp chap hostname username@bigpond.com
ppp chap password your_password
!
Now we can configure our internal LAN interface
interface FastEthernet0/0
description LAN Interface
ip address 192.168.0.1 255.255.255.0
ip nat inside
duplex auto
speed auto
!
Create a standard ACL ready for NAT
ip access-list standard LAN
permit 192.168.0.0 0.0.0.255
!
Allow NAT for the above ACL
ip nat inside source list LAN interface Dialer0 overload
Finally we set our default route out of the Dialer0 interface
ip route 0.0.0.0 0.0.0.0 Dialer0
Now with any luck you should have a working internet connection.
To configure DNS and DHCP services on the router please refer to my blog about enabling DHCP and DNS services.
https://australia-bestmate.blogspot.in/2013/06/setup-bigpond-email-on-samsung-galaxy.html?showComment=1513581607853#c903862795596959563
ReplyDelete