Using both Lan port on Intel I210-AT, one in the switch and the other in the Streamer
#1
Hi everyone,

I need of your help about one thing.

I want to use both of my Lan port on my motherboard (Supermicro X10SBA-L with Dual LAN Intel I210-AT).

eth0 connected to my switch
eth1 connected to my streamer (Linn DS)

My current network path :
NAS -> Switch -> Music Server (snakeoil) -> Switch -> Streamer (Linn DS)

What I want :
NAS -> Switch -> Music Server (snakeoil) -> Streamer (Linn DS)

Basicly, Music Server sending directly to the Streamer.

I have not test too much thing since my knowledge in network is not so good.
But, I have already asign static IPv4 with my Router (Apple Airport Extreme) to both ports on the motherboard (xx.0.1.23 and xx.0.1.24) and the Streamer (xx.0.1.4).

But when I plug both Lan, my Linn DS don’t appear on the network, the only way is to plug directly the Linn DS to my switch.

So, with my small understanding of network, it’s seem that Snakeoil os dont make automatic connection with a device like a standard switch do.

Also, when I start the computer, not always, but often, the phrase « A start job is running for raise ne… interfaces (… / 5min 2s) take the full 5min 2s to complete the reboot.

I know that configuration can work, because I based my server on a well know server using the same Motherboard.

Here a picture of the network tab.


[Image: network.jpg]

jpg to url

Any thoughts about that ?

Thank a lot for your help.

Bob
[-] The following 1 user Likes bobzy's post:
  • hkphantomgtr
Reply

#2
(08-May-2019, 03:58 AM)bobzy Wrote: I know that configuration can work, because I based my server on a well know server using the same Motherboard.
Hi Bob, to do what you want, you can either:
  1. Use the "full stack" kernel and enable bridging. This will bridge the two network cards together as one. In this setup you only set the IP on the bridged interface (usually called bond0).
  2. Use a different subnet on the two network interfaces. 192.168.1.x on the switch side, and 192.168.2.x on the other.
  3. Use VLANs and route between the VLANs. This is the only way to properly seggegrate traffic.
With #1. Bridging technically is no different from connecting the streamer to a switch. You're using a good Intel NIC so the performance will  be similiar to a switch, but on other network chipsets (e.g. broadcom) it will be worse.

For most use cases, I would recommend #2. Have a look at this thread, it will have snippets of infomation you need to set this up.

Currently I'm doing #3.
Snakeoil Operating System - Music, your way!
Reply

#3
Thank Agent Kith, I will read this thread.

Which one is sonically the best, at your thought, #2 or #3?
Reply

#4
(08-May-2019, 12:25 PM)bobzy Wrote: Thank Agent Kith, I will read this thread.

Which one is sonically the best, at your thought, #2 or #3?
#3 is ideal management wise, but no change in audio per se. Changing switch brands have a far bigger impact so far.
Snakeoil Operating System - Music, your way!
Reply

#5
(08-May-2019, 07:21 AM)agent_kith Wrote: For most use cases, I would recommend #2. Have a look at this thread, it will have snippets of infomation you need to set this up.

Currently I'm doing #3. 

Hi agent kith,

I have follow the thread about the #2 solution.

Still don't work... The Minimserver (Snakeoil) appear in my controller (Kazoo), but I not able to see file or play anything. Also, the Linn DS dont appear on the network. 

Since the Linn DS is a Controller and a Renderer at same time, the DS need to be on Internet, or at least communicating with my Rooter. 

FYI, my switch is a Netgear GS108 with ifi ipower Psu...

Here a print screen of SnakeOil...


[Image: snake-Bug-V2.jpg]

Thank again for your help Smile

BOB
Reply

#6
(09-May-2019, 08:47 AM)bobzy Wrote: Still don't work... The Minimserver (Snakeoil) appear in my controller (Kazoo), but I not able to see file or play anything. Also, the Linn DS dont appear on the network. 

