PDA

View Full Version : redback static IP problem


Beyaz3
September 19th 03, 03:43 AM
Hi All,

I am not sure here is the correct group to ask but I need urgent help about
static IP assignment of redback Smart Edge 800 router. Below, you can find
log messages and rebdack (context) configuration. Log messages cover the
all messages of a PPPoE connection (see my comments inline). I want the
subscriber get IP address (81.214.8.27) assigned by aaa server but it gets
the first IP from the pool (81.214.8.2)

I will be very glad f you can help us but ASAP..

Thanks from now on..

context ttnet
!
!
interface ge2/2.3
ip address 195.175.21.218/30
!
interface subs multibind
ip address 212.174.96.1/23
ip pool 212.174.96.0/23
!
interface subs2 multibind
ip address 81.214.8.1/23
ip pool 81.214.8.0/23
!
logging console
!
router ospf 1
graceful-restart
area 0.0.0.0
interface 195.175.21.218
network-type broadcast
hello-interval 45
router-dead-interval 180
!
policy access-list ALL
seq 10 permit ip any any class IP
!
ppp keepalive check-interval seconds 60 response-timeout 3 data-check
!
!
radius server 212.156.1.3 key alcatel
radius server 212.156.1.4 key alcatel
radius max-retries 5
radius timeout 30
aaa authentication subscriber radius
aaa accounting subscriber radius
aaa update subscriber 10
radius accounting server 212.156.1.3 key alcatel
radius accounting server 212.156.1.4 key alcatel
!
subscriber default
ip address pool
dns primary 212.156.4.20
dns secondary 212.156.4.1
!
ip route 0.0.0.0/0 195.175.21.217
service telnet server
!
! ** End Context **
!




----------------------------------------------------------------------------
------------------------- debug output:

Sep 18 10:44:00: %AAA-7-AUTHEN: Received AUTHEN_REQUEST msg from PPPd for
username [email protected] on circuit 3/1:1:63/1/2/29 with external handle = 0
Sep 18 10:44:00: %AAA-7-AUTHEN: Assigned aaa_idx 3501 to username
[email protected] on circuit 3/1:1:63/1/2/29.
Sep 18 10:44:00: %AAA-7-AUTHEN: Processing AUTHEN_REQUEST msg for aaa_idx
3501.
Sep 18 10:44:00: [0002]: %AAA-7-AUTHEN: Binding subscriber [email protected]
to context ttnet via well-formed username (aaa_idx = 3501).
Sep 18 10:44:00: %AAA-7-GEN: AAA sub name node lookup fail: cntxt 0x40080002
subscriber [email protected]
Sep 18 10:44:00: %AAA-7-AUTHEN: Adding aaa_idx 3501 to context ttnet
Sep 18 10:44:00: %AAA-7-AUTHEN: Sending DB_REQUEST to radius (aaa_idx =
3501).
Sep 18 10:44:00: %AAA-7-RADIUS: rad_process_aaad_req: Receive request
(Authentication), (aaa_idx 3501)
Sep 18 10:44:00: %AAA-7-RADIUS: aaaidx_tree_insert: Processing context
db_request_type 1 for aaa_idx 3501
Sep 18 10:44:00: [0002]: %AAA-7-RADIUS: do_auth_send: Find free authen
server 212.156.1.3 (ctx ttnet, src port 1812, dst port 1812)
Sep 18 10:44:00: %AAA-7-RADIUS: Using local address 195.175.21.218
Sep 18 10:44:00: [0002]: %AAA-7-RADIUS: rad_send_pkt: Send 140 bytes to
radius server 212.156.1.3 (1812).
Sep 18 10:44:00: [0002]: %AAA-7-RAD_PKT: Sent packet:

0 01 d9 00 8c 81 69 30 bf 27 12 10 1e 96 3a 67 64
16 ff ce 32 ca 01 11 73 65 66 65 72 74 65 73 74 40
32 74 74 6e 65 74 02 12 fa 5a d4 d3 97 5a 83 33 fc
48 a4 78 ce 3d 54 89 93 06 06 00 00 00 02 07 06 00
64 00 00 01 20 09 72 65 64 62 61 63 6b 05 06 03 01
80 00 40 3d 06 00 00 00 05 1a 23 00 00 09 30 56 1d
96 33 2f 31 20 76 70 69 2d 76 63 69 20 33 34 20 33
112 33 20 70 70 70 6f 65 20 31 33 33 1a 0c 00 00 09
128 30 26 06 00 00 00 0b 4d 05 55 42 52

Sep 18 10:44:00: %AAA-7-RADIUS: rad_recv: Receive 38 bytes from radius
server 212.156.1.3 (1812)
Sep 18 10:44:00: [0002]: %AAA-7-RAD_PKT: Received packet:

0 02 d9 00 26 a4 2c cd 64 92 67 a1 c7 8d 4c 7c 73
16 ee 52 60 bf 19 06 81 98 80 85 08 06 51 d6 08 1b <-------
(51.d6.08.1b = 81.214.8.27 so RADIUS sends the IP addr..!!!!!!)
32 09 06 ff ff ff 00

