I've been doing a lot of searching and the only thing remotely useful I've found is this post:
http://superuser.com/questions/1120714/ ... h-in-linux
..and it just left me more confused. I'm just trying to use my Clearfog as a simple router. I've attempted the following. In my $this->bbcode_second_pass_code('', '/etc/systemd/network') I have the following:
$this->bbcode_second_pass_code('', '
# eth0.network (WAN)
[Match]
Name=eth0
[Network]
DHCP=yes
')
$this->bbcode_second_pass_code('', '
# br.netdev
[NetDev]
Name=br0
Kind=bridge
')
$this->bbcode_second_pass_code('', '
# br.network
[Match]
Name=br0
[Network]
Address=10.10.8.1/24
')
$this->bbcode_second_pass_code('', '
# lan.network
[Match]
Name=lan*
[Network]
Bridge=br0
')
If I run a DHCP server for the 10.10.8.0 subnet and attempt to get an address from another device, I get nothing; nothing in the ClearFog's logs. I realize eth1 and lan[1-6] have the same MAC address and I'm confused how the interaction between these devices work.
If I don't create the bridge and set eth1 to 10.10.8.1, I still can't ping/dhcp. If I try to create a bridge and add eth1 to it, I get an invalid argument. Also, what is eth2? Is that the SFP port?
What is the correct way to get all my lan ports to work together as a switch and assign that switch an IP address?
I'm on kernel 4.4.22-1 (4.4.24-1 won't boot).