Since the Linn DS is a Controller and a Renderer at same time, the DS need to be on Internet, or at least communicating with my Rooter. 
Hi Bob, since you want the Linn DS to be on the Internet as well, you have to use the "bridge" solution (Option #1 I believe).

Download and install the Ethernet full stack kernel and reboot to that. Right now you can only configure the bridge from SSH (there are lots of information on the Internet on how to do that).

In the future I'd incorporate bridge configuration in the web app. That'll make it easier for you to experiment the different network toplogies for audio playback.
Snakeoil Operating System - Music, your way!
Reply

#7
Where I can download the Ethernet full stack kernel ?

I install it in the terminal mode ?

Sorry for my lack of knowledge, I'm new to Linux.
Reply

#8
(09-May-2019, 09:19 AM)bobzy Wrote: Where I can download the Ethernet full stack kernel ?

I install it in the terminal mode ?

Sorry for my lack of knowledge, I'm new to Linux.

Go to this thread, scroll down and download the "full network stack".

Refer to the Snakeoil reference guide on how to switch to a different kernel (Make sure you're using the latest Snakeoil firmware before proceeding).
Snakeoil Operating System - Music, your way!
Reply

#9
(08-May-2019, 07:21 AM)agent_kith Wrote:
  1. Use the "full stack" kernel and enable bridging. This will bridge the two network cards together as one. In this setup you only set the IP on the bridged interface (usually called bond0).

Done, full stack kernel installed Smile 

how I do for the bridged interface, bond0 ?

I put the same static IPv4 for both eth0 and eth1 ?
Reply

#10
(09-May-2019, 11:52 AM)bobzy Wrote: Done, full stack kernel installed Smile 

how I do for the bridged interface, bond0 ?
it's br0. br as in bridge. bond is for teaming/LACP (trunking).
 
(09-May-2019, 11:52 AM)bobzy Wrote: I put the same static IPv4 for both eth0 and eth1 ? 
Not quite. Refer here.

As an example, it'll be something like:
Code:
auto lo
iface lo inet loopback

# Bridge between eth0 and eth1
auto br0
iface br0 inet dhcp
   address 192.168.1.10
   netmask 255.255.255.0
   gateway 192.168.1.1
   dns-nameservers 192.168.1.1
   bridge_ports eth0 eth1
   bridge_stp off
   bridge_fd 0
   bridge_maxwait 0
So what this does is both eth0 and eth1 are bridged into br0, and br0 has an IP address of 192.168.1.10. Remember to install the bridge-utils package.

If your home network is very "chatty", there will be a lot of traffic being "cut & pasted" between eth0 and eth1. This more or less will affect the latency of your PC so AQ will be YMMV. What this bridge can do however is it'll potentially isolate any electrical noise on the LAN side (e.g. if you switch/router is running a dirty SMPS).

So if you have a lousy switch, there is potential of an improvement.

However, once you get better switches down the road, there'll be a flip - this bridge is potentially going to be a bottle neck.

Almost worth writing a blog article on this. Just not too sure where/how to begin as there're so many topics to cover.
Snakeoil Operating System - Music, your way!
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVEDnvme storage not found during installation steps - Intel NUC emptor 21 6,752 19-Oct-2020, 09:21 PM
Last Post: emptor
  [SOLVEDCannot install SnakeOil on Intel NUC 8i5BEH, no network Snoopy8 25 12,220 03-Oct-2020, 11:06 AM
Last Post: emptor
  [SOLVEDAdding a usb network port, how to get it to work frednork 21 10,074 19-Apr-2019, 03:43 PM
Last Post: agent_kith
  intel nuc boxnuc7i3bnh not IP: and... Sergey 9 5,629 02-Apr-2018, 04:49 PM
Last Post: agent_kith
  [SOLVEDNo IP while booting the system up. (Intel i210 Lan) andreys 4 4,568 02-Aug-2017, 03:35 AM
Last Post: andreys



Users browsing this thread:
2 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
Howto setup resampling in Logitech Media...
Last Post: Coacharnold
18-Nov-2024 12:06 AM
» Replies: 7
» Views: 5821
Dropping Measurements, Hello High-End.
Last Post: agent_kith
26-Oct-2024 09:02 AM
» Replies: 12
» Views: 464
Very happy to have Sankeoil......! mpd w...
Last Post: run51
24-Oct-2024 05:35 AM
» Replies: 9
» Views: 1690
SO no soundcard detected - RPI Pi4 snake...
Last Post: run51
21-Oct-2024 10:55 PM
» Replies: 4
» Views: 115
download
Last Post: Snoopy8
19-Oct-2024 05:52 AM
» Replies: 1
» Views: 115
Full proces to instal snakeiol 100% work...
Last Post: audioluthier
11-Oct-2024 02:32 AM
» Replies: 9
» Views: 350
A network protocol designed for CAS
Last Post: hkphantomgtr
10-Oct-2024 09:48 PM
» Replies: 0
» Views: 95
CAS with "Single Core"
Last Post: hkphantomgtr
06-Oct-2024 08:32 AM
» Replies: 2
» Views: 126
MPD player not working
Last Post: Snoopy8
27-Sep-2024 11:54 AM
» Replies: 7
» Views: 234
LMS playing DFF files sampling rate
Last Post: Snoopy8
16-Sep-2024 07:45 PM
» Replies: 5
» Views: 163

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2024. Theme © Melroy van den Berg.