Sep 18 10:44:00: %AAA-7-RADIUS: Radius authentication success (aaa_idx 3501)
Sep 18 10:44:00: %AAA-7-RADIUS: Receive RFC attr 25 (Class), status =
success
Sep 18 10:44:00: %AAA-7-RADIUS: Receive RFC attr 8 (Framed_IP_Address),
status = success
Sep 18 10:44:00: %AAA-7-RADIUS: Receive RFC attr 9 (Framed_IP_Netmask),
status = success
Sep 18 10:44:00: %AAA-7-AUTHEN: Received Authentication response msg for
aaa_idx 3501.
Sep 18 10:44:00: %AAA-7-RADIUS: rad_process_response: process response to
req Authentication (aaa_idx 3501)
Sep 18 10:44:00: %AAA-7-RADIUS: rad_clean_aaa_idx_tree: Processing context
db_request_type 1 for aaa_idx 3501
Sep 18 10:44:00: %AAA-7-AUTHEN: Processing DB_RESPONSE msg for aaa_idx 3501.
Sep 18 10:44:00: %AAA-7-AUTHEN: aaa_fill_client_data: to copy attributes
length 28
Sep 18 10:44:00: %AAA-7-AUTHEN: aaa_fill_client_data: PPP client:
client_type 0x0 (offset 0x21ccde68)
Sep 18 10:44:00: %AAA-7-AUTHEN: aaa_fill_client_data: PPP client:
client_type 0xa (offset 0x21ccde68)

(here it checks the ipaddr for something?? but what??)

Sep 18 10:44:00: %AAA-7-IP_POOL: ****aaa_check_set_ipaddr_bit: prefix_node_p
0x21ffe4fc ip_pool_p 0x22134200 ip_pool_p[0] 0x7 ip_pool_fast_mode 1
pool_last_bit 0
Sep 18 10:44:00: %AAA-7-IP_POOL: aaa_check_set_ipaddr_bit: prefix 0x51d60800
ip_addr 0x51d60802 set bit 2 in pool (length 512)


(!!!!!!!and here it assigns the IP addr 0x51d60802 =
81.214.8.2!!!!!!)

Sep 18 10:44:00: %AAA-7-AUTHEN: aaa_fill_client_data: PPP client local IP
0x51d60801 Remote 0x51d60802
Sep 18 10:44:00: %AAA-7-AUTHEN: aaa_fill_client_data: to copy attributes
length 24
Sep 18 10:44:00: %AAA-7-AUTHEN: aaa_fill_client_data: PPP client:
client_type 0x1 (offset 0x21ccde74)
Sep 18 10:44:00: %AAA-7-AUTHEN: aaa_fill_client_data: PPP client:
client_type 0x1 (offset 0x21ccde78)
Sep 18 10:44:00: %AAA-7-AUTHEN: aaa_fill_client_struct: return SUCCESS
Sep 18 10:44:00: %AAA-7-AUTHEN: Received SESSION_UP msg for aaa_idx 3501
from client PPPd
Sep 18 10:44:00: %AAA-7-AUTHEN: Processing SESSION_UP msg for aaa_idx 3501.
Sep 18 10:44:00: [0002]: %AAA-7-AUTHEN: aaa_process_session_up: IPC-Endpoint
3, aaa_idx 3501.
Sep 18 10:44:00: %AAA-7-AUTHEN: Sending DB_REQUEST to radius (aaa_idx =
3501).
Sep 18 10:44:00: %AAA-7-AUTHOR: aaa_provision_attr_list: attr_type 64
ignored for now
Sep 18 10:44:00: %AAA-7-AUTHOR: aaa_sess_apply_attr_ip_addr: interface:
if_grid 0x1000000e
Sep 18 10:44:00: %AAA-7-AUTHOR: aaa_sess_apply_attr_iproute: injected ip
route 0x51d60802/32 on (atm) session 3/1:1:63/1/2/29
Sep 18 10:44:00: %AAA-7-AUTHOR: aaa_provision_attr_list: provisioned ip
0x51d60802 on session
Sep 18 10:44:00: %AAA-7-AUTHOR: aaa_provision_attr_list: attr_type 35
ignored for now
Sep 18 10:44:00: %AAA-7-AUTHOR: aaa_provision_attr_list: attr_type 36
ignored for now
Sep 18 10:44:00: [0002]: %AAA-7-ACCT: aaa_setup_upd_acct_ctx, setup upd acct
for aaa_idx 3501 to 10 min
Sep 18 10:44:00: %AAA-7-RADIUS: rad_process_aaad_req: Receive request
(Accounting Start), (aaa_idx 3501)
Sep 18 10:44:00: %AAA-7-RADIUS: aaaidx_tree_insert: Processing context
db_request_type 7 for aaa_idx 3501
Sep 18 10:44:00: [0002]: %AAA-7-RADIUS: do_acct_send:Find free acct server
212.156.1.3 (ctx ttnet src port 1812, dst port 1813)
Sep 18 10:44:00: %AAA-7-RADIUS: rad_parse_aaa_attr_list: Pack AAA attr
64(class) to Radisu acct packet (25: Class)
Sep 18 10:44:00: %AAA-7-RADIUS: rad_parse_aaa_attr_list: Pack AAA attr 3(ip
address) to Radisu acct packet (8: Framed_IP_Address)
Sep 18 10:44:00: %AAA-7-RADIUS: rad_parse_aaa_attr_list: AAA attr 35(dns
primary): Dose not apply to radius acct
Sep 18 10:44:00: %AAA-7-RADIUS: rad_parse_aaa_attr_list: AAA attr 36(dns
secondary): Dose not apply to radius acct
Sep 18 10:44:00: %AAA-7-RADIUS: Using local address 195.175.21.218

Google