Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Connecting coprocessor to bridge to communicate with internet

Eric_B_2
Beginner
428 Views

Hello,

I am running Ubuntu 14.04 with a xeon phi 31s1p and I have been trying to set up a bridge so that I can have the phi access the internet, although I have been having a lot of trouble and can't seem to figure out what's wrong. I'm pretty sure the bridge itself is fine but the phi can't connect to it, anytime I try and use the simple command for it to connect to the bridge it gives this:

/var/mpss/mic0/etc/network# micctrl --network=static --bridge=br0 --ip=172.31.1.1
  [Error] br0: Failed - required brctl command not installed

But it is installed...some mess with the mpss tooling.

The output of ifconfig is the following:

br0       Link encap:Ethernet  HWaddr 30:85:a9:a7:d0:06 
          inet addr:192.168.0.100  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::3285:a9ff:fea7:d006/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1768 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1635 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:552300 (552.3 KB)  TX bytes:294748 (294.7 KB)

eth0      Link encap:Ethernet  HWaddr 30:85:a9:a7:bb:27 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:17 Memory:f0800000-f0820000

eth1      Link encap:Ethernet  HWaddr 30:85:a9:a7:d0:06 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:48290 errors:0 dropped:5 overruns:0 frame:0
          TX packets:33720 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:13352617 (13.3 MB)  TX bytes:6396673 (6.3 MB)
          Interrupt:18 Memory:f0700000-f0720000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:119 errors:0 dropped:0 overruns:0 frame:0
          TX packets:119 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:18648 (18.6 KB)  TX bytes:18648 (18.6 KB)

mic0      Link encap:Ethernet  HWaddr 4a:79:ba:15:00:21 
          inet addr:172.31.1.254  Bcast:172.31.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2068 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1056 (1.0 KB)  TX bytes:321903 (321.9 KB)


Thanks,

-Eric

0 Kudos
0 Replies
Reply