On Wed, Sep 26, 2018 at 01:54:40PM +0200, Per-Olov Sjöholm wrote:
| Hi
| 
| I want to receive 2 IPs that are mine from the ISP (I have to supply 2 MACs) 
over DHCP. They have a problem letting me add them permanent without dhcp as 
their snooping blocks my connection if not using dhcp. 
| 
| I want to use just one physical interface as I do not have more 10Gbit 
interfaces to spare. Also I want to use fake virtual MAC so I can switch 
hardware without contacting the ISP.
| 
| Is it possible in OpenBSD to create sub interfaces with different MACs on 
them and use dhcp for both? How?

Something similar can be done with a bridge(4), your ISP-interface and
two vether(4) interfaces.

/etc/hostname.ix3
up

/etc/hostname.bridge0
up
add ix3
add vether0
add vether1

/etc/hostname.vether0
up
lladdr yo:ur:ma:ca:dd:re:ss:he:re
dhclient

/etc/hostname.vether1
up
lladdr yo:ur:ma:ca:dd:re:ss:he:re
dhclient


Note that I haven't tried this .. may need some tweaking.

Cheers,

Paul 'WEiRD' de Weerd

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply via email to