route

4 views
Skip to first unread message

Zbigniew Kossowski

unread,
Dec 12, 2017, 6:24:47 AM12/12/17
to openbsd
I have got Hyper-V server and OpenBSD guest.

On Windows I have one interface with 2 IPs
Real IP 91.xxx.xxx.67 with 91.xxx.xxx.66 gateway and 255.255.255.255 netmask
Alias IP 85.xxx.xxx.79 without GW and 255.255.255.255 netmask

I have created Hyper-V brigde (external) with the alias address 85.xxx.xxx.79.

With another guest LEDE project router it is possible to route via dev eth1 as bellow:

# ip route add 91.xxx.xxx.66 dev eth1
# ip route add default via 91.xxx.xxx.66

I am looking for equivalent command on OpenBSD (I want deploy OpenBSD router):

# route add default 91.xxx.xxx.66
# add net default: gateway 91.xxx.xxx.66 : Network is unreachable

Thanks in advance


Reply all
Reply to author
Forward
0 new messages