Thank you all!
Don't worry, this is not a class assignment nor a bizarre network in a Hispanophone country
I have forgot an attribute for ports. I think i will choose the 2 solution.
Maybe i will add a third table :
computers(id_computer, name)
nodes(id_node, id_computer, node_number, type)
connections(node_init, node_end)