02-23-2014 03:58 AM - edited 03-04-2019 10:24 PM
i try to config adsl
i used this config
Configure ip routing, ip subnet-zero, and ip classless in order to provide flexibility in routing configuration options.
(config)#ip routing
(config)#ip subnet-zero
(config)#ip classless
Configure the global Point-to-Point Protocol over Ethernet (PPPoE) parameters.
(config)#vpdn enable
(config)#no vpdn logging
(config)#vpdn-group pppoe
(config-vpdn)#request-dialin
(config-vpdn-req-in)#protocol pppoe
(config-vpdn-req-in)#exit
(config-vpdn)#exit
Configure an IP address and subnet mask on the Cisco DSL Router Ethernet interface.
(config)#int ethernet 0
(config-if)#ip tcp adjust-mss 1452
(config-if)#ip address 41.32.58.169 255.255.255.248
(config-if)#ip nat inside
(config-if)#no shutdown
(config-if)#exit
Configure the ATM interface of your Cisco DSL Router with an ATM permanent virtual circuit (PVC), encapsulation type, and dialer pool.
(config)#int atm 0
(config-if)#pvc 0/35
(config-if-atm-vc)#pppoe-client dial-pool-number 1
(config-if-atm-vc)#no shutdown
(config-if)#exit
*******************
(config)#int dialer 1
(config-if)#mtu 1492
(config)#int dialer 1
(config-if)#mtu 1492
(config-if)#ip address 196.202.4.105 255.255.255.248
(config-if)#encapsulation ppp
********************
(config-if)#dialer pool 1
(config-if)#ppp pap sent-username 1********@tedata.net.eg password ******
(config-if)#exit
Configure a default route using Dialer1 as the outbound interface.
(config)#ip route 0.0.0.0 0.0.0.0 dialer 1
i don't find pppoe protocol red line
02-23-2014 10:53 AM
Hi Ahmed,
New IOSes do not use that kind of configuration. That is why you don't see the red line. Simply skip the entire VPDN section and you should be fine. The necessary PPPoE configuration is done on the PVC 0/35 - the PPPoE client is activated there, and that is all that is needed.
Best regards,
Peter
02-24-2014 12:26 AM
thanks
now i don't need NAT .. the pc will take real ip
create vlan with real ip
so the config will be
Configure ip routing, ip subnet-zero, and ip classless in order to provide flexibility in routing configuration options.
(config)#ip routing
(config)#ip subnet-zero
(config)#ip classless
i don't need that right !!!!!!!!!!!!!!!!
******************************
Configure an IP address and subnet mask on the Cisco DSL Router Ethernet interface.
(config)#int ethernet 0
(config-if)#ip tcp adjust-mss 1452
(config-if)#ip address 41.32.58.169 255.255.255.248
(config-if)#ip nat inside
(config-if)#no shutdown
(config-if)#exit
****************************
Configure the ATM interface of your Cisco DSL Router with an ATM permanent virtual circuit (PVC), encapsulation type, and dialer pool.
(config)#int atm 0
(config-if)#pvc 0/35
(config-if-atm-vc)#pppoe-client dial-pool-number 1
(config-if-atm-vc)#no shutdown
(config-if)#exit
*******************
(config)#int dialer 1
(config-if)#mtu 1492
(config)#int dialer 1
(config-if)#mtu 1492
(config-if)#ip address 196.202.4.105 255.255.255.248
(config-if)#encapsulation ppp
********************
(config-if)#dialer pool 1
(config-if)#ppp pap sent-username 1********@tedata.net.eg password ******
(config-if)#exit
Configure a default route using Dialer1 as the outbound interface.
(config)#ip route 0.0.0.0 0.0.0.0 dialer 1
interface Vlan10
ip address 196.202.4.105 255.255.255.248
*************************************************
right this config or have any mistake
03-03-2014 01:04 AM
nowi have another message
when i create vlan
196.202.4.105 overlaps with dialer1
i need to make this ip 196.202.4.105 gateway to pc without nat static ip
how can i solve it
03-03-2014 01:30 AM
new update
(config)#int dialer 1
(config-if)#mtu 1492
(config)#int dialer 1
(config-if)#mtu 1492
(config-if)#ip address 196.202.4.105 255.255.255.248
(config-if)#encapsulation ppp
interface Vlan10
ip address 196.202.4.105 255.255.255.248
and it's run
but when i ping in yahooo
196.202.4.105 unreachable
and in racert stop in 196.202.4.105
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide