After you run the "NetApp_GigInit" function, you have to add your route entries to the route table using the command route_add(char *ipda, char *netmask, char *next_hop, int fwd_port, int da_hi32, int da_lo16). For example, if your traffic generator has ip address: 192.168.1.162 ethernet address: 00:50:BA:40:62:28. The output port is 1. You should enter: route_add("192.168.1.162", "255.255.255.255", "", 1, 0x50ba40, 0x6228); Other useful commands are "rt_help()" and "route_lookup(char *ipda)." Hope this helps. -Petcharat On Sun, 26 Nov 2000, Taroon Mandhana wrote:
Hi Petcharat,
We are trying to run pfwd8_1f_rx16_tx6 on the new board - B0. Our understanding is that the default route table here is that 1.1.1.1 goes to port 1, 2.2.2.2 to port 2 and so on. We have two end points with IP addresses 1.1.1.1(machine A) and 2.2.2.2(m/c B) connected to port 1 and 2 respectively on the board.
Here is step by step what we are doing.
1. On the board, download VxWorks Image from
ixp1200/boardsupport/bin/vb/vxworks
2. Start Tornado and get the command shell
3. Run Netapp (as specified in the manual)
4. Open developer workbench with pfwd8_1f_rx16_tx6 and start running the ref design in hardware.
5. On m/c A, do telnet 2.2.2.2
The Rx led blinks for port 1 on receiving, however, nothing gets transmitted on port 2.
I was wondering if you did the similar thing. Any help is greatly appreciated.
thanks, Taroon
On Mon, 20 Nov 2000, Petcharat Suriyachai wrote:
The pfwd8_1f_rx16_tx6 project should work on the hardware.
On Sun, 19 Nov 2000, Alok Kumar wrote:
Hi All,
Can anyone help me out to make some reference design work in actual hardware? Which reference design in the latest CD is known to actually work in B0 hardware without any problem? What is the semantics of routing table in that reference?
I have downloaded vxworks in the hardware and also run tornado. Now, I download mircocode through workbench and it runs ( I can see PC changing). Now, I want to send some packets and get them routed. So, please tell me which reference design should I download?
Thanks Alok
_______________________________________________________________________________
Alok Kumar
Residence: 3401 Red River St #201 Austin, TX 78705
Office: Dept of Computer Science ACES Building University of Texas Austin, TX 78712
Ph: Home - (512) 472-6443 Office - (512) 232-7883 Fax: (401) 679 8171
Homepage: http://www.cs.utexas.edu/~alok _______________________________________________________________________________