Hello everyone. The following is a bit lengthy, but I felt that
more information was better than too little...
I am trying to get a FreeBSD 5.4 release PC to connect through
my ADSL modem through QWest using PPPoA and bridging. I have a
block of 8 IP addresses from 71.39.141.48 through 71.39.141.55.
QWest says that the modem will get IP address 71.39.141.54, but
if I put the router into bridging mode, using mpd I should get
that IP address for my PC, right?
Follows is how I set up my Cisco 678 router to find out what the
IP address is on the other end. I set it up for getting a
single IP address and found it to be 63.231.10.208:
Script started on Tue Jan 18 18:25:44 2005
danbauer# cu -l /dev/cuaa0 -s 38400
Connected
User Access Verification
Password:********
cbos>enable
Password:
cbos#set nvram erase
Erasing Running Configuration.
You must use "write" for changes to be permanent.
cbos#write
Warning: traffic may pause while NVRAM is being modified
NVRAM written.
cbos#set password exec some_password
Exec Password Change Successful!
cbos#write
Warning: traffic may pause while NVRAM is being modified
NVRAM written.
cbos#reboot
Hello!
Checking CBOS Flash CRC...
MIX header/trailer CRC verified: 0x8e672bb9
Flash CRC verified: 0xfadd7def
Checking Monitor Flash CRC...
MIX header/trailer CRC verified: 0x5f118a4b
Flash CRC verified: 0x71194eeb
Checking User Config Flash CRC...
MIX header/trailer CRC verified: 0x4e59b064
Flash CRC verified: 0x2680f053
Checking Custom Config Flash CRC...
MIX header/trailer not found
Expanding CBOS image...
** Running Mode: INIT_STATE_MINIMAL_BOOT_UP
** Running Mode: INIT_STATE_MINIMAL
** Auto Provisioning Skipped.
** Running Mode: INIT_STATE_FULL_BOOT_UP
** Running Mode: INIT_STATE_FULL
CBOS v2.4.6 - Release Software
Press Enter to continue.
User Access Verification
Password:********
cbos>enable
Password:
cbos#set nat enable
NAT is now enabled
You must use "write" then reboot for changes to take effect.
cbos#set dhcp server enable
DHCP Server enabled
cbos#set ppp wan0-0 ipcp 0.0.0.0
PPP wan0-0 IPCP Address set to 0.0.0.0
cbos#set ppp wan0-0 dns 0.0.0.0
PPP wan0-0 DNS Server Addresses set to 0.0.0.0
cbos#set ppp wan0-0 login isp_given_username
User name for wan0-0 has been set to isp_given_username.
cbos#set ppp wan0-0 password isp_given_password
Password for wan0-0 has been set to isp_given_password.
cbos#set ppp restart enabled
CPE Remote Restart is now enabled...
cbos#set int wan0-0 close
Closing connection wan0-0
cbos#set int wan0-0 vpi 0 vci 32
Change completed.
cbos#set int wan0-0 open
Opening connection wan0-0
cbos#write
Warning: traffic may pause while NVRAM is being modified
NVRAM written.
cbos#reboot
Hello!
Checking CBOS Flash CRC...
MIX header/trailer CRC verified: 0x8e672bb9
Flash CRC verified: 0xfadd7def
Checking Monitor Flash CRC...
MIX header/trailer CRC verified: 0x5f118a4b
Flash CRC verified: 0x71194eeb
Checking User Config Flash CRC...
MIX header/trailer CRC verified: 0x7d559749
Flash CRC verified: 0x6a84a1ec
Checking Custom Config Flash CRC...
MIX header/trailer not found
Expanding CBOS image...
** Running Mode: INIT_STATE_MINIMAL_BOOT_UP
** Running Mode: INIT_STATE_MINIMAL
** Auto Provisioning Skipped.
** Running Mode: INIT_STATE_FULL_BOOT_UP
** Running Mode: INIT_STATE_FULL
CBOS v2.4.6 - Release Software
Press Enter to continue.
User Access Verification
Password:********
cbos>enable
Password:
cbos#sh ver
Cisco Broadband Operating System
CBOS (tm) 678 Software (C678-I-M), Version v2.4.6 - Release Software
Copyright (c) 1986-2001 by cisco Systems, Inc.
Compiled Jun 10 2002 16:49:26
DMT FULL firmware version G96
NVRAM image at 0x1030ede0
cbos#sh nat
NAT is currently enabled
Port Network Global
eth0 Inside
wan0-0 Outside 71.39.141.54
vip0 Outside
vip1 Outside
vip2 Outside
cbos#sh route
[TARGET] [MASK] [GATEWAY] [M][P] [TYPE] [IF] [AGE]
0.0.0.0 0.0.0.0 0.0.0.0 1 SA WAN0-0 0
10.0.0.0 255.255.255.0 0.0.0.0 1 LA ETH0 0
63.0.0.0 255.0.0.0 0.0.0.0 1 A WAN0-0 0
WAN Interfaces...
63.231.10.208 255.255.255.255 0.0.0.0 1 HA WAN0-0 0
cbos#
exit
Script done on Tue Jan 18 19:06:14 2005
------------------------------------------
Then, I set up a PC on the inside for DHCP to find out what the Dns
servers are with a "ipconfig /all":
Windows IP Configuration
Host Name . . . . . . . . . . . . : some_pc_name
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Marvell Yukon Gigabit Ethernet
10/100/1000Base-T Adapter, Copper RJ-45
Physical Address. . . . . . . . . : some_MAC_address
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 10.0.0.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.0.0.1
DHCP Server . . . . . . . . . . . : 205.171.3.65
205.171.2.65
Lease Obtained. . . . . . . . . . : Wednesday, January 18, 2006
6:54:49 PM
Lease Expires . . . . . . . . . . : Wednesday, January 18, 2006
7:12:49 PM
---------------------------------------------
After this I set the router back into bridging mode (rfc1483 mode):
Script started on Tue Jan 18 19:32:31 2005
danbauer# cu -l /dev/cuaa0 -s 38400
Connected
User Access Verification
Password:********
cbos>enable
Password:
cbos#set nvram erase
Erasing Running Configuration.
You must use "write" for changes to be permanent.
cbos#write
Warning: traffic may pause while NVRAM is being modified
NVRAM written.
cbos#set password exec some_password
Exec Password Change Successful!
cbos#write
Warning: traffic may pause while NVRAM is being modified
NVRAM written.
cbos#reboot
Hello!
Checking CBOS Flash CRC...
MIX header/trailer CRC verified: 0x8e672bb9
Flash CRC verified: 0xfadd7def
Checking Monitor Flash CRC...
MIX header/trailer CRC verified: 0x5f118a4b
Flash CRC verified: 0x71194eeb
Checking User Config Flash CRC...
MIX header/trailer CRC verified: 0x1386e9d8
Flash CRC verified: 0x45755376
Checking Custom Config Flash CRC...
MIX header/trailer not found
Expanding CBOS image...
** Running Mode: INIT_STATE_MINIMAL_BOOT_UP
** Running Mode: INIT_STATE_MINIMAL
** Auto Provisioning Skipped.
** Running Mode: INIT_STATE_FULL_BOOT_UP
** Running Mode: INIT_STATE_FULL
CBOS v2.4.6 - Release Software
Press Enter to continue.
User Access Verification
Password:********
cbos>enable
Password:
cbos#set bridging rfc1483 enable
You must use "write" then reboot for changes to take effect.
cbos#set int wan0-0 disable
Wan0-0 is disabled
You must use "write" for the change to become persistent.
cbos#set int wan0-0 vpi 0 vci 32
Change completed.
cbos#set int wan0-0 enable
Wan0-0 is enabled
You must use "write" for the change to become persistent.
cbos#write
Warning: traffic may pause while NVRAM is being modified
NVRAM written.
cbos#reboot
danbauer# exit
Script done on Tue Jan 18 19:36:04 2005
---------------------------------
Follows is my mpd.conf file:
default:
load adsl
adsl:
new -i ng0 adsl adsl
set bundle authname given_username
set bundle password given_password
set bundle disable multilink
set link no pap acfcomp protocomp
set link disable chap
set link accept chap
set link keep-alive 30 10
set ipcp no vjcomp
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
set iface route default
set iface disable on-demand
set iface enable proxy-arp
set iface idle 0
open
-----------------------------
follows is my mpd.links file:
adsl:
set link type pptp
set pptp mode active
set pptp enable originate outcall
set pptp self 71.39.141.54
set pptp peer 63.231.10.208
-----------------
running mpd, I get the following from mpd.log (ppp.log is empty). After
getting to the "will restart in 9 seconds", I typed quit to stop the
perpetual connection attempts...
Jan 18 20:03:37 danbauer mpd: mpd: pid 12202, version 3.18
([EMAIL PROTECTED] 16:54 17-Jan-2005)
Jan 18 20:03:37 danbauer mpd: [adsl] ppp node is "mpd12202-adsl"
Jan 18 20:03:37 danbauer mpd: set pptp mode: unknown command. Try "help".
Jan 18 20:03:37 danbauer mpd: [adsl] using interface ng0
Jan 18 20:03:37 danbauer mpd: [adsl] IPCP: peer address cannot be zero
Jan 18 20:03:37 danbauer mpd: [adsl] IFACE: Open event
Jan 18 20:03:37 danbauer mpd: [adsl] IPCP: Open event
Jan 18 20:03:37 danbauer mpd: [adsl] IPCP: state change Initial --> Starting
Jan 18 20:03:37 danbauer mpd: [adsl] IPCP: LayerStart
Jan 18 20:03:37 danbauer mpd: [adsl] bundle: OPEN event in state CLOSED
Jan 18 20:03:37 danbauer mpd: [adsl] opening link "adsl"...
Jan 18 20:03:37 danbauer mpd: [adsl] link: OPEN event
Jan 18 20:03:37 danbauer mpd: [adsl] LCP: Open event
Jan 18 20:03:37 danbauer mpd: [adsl] LCP: state change Initial --> Starting
Jan 18 20:03:37 danbauer mpd: [adsl] LCP: LayerStart
Jan 18 20:03:37 danbauer mpd: [adsl] device: OPEN event in state DOWN
Jan 18 20:03:37 danbauer mpd: pptp: connect to 63.231.10.208:1723
failed: No route to host
Jan 18 20:03:37 danbauer mpd: [adsl] PPTP call failed
Jan 18 20:03:37 danbauer mpd: [adsl] device is now in state OPENING
Jan 18 20:03:37 danbauer mpd: [adsl] device: DOWN event in state OPENING
Jan 18 20:03:37 danbauer mpd: [adsl] device is now in state DOWN
Jan 18 20:03:37 danbauer mpd: [adsl] link: DOWN event
Jan 18 20:03:37 danbauer mpd: [adsl] LCP: Down event
Jan 18 20:03:37 danbauer mpd: [adsl] device: OPEN event in state DOWN
Jan 18 20:03:37 danbauer mpd: [adsl] pausing 9 seconds before open
Jan 18 20:03:37 danbauer mpd: [adsl] device is now in state DOWN
Jan 18 20:03:44 danbauer mpd: [adsl] IPCP: Down event
Jan 18 20:03:44 danbauer mpd: [adsl] IFACE: Close event
Jan 18 20:03:44 danbauer mpd: [adsl] IPCP: Close event
Jan 18 20:03:44 danbauer mpd: [adsl] IPCP: state change Starting --> Initial
Jan 18 20:03:44 danbauer mpd: [adsl] IPCP: LayerFinish
Jan 18 20:03:44 danbauer mpd: mpd: process 12202 terminated
------------------------------------
The 678 modem shows a solid link. Can mpd work with this modem? Can
someone help me figure out what I did wrong and get this working?
Your help is appreciated.
Dan Bauer
voidstrike at gmail dot com
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Mpd-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mpd-users