Dear Zuki, The patch you released works just nice! I have tried ping -s 22, I still cannot make it works. I have attached the debugging message at SA. In your opinion, What could be the problem ? Thanks, Yours Sincerely, Qiu Qiang Starting IP-- Controller. ipmm_manage_cache_misses: Starting... ipmm_poll_sa_queue: Waiting for packets...ipmm_poll_sa_queue: packet received. S tate: 0800500D ipmm_packet_address(state = 0x0800500D) ipmm_packet_read: Reading 12 (out of 14) bytes at 0x00001400. 0x00000000 0x00000000 0x00000000 ipmm_fast_ip: retval = true, data[5] = C0FFAE00 data[6]=A8C09386 ipmm_packet_address(state = 0x0800500D) ipmm_packet_write: Writing 3 longwords at 0x00000A00. ipmm_poll_sa_queue: Waiting for packets...ipmm_poll_sa_queue: packet received. S tate: 0800980D ipmm_packet_address(state = 0x0800980D) ipmm_packet_read: Reading 12 (out of 14) bytes at 0x00002600. 0x00000000 0x00000000 0x00000000 ipmm_fast_ip: retval = true, data[5] = C0FEAE00 data[6]=A8C09387 ipmm_packet_address(state = 0x0800980D) ipmm_packet_write: Writing 3 longwords at 0x00001300. ipmm_poll_sa_queue: Waiting for packets...ipmm_poll_sa_queue: packet received. S tate: 0800E00D ipmm_packet_address(state = 0x0800E00D) ipmm_packet_read: Reading 12 (out of 14) bytes at 0x00003800. 0x00000000 0x00000000 0x00000000 ipmm_fast_ip: retval = true, data[5] = C0FDAE00 data[6]=A8C09388 ipmm_packet_address(state = 0x0800E00D) ipmm_packet_write: Writing 3 longwords at 0x00001C00. ipmm_poll_sa_queue: Waiting for packets...ipmm_poll_sa_queue: packet received. S tate: 0801280D ipmm_packet_address(state = 0x0801280D) ipmm_packet_read: Reading 12 (out of 14) bytes at 0x00004A00. 0x00000000 0x00000000 0x00000000 ipmm_fast_ip: retval = true, data[5] = C0FCAE00 data[6]=A8C09389 ipmm_packet_address(state = 0x0801280D) ipmm_packet_write: Writing 3 longwords at 0x00002500. ipmm_poll_sa_queue: Waiting for packets...ipmm_poll_sa_queue: packet received. S tate: 0801700D ipmm_packet_address(state = 0x0801700D) ipmm_packet_read: Reading 12 (out of 14) bytes at 0x00005C00. 0x00000000 0x00000000 0x00000000 ipmm_fast_ip: retval = true, data[5] = C0FBAE00 data[6]=A8C0938A ipmm_packet_address(state = 0x0801700D) ipmm_packet_write: Writing 3 longwords at 0x00002E00. ipmm_poll_sa_queue: Waiting for packets...ipmm_poll_sa_queue: packet received. S tate: 0801B80D ipmm_packet_address(state = 0x0801B80D) ipmm_packet_read: Reading 12 (out of 14) bytes at 0x00006E00. 0x00000000 0x00000000 0x00000000 ipmm_fast_ip: retval = true, data[5] = C0FAAE00 data[6]=A8C0938B ipmm_packet_address(state = 0x0801B80D) ipmm_packet_write: Writing 3 longwords at 0x00003700. ipmm_poll_sa_queue: Waiting for packets...ipmm_poll_sa_queue: packet received. S tate: 0802000D ipmm_packet_address(state = 0x0802000D) ipmm_packet_read: Reading 12 (out of 14) bytes at 0x00008000. 0x00000000 0x00000000 0x00000000 ipmm_fast_ip: retval = true, data[5] = C0F9AE00 data[6]=A8C0938C ipmm_packet_address(state = 0x0802000D) ipmm_packet_write: Writing 3 longwords at 0x00004000. ipmm_poll_sa_queue: Waiting for packets...ipmm_poll_sa_queue: packet received. S tate: 0802480D ipmm_packet_address(state = 0x0802480D) ipmm_packet_read: Reading 12 (out of 14) bytes at 0x00009200. 0x00000000 0x00000000 0x00000000 ipmm_fast_ip: retval = true, data[5] = C0F8AE00 data[6]=A8C0938D ipmm_packet_address(state = 0x0802480D) ipmm_packet_write: Writing 3 longwords at 0x00004900. ipmm_poll_sa_queue: Waiting for packets...ipmm_poll_sa_queue: packet received. S tate: 0802900D ipmm_packet_address(state = 0x0802900D) ipmm_packet_read: Reading 12 (out of 14) bytes at 0x0000A400. 0x00000000 0x00000000 0x00000000 ipmm_fast_ip: retval = true, data[5] = C0F7AE00 data[6]=A8C0938E ipmm_packet_address(state = 0x0802900D) ipmm_packet_write: Writing 3 longwords at 0x00005200. ipmm_poll_sa_queue: Waiting for packets... ....
Qiu Qiang,
The cache entries seem to be right. Are you sending 64 byte packets? (Using ping -s 22). What is the debugging output from the SA at the first cache miss? The first packets into and out of the router will certainly miss in the cache. What is the debugging output on subsequent misses?
Zuki
-- Yitzchak Gottlieb zuki@CS.Princeton.EDU
On Mon, 25 Mar 2002, Qiu Qiang wrote:
Dear Scott and Zuki,
It seems somebody raise the same question on how to setup Ping Program on VERA before; however, even I follow the instruction tightly, I still cannot make it work.
Here is my system configuration
[Host 1] ---> [0]IXP1200[1]<---[Host 2] Host 1: IP Addr. 192.168.133.146, MAC addr. 00:E0:29:00:8A:57" Host 2: IP Addr. 192.168.133.147, MAC addr. 00:E0:29:00:8C:AE"
I add the following cache entrys to ipmm.c {"192.168.133.146", "192.168.133.147", "DE:F0:12:34:56:78","00:E0:29:00:8C:AE", 0x01}, {"192.168.133.147", "192.168.133.146", "12:34:56:78:9A:BC","00:E0:29:00:8A:57", 0x00},
Then, compile the Libixprouter.a with VRP. Running IPmm application: sgo ipmm.srec and using all the default setting in the released VERA software.
When I try to ping Host 2 from Host 1, from the debug message, It seems that the packets was rcved, but the Microengine cache miss always occurs, and no packet is xmted.
I have tried it in both Nov. Released Version and new Released version(With small modification on the atoi function calling in control.c, I guess no overall effect )
Wish you could kindly point out what I am missing.
Thanks,
Best Regards, Qiu Qiang