10-14-2014 03:58 AM - edited 03-04-2019 11:57 PM
Hi,
I have taken an internet account with an isp. The account is a dhcp account and I have to give username and password from webpage while connecting it through computer. Is it possible to connect the same link with cisco 1841 router. I got the ip address when I issue ip address dhcp on interface. How to pass username and password through this.
Regards,
Mero
Solved! Go to Solution.
10-14-2014 04:56 AM
Mero
You can pass the username by using the command ip address dhcp hostname. I am not sure of how to include the password. See this link for details
http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr/command/ipaddr-cr-book/ipaddr-c1.html#wp3343120296
HTH
Rick
10-14-2014 04:56 AM
Mero
You can pass the username by using the command ip address dhcp hostname. I am not sure of how to include the password. See this link for details
http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr/command/ipaddr-cr-book/ipaddr-c1.html#wp3343120296
HTH
Rick
10-14-2014 05:42 AM
Hi,
Have you try with this command ???
username xxxxxx privilege 15 password xxxxxx
10-16-2014 06:38 PM
Dear Feltinsilije,
This is for router login command.
Regards,
Mero
10-14-2014 12:19 PM
I have a 831 router use PPPoE. Please note that is a PPPoE seting.
!
interface Ethernet0
ip address (LAN IP ADD)
ip nat inside----> must in my case
!
!
interface Ethernet1
no ip address
ip nat outside
duplex auto
pppoe enable
pppoe-client dial-pool-number 1
no cdp enable
!
interface Dialer1
ip address negotiated
encapsulation ppp
dialer pool 1
dialer-group 1
no cdp enable
ppp authentication chap pap callin callout
ppp chap hostname xxxxxxxxxxxxxxxxxxxxxxxx (may need, please ask your ISP)
ppp chap password 7 xxxxxxxxxxxxxxxxxxxx (may need, please ask your ISP)
ppp pap sent-username abc@singtel.com password 123456 ----> must in my case
!
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
!
ip nat inside source list nat_address interface Ethernet1 overload--->Must in my case
!
To see if u get IP debug ppp negotiation and debug ppp authentication .
10-16-2014 06:39 PM
Dear Sir,
This is not a PPPoe Account
Regards,
Mero
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