Tuesday, 23 April 2024

Cisco 800(C881-K9)WAN Through PPPoE & LAN Site Access Configuration ...!!

 Cisco 800 is an IOS-based router that is very popular in small enterprises. Let's look at the configurations and how you can configure it in your organization. 

Basically, I will show you, How you can distribute the internet in your LAN through this router(Cisco 800(C881-K9)).

In my network , I will use PPPoE connection with my ISP to build my WAN(Internet) connection.Find my Diagram Given below .



Step-1:- First You have to create the Dialer in the router for PPPoE.

interface Dialer1
 ip address negotiated
 ip mtu 1492
 ip virtual-reassembly in
 encapsulation ppp
 ip tcp adjust-mss 1452
 dialer pool 1
 dialer-group 1
 ppp pap sent-username ipnoc_isp password 0 12345

Step-2 Once the dialer is created then you have to assign that dialer under the WAN interface. The interface will be connected to the ISP modem.


interface FastEthernet4
 description CONNECTED-TO-ISP
 no ip address
 duplex auto
 speed auto
 pppoe enable group global
 pppoe-client dial-pool-number 1



Step-3-LAN Side Configuration.


In LAN side we will create the vLAN 10 and our LAN port would be the access port of vlan 10 .

##Configure The VLAN..

!
vlan 10
!

##Configure The VLAN Interface and give the IP address ..

interface Vlan10
 ip address 192.168.1.1 255.255.255.0
 ip nat inside
 ip virtual-reassembly in

##Configure the Fa2 As access port which will be connected to our LAN segment...!

interface FastEthernet2
 switchport access vlan 100
 switchport mode access
 no ip address
!

Step-4- NAT configuration for Internet User.

First, you create the ACL which will match your LAN IP pool and then configure a NAT.

access-list 10 permit 192.168.1.0 0.0.0.255

#

ip nat inside source list 10 interface Dialer1 overload

Once the NAT will be configured then apply on the interface.

##WAN Interface##

interface Dialer1
 ip nat outside


##LAN Interface###

interface Vlan10
 ip address 192.168.1.0 255.255.255.0
 ip nat inside


Step-5:-( Optional).

#
ip route 0.0.0.0 0.0.0.0 10.10.10.1 name ISP_gateway

#
dialer-list 1 protocol ip permit 
#

The above 2 commands are optional , because in PPPoE , The default route is injected automatically ..!



No comments:

Post a Comment