Search This Blog

Wednesday, March 23, 2011

Unifi on Cisco Router

Found an unofficial website for UNIFI

http://unifi.athena.my


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! ! Works perfectly on Cisco 1841, IOS v12.4(24)T !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


interface FastEthernet0/0
description *** Unifi FTTx interface ***
no ip address
duplex auto
speed auto

interface FastEthernet0/0.1
encapsulation dot1Q 500
pppoe enable group global
pppoe-client dial-pool-number 1

interface FastEthernet0/1
description *** LAN interface ***
ip address 192.168.100.254 255.255.255.0
ip nat inside

interface Dialer1
ip address negotiated
ip nat outside
ip mtu 1492
ip virtual-reassembly
encapsulation ppp
dialer pool 1
dialer-group 1
dialer idle-timeout 0
dialer persistent
ppp authentication chap pap callin
ppp chap hostname xxxx
ppp chap password yyyy
ppp pap sent-username xxx password yyyy

ip route 0.0.0.0 0.0.0.0 Dialer1

dialer-list 1 protocol ip permit
ip nat inside source list LAN_USERLIST interface Dialer1 overload


ip access-list extended LAN_USERLIST
permit ip 192.168.100.0 0.0.0.255 any

ip name-server 202.188.1.5
ip name-server 202.188.0.133
ip name-server 202.188.1.23

No comments:

Post a Comment