Home > Network > Cisco 871 PPPOE solved some website ‘waiting for …’ problem.

Cisco 871 PPPOE solved some website ‘waiting for …’ problem.

I’m using a cisco 871 as router to connect to ADSL. but some website always cannot connected.

for example:

about.com
microsoft.com
msn.com
….

checked with netstat -t , the state may shows ‘SYN_SENT’ or ‘CLOSE_WAIT’. but most of the website have no problem.
Refer to this pate: http://hardforum.com/showthread.php?t=1457218

solved by adding two line to dialer0:
mtu 1492
ip tcp adjust-mss 1452

#erase start
#reload


>en
#conf t
#hostname main router
#enable secret password
#no ip domain-loopup
#ip domain name myneoway.com
#ip name-server 8.8.8.8

if using ddns, then this line must not exist. ddns update use dns servers to get ip address of ddns server ip address, no domian lookup will not use dns server. then will get no ip address when fail.

#line vty 0 4
#password password
#login

VPDN: Virtual Private Dialup Network

Configuring a virtual private dialup network (VPDN) enables multiple clients to communicate through the router by way of a single IP address.
Configure the Virtual Private Dialup Network Group Number:

#vpdn enable                Enables VPDN on the router
#vpdn-group 1                Creates and associates a VPDN group with a customer or VPDN profile.
#request-dialin                Creates a request-dialin VPDN subgroup, indicating the dialing direction, and initiates the tunnel.
#protocol pppoe                Specifies the type of sessions the VPDN subgroup can establish.

Fast internet interface:
#int fa4
#pppoe-client dial-pool-number 1                Configures the PPPoE client and specifies the dialer interface to use for cloning.
#no shutdown

VLAN1

#int vlan1
#ip address 192.168.0.1 255.255.255.0
#ip nat inside

Dialer interface:
#interface dialer 0
#ip address negotiated
#mtu 1492
#ip tcp adjuest-mss 1452                to solve some websit no response problem.
#encapsulation ppp
#ppp authentication pap callin
#ppp pap sent-username username password 0 PASSWORD
#dialer pool 1
#dialer-group 1

#ip ddns update hostname neowong.dyndns.org                    for ddns update
#ip ddns update dyndns host members.dyndns.org

#ip nap outside                for NAT

#ip route 0.0.0.0 255.255.255.255 dialer 0

DHCP:
#ip dhcp excluded-address 192.168.0.1
#ip dhcp pool dpool1
#import all
#network 192.168.0.0 255.255.255.0
#default-router 192.168.0.1
#dns-server 8.8.8.8 61.144.51.100
#domain-name myneoway.com

DDNS:

#ip ddns update method dyndns
#http
#add http://USER:PASSWORD@<s>/nic/update?system=dyndns&hostname=<h>&myip=<a&gt;

use ctrl+v then press ? to input a ? symbol.

#interval maximum 7 0 0 0

NAT:

#access-list 1 permit 192.168.0.0 0.0.0.255
#ip nat inside source list 1 interface dialer 0 overload

#ip nat inside source stasic tcp 192.168.0.162 3389 interface dialer0 3389

Advertisements
Categories: Network
  1. June 1, 2013 at 11:17 AM

    Does your blog have a contact page? I’m having problems locating it but, I’d like to send
    you an email. I’ve got some suggestions for your blog you might be interested in hearing. Either way, great blog and I look forward to seeing it develop over time.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: