-
majekla
Hello everyone,
-
majekla
I am looking for a way to connect a server to the internet via PPPoE.
-
majekla
Is it still possible on OmniOSce/OpenIndiana?
-
majekla
I haven't found how to do it so far.
-
majekla
The only workaround I could find is to use netcat and ppp to simulate a PPPoE connection... it's not really fantastic, I think :-D
-
wiedi
-
majekla
Wow.. thank you very much ! I'm gonna try this immediately
-
majeklaTEK
It seems that it will not work because the pppoec lib he is using isn't in any packages available
-
hadfl
$ pkg search /usr/lib/inet/pppoec
-
hadfl
INDEX ACTION VALUE PACKAGE
-
hadfl
path file usr/lib/inet/pppoec pkg:/system/network/ppp/tunnel⊙0
-
majeklaTEK
Great ! Now it will be easier. Just to know, when I pkg search /usr/lib/inet/pppoec, I don't get this result, I get nothing... I'm on the last r151050 version
-
majeklaTEK
Thank you very much
-
hadfl
it works for me when i try it on the latest r151050, maybe a `pkg refresh --full` does help on your end?
-
majeklaTEK
yes it works with a full refresh now. Thank you. It's strange, I've just installed omnios on a vm, shouldn't this be automatic after the first pkg update ? Anyway, thank you very much for your help. I'm gonna try to connect to my ISP now ?
-
jclulow
Wow I used to use the PPPoE stuff maybe 15+ years ago haha
-
danmcd
Thank the Bell-Heads for PPPoE....
-
nomad
jclulow, I'm pretty sure my ISP is still using it. I just don't feel like asking my firewall right now. It would just be depressing.
-
nomad
speaking of depressing, I've been forced to face the fact that my fileservers have much slower network connectivitiy than they should.
-
jclulow
What sort of speeds are you getting/expecting?
-
nomad
getting
-
nomad
[ 5] 0.00-10.00 sec 3.35 GBytes 2.88 Gbits/sec sender
-
nomad
[ 5] 0.00-10.00 sec 3.35 GBytes 2.88 Gbits/sec receiver
-
nomad
expecting
-
nomad
[ 5] 0.00-10.00 sec 10.8 GBytes 9.28 Gbits/sec 8 sender
-
nomad
[ 5] 0.00-10.04 sec 10.8 GBytes 9.25 Gbits/sec receiver
-
nomad
the first number is a test between two OmniOS boxes with dual 10G (LACP)
-
nomad
the second number is a test between two Linux hosts, one a virt, with single 10G connections.
-
nomad
all connections go via the same single Juniper switch.
-
nomad
forgot the header:
-
nomad
[ ID] Interval Transfer Bandwidth
-
nomad
those are all iperf3 using defaults.
-
ik5pvx
nomad, what NICs?
-
nomad
ik5pvx, we've got a mix. i40e, ixgbe for the most part.
-
sommerfeld
nomad: single TCP connection should only use one path (if it's being load-spread across multiple paths, that could result in packet reordering with hurts performance.
-
nomad
so LACP *could* be (part of) the problem?
-
sommerfeld
could be. at the very least it's an apples vs oranges difference.
-
nomad
: || lvd@hvfs1 ~ [505] ; dladm
-
nomad
LINK CLASS MTU STATE BRIDGE OVER
-
nomad
i40e0 phys 1500 up -- --
-
nomad
i40e1 phys 1500 up -- --
-
nomad
aggr0 aggr 1500 up -- i40e0,i40e1
-
nomad
ixgbe0 phys 1500 up -- --
-
nomad
ixgbe1 phys 1500 up -- --
-
nomad
aggr_nas0 aggr 1500 up -- ixgbe0,ixgbe1
-
sommerfeld
what does dladm show-aggr show?
-
nomad
LINK POLICY ADDRPOLICY LACPACTIVITY LACPTIMER FLAGS
-
nomad
aggr0 L4 auto active short -----
-
nomad
aggr_nas0 L4 auto active short -----
-
sommerfeld
what load-balancing is configured on the switch end?
-
nomad
IIRC, none.
-
nomad
It's a juniper. Let me go see if I can find the config for it.
-
sommerfeld
(I think it's more likely to be some need for tuning in our TCP stack than switch being wrong, but never hurts to check)
-
sommerfeld
should be some sort of L4 load-balancing policy.
-
sommerfeld
some switches can be configured to do round-robin which is dumb
-
nomad
I am so very much not a network admin. I had Juniper help me with the initial config of this switch so hopefully we got it right.
-
nomad
set interfaces ae2.0 family ethernet-switching vlan members default
-
nomad
delete interfaces xe-0/0/44
-
nomad
delete interfaces xe-0/0/45
-
nomad
delete protocols rstp interface xe-0/0/44
-
nomad
delete protocols rstp interface xe-0/0/45
-
nomad
set interfaces xe-0/0/44 ether-options 802.3ad ae2
-
nomad
set interfaces xe-0/0/45 ether-options 802.3ad ae2
-
nomad
set interfaces ae2 apply-groups LACP
-
nomad
set interfaces ae2 apply-groups JUMBO_FRAMES
-
nomad
I'm a bit concerned right now as I can't seem to ssh into the switch to get the actual config. Those are my notes about how we configured the ports.
-
nomad
whew, I was able to get in.
-
nomad
yep, config matches my notes.
-
sommerfeld
-
nomad
This can't possibly be right:
-
nomad
set groups LACP interfaces <ae*> aggregated-ether-options lacp active
-
nomad
set groups LACP interfaces <ae*> aggregated-ether-options lacp periodic fast
-
nomad
aren't active and periodic contradictory?
-
ik5pvx
no that's fine
-
ik5pvx
lacp can go slow or fast in its detection of faulty links
-
ik5pvx
fast is good unless you're dealing with an arista switch
-
nomad
ah, ok.
-
ik5pvx
as for the load balancing, there could be a knob under forwarding-options, but I'm rusty on juniper
-
nomad
sommerfeld, is there something I can check about the tuning while I'm poking at this?
-
ik5pvx
default should be some l2-l3 hashing
-
nomad
set forwarding-options storm-control-profiles default all
-
nomad
that's the only forwarding-options hit I get in the config file.
-
ik5pvx
mine only has this related loadbal: set load-balance-label-capability
-
ik5pvx
I don't think you need that
-
nomad
We have expensive vendor support. I suspect it's time for me to use that.
-
ik5pvx
hah
-
ik5pvx
yes
-
ik5pvx
I have a cheap ex3300-48p off ebay
-
sommerfeld
nomad: setting tcp connection_control to cubic and boosting the tcp send_buf/max_buf/recv_buf will likely help somewhat.
-
ik5pvx
where are these things done in illumos?
-
sommerfeld
(all this via ipadm {set,show}-prop)
-
ik5pvx
nice, thanks
-
sommerfeld
argh, I of course mean "congestion_control"
-
nomad
sommerfeld, these hosts are fileservers. Their only reason to exist is to serve NFS or SMB packets.
-
nomad
Will these changes negatively impact those services?
-
sommerfeld
nfsv4 and smb both run over TCP. if the changes improve TCP performance it will likely help them be better fileservers.
-
nomad
that's my theory but I am required to ask these questions :)
-
sommerfeld
and are likely to be neutral for nfs-over-UDP
-
nomad
looks like cubic is already set in ipadm
-
nomad
tcp congestion_control rw sunreno -- sunreno sunreno,newreno,cubic
-
sommerfeld
no, it's at the default. last column is "POSSIBLE"
-
nomad
-
nomad
ah
-
nomad
well, that host is a dev/test host so I can make changes there.
-
sommerfeld
change one, watch it closely for a while, revert on suspicion of badness, spread to others if it's better.
-
ik5pvx
do you ever get close to maxing out the lan?
-
nomad
I'm changing that one prop on my two test/dev boxes and will re-run the iperf3 tests between them now.
-
nomad
ik5pvx, not with these fileservers, no. I do with my Linux hosts.
-
nomad
well, setting them both to cubic did not change the numbers.
-
ik5pvx
on linux there's also that other policy.... bbn? can't remember. Supposedly it's the most efficient, but can be a little aggressive with other traffic
-
nomad
[ ID] Interval Transfer Bandwidth
-
nomad
[ 5] 0.00-10.00 sec 3.06 GBytes 2.63 Gbits/sec sender
-
nomad
[ 5] 0.00-10.00 sec 3.06 GBytes 2.63 Gbits/sec receiver
-
nomad
my linux hosts don't have LACP enabled, just the file servers.
-
nomad
so cubic didn't seem to have helped directly.
-
» nomad looks for info on send_buf/max_buf/recv_buf current settings
-
ik5pvx
bbr is the name
-
nomad
: || lvd@fs2 ~ [526] ; ipadm show-prop | grep tcp | grep buf
-
nomad
tcp max_buf rw 1048576 -- 1048576 8192-1073741824
-
nomad
tcp recv_buf rw 128000 -- 128000 2048-1048576
-
nomad
tcp send_buf rw 49152 -- 49152 4096-1048576
-
nomad
that's what it is now. What would you suggest I bump it to?
-
sommerfeld
BBR is good, but we don't have it illumos (yet?)
-
nomad
I doubled the current numbers and tested again...no change in the results.
-
» nomad swears at non-orthoginal commands.
-
nomad
set-prop diddn't ask for an interface but reset-prop does.
-
nomad
no, that's just me being stupid. Never mind me.
-
nomad
I've reset congestion_control, max_buf, recv_buf, and send_buf to default on both hosts.
-
nomad
I guess tomorrow I'll get to spend quality time with Juniper TAC.
-
ik5pvx
good luck