ORIENTHOME
PPPoE Configuration Sample
Jack 发表于 2012-01-11 18:24:15
PPPoE is very popular nowadays on the 'last mile' solutions. Today we just do a very small PPPoE lab to look at how to configure and verify PPPoE.
At server side, the configuration process is like this. Firstly, we need configure a virtual-template and apply logic options such as ip addressing, authentication, which will provide virtual-access interface once dialed in. The virtual template need an IP address which enable virtual-access interfaces replicate this IP address. The virtual template interface will always be down down while virtual access-inerfaces can be up and up. This address can also be acquired from DHCP.
interface virtual-template 1
ip 12.0.0.1 255.255.255.0
Secondly, we need configure bba-group. BBA stands for broadband access. BBA group references the virtual template. This is a way to bind the template down to an interface level.
bba-group pppoe Group2
virtual-template 1
Thirdly, we need bind this group name to a Ethernet link.
interface fa0/0
pppoe enable group Group2
On client side, configuration is a little different from server side. But also take 3 steps to go.
First, define a dialer interface. This interface will be encapsulated by HDLC by default, so we need encapsulation ppp for it.
interface dialer 1
encapsulation ppp
ip address 12.0.0.2 255.255.255.0
Then we also need define a dialer pool here, which will be used to be binded the physical Ethernet link.
dialer pool 2
dialer persistent
Last we need bind the pool to the physical interface.
interface fa0/0
pppoe-client dial-pool-number 2
Then we look at how to verify this configuration.
1. show ip route, which can be used to view the routing table. ppp helps to have a neighbor-route in the routing table
The above picture shows we succeed. PPP and IPCP both succeeded.
We can ping the other side to verify the connectivity. Just a reminder here, the server can not ping itself.
We can use debug ppp negoiation command to check the ppp process.
This is the simplest pppoe configuration.
收藏:
QQ书签
del.icio.us
OSPF Neighbor Adjacency Stages
Jack 发表于 2012-01-10 18:17:17
nothing happened Down
unicast hello
calling ------------------------------------------------------> called Attempt
ID not listed in the hello
calling <----------------------------------------------------> called INIT
ID listed in hellos,no DB change
calling <----------------------------------------------------> called 2-way
initializing DBD sequence between M&S
calling <----------------------------------------------------> called Ex-start
DBD exchanging and missing checking
calling <----------------------------------------------------> called Exchange
request missing from other routers
other routers
^
|
calling <----------------------------------------------------> called Loading
OSPF adjacency established,DB synched
calling <-----------------------------------------------------> called FUll
收藏:
QQ书签
del.icio.us
Best Xmas Present
Jack 发表于 2012-01-08 20:05:02
A letter was received with a CD from my language tutor on 5th/Jan/2012 - Rebecca. She appologized to be late to post this to me with a small note. Another 4 pages are the words and sentences she think I should work hard on. On that CD, there is a music file, which is made for me specially. I guess she record herself at home because there are some background noise now and then. It's 15 minutes music including 4 parts: vocabulary and sentence. She reminds me slow down the speech. What a great person she is. She is really trying to help me out of the trouble. All the efforts are much appreciated.
In contrast to her effort, I should feel shame. I spent too much time on games, news reading, watching sports in Chinese these days. English is still the biggest barrier in my career life. Knowing the problem, Knowing how to solve the problem, why not work hard on it? Laziness is the biggest enemy.
Thanks to Rebecca for the best Xmas present.
In contrast to her effort, I should feel shame. I spent too much time on games, news reading, watching sports in Chinese these days. English is still the biggest barrier in my career life. Knowing the problem, Knowing how to solve the problem, why not work hard on it? Laziness is the biggest enemy.
Thanks to Rebecca for the best Xmas present.
收藏:
QQ书签
del.icio.us
人往高处走
Jack 发表于 2011-11-29 18:55:52
Harry走了。尽管很早就知道他要走了,但还是有些差异。在我看来,他的位子已经很完美了。舒适稳定,ongoing......
人往高处走,祝福他前程似锦。
人往高处走,祝福他前程似锦。
收藏:
QQ书签
del.icio.us
