U'll Be King of the Stars writes:
> On 14/07/2019 10:35, [email protected] wrote:
> > I also string a cable between their ethernet ports for maximum speed which 
> > I bring up
>  manually at each and because I'm too lazy to automate it, that's 
> 10.100.200.2/24 on li
> nux and 10.200.200.1/24 on openbsd.
>
> Is there documentation that explains how to configure this kind of 
> point-to-point Ethernet connection, and associated routing tables, on 
> OpenBSD?

There's nothing to it really.

If there are no other network connections up (ignoring lo0) then doing this on 
one machine:

  # ifconfig re0 up a.b.c.1/24

and this on another:

  # ifconfig re0 up a.b.c.2/24

Will, if they are on the same ethernet segment (as, for example, when they're 
both connected to the same switch or directly with a crossover cable*), and 
considering any firewalls present en route, allow them to communicate with one 
another on the configured address.

Of course each re0 should be changed to the appropriate device name on the 
machine, and a, b and c must be chosen so as not to conflict with any other 
address that may be present on existing network devices (or networks they route 
to, such as the internet).

Matthew

[*] Or, if you have a machine made after the stone age with autosensing 
ethernet hardware, any cable.

Reply via email to