> *Hi Casperians,I have trouble to configure the 10gb ethernet to work on
> roach2.  The 10gb port (sfp+) is connected to a PC where the file system
> of
> roach2 is mounted.  I can use the DHCP server to configure the ip of
> roach2
> ppc, but don't know how to configure the ip address (or interface?) of the
> 10gb port (roach2 ppc is read-only system).  'ifconfig -a' only shows the
> ip (192.168.40.63) assigned by DHCP and a local loop. Could any one give
> me
> some instructions of how to make the 10gbe connection work? *
>

>
>
> *Some more info for diagnose: The bof file includes a ten_GbE_v2 block.*
>
> *Parameters used for tap_start (python code which is working without
> reporting error): *
>         mac_base    = (2<<40) + (2<<32)
>         fabric_ip   = 192*(2**24) + 168*(2**16) + 41*(2**8) +63      #
> don't know what this should be?

It looks like the printout is faulty somehow, since the ARPs seem to
contain the 02:02: that you specified, and not the 12:34:... that is
(evidently) the default.

can you ping either 192.168.41.63 from your PC?

Is the routing and netmasks set up to force the 192.168.41.* addresses to
use the 10 gbe port?

What does netstat -r say on the PC and on the Roach?

Is the name of the GBE port "GBE0" or "gbe0"?

good luck!

John

>         fabric_port = 60000
>         dest_ip     = 192*(2**24) + 168*(2**16) + 41*(2**8) +1        #
> the
> address of PC
>         gbe0_name   = 'gbe0'
>         roach.tap_start('gbe0',gbe0_name, mac_base+fabric_ip, fabric_ip,
> fabric_port)
>
> *roach.print_10gbe_core_details("%s" %gbe0_name, False, False) prints
> following:*
> GBE0 Configuration...
> My MAC:  12 34 56 78 00 00
> Gateway:    0   0   0   1
> This IP:  192 168   5  20
> Gateware Port:  10000
> Fabric interface is currently:  Enabled
> XAUI Status:  0000007E
>      lane sync 0: 1
>      lane sync 1: 1
>      lane sync 2: 1
>      lane sync 3: 1
>      Channel bond: 1
> XAUI PHY config:
>     RX_eq_mix:  A
>     RX_eq_pol:  4
>     TX_pre-emph:  0
>     TX_diff_ctrl:  7
>
> *On the PC side, 'tcpdump' for the 10gb port shows: *
>
> 20:53:54.752793 ARP, Reply 192.168.41.63 is-at 02:02:c0:a8:29:3f (oui
> Unknown), length 50
> 20:53:54.772664 ARP, Request who-has 192.168.41.1 (Broadcast) tell
> 192.168.41.63, length 50
> 20:53:54.772702 ARP, Reply 192.168.41.1 is-at 90:e2:ba:49:a9:24 (oui
> Unknown), length 28
> 20:53:54.802684 ARP, Request who-has 192.168.41.2 (Broadcast) tell
> 192.168.41.63, length 50
> 20:53:54.822732 ARP, Request who-has 192.168.41.3 (Broadcast) tell
> 192.168.41.63, length 50
> 20:53:54.842757 ARP, Request who-has 192.168.41.4 (Broadcast) tell
> 192.168.41.63, length 50
> 20:53:54.862745 ARP, Request who-has 192.168.41.5 (Broadcast) tell
> 192.168.41.63, length 50
> 20:53:54.882748 ARP, Request who-has 192.168.41.6 (Broadcast) tell
> 192.168.41.63, length 50
> 20:53:54.902752 ARP, Request who-has 192.168.41.7 (Broadcast) tell
> 192.168.41.63, length 50
> 20:53:54.922746 ARP, Request who-has 192.168.41.8 (Broadcast) tell
> 192.168.41.63, length 50
> 20:53:54.942748 ARP, Request who-has 192.168.41.9 (Broadcast) tell
> 192.168.41.63, length 50
> ......
>
> Any suggestions are extremely appreciated!
>
> Weiwei
>



Reply via email to