lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090506140308.GA16312@piper.oerlikon.madduck.net>
Date:	Wed, 6 May 2009 16:03:08 +0200
From:	ext martin f krafft <madduck@...duck.net>
To:	netdev discussion list <netdev@...r.kernel.org>
Subject: Re: pseudo interface with different hwaddr

also sprach ext martin f krafft <madduck@...duck.net> [2009.02.10.1351 +0100]:
> > Wouldn't macvlan solve this?
> 
> Thanks for the pointer. I will have to compile a kernel to test this
> though, Debian has it disabled (#504611)... :(

Works like a charm with Debian kernels >2.6.28:

piper:~# ip link add link lan address 02:34:22:ef:a2:c3 pseudo type macvlan

piper:~# ip link show pseudo
117: pseudo@lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN 
    link/ether 00:34:22:ef:a2:c3 brd ff:ff:ff:ff:ff:ff

piper:~# dhclient pseudo
Internet Systems Consortium DHCP Client V3.1.2
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/pseudo/00:34:22:ef:a2:c3
Sending on   LPF/pseudo/00:34:22:ef:a2:c3
Sending on   Socket/fallback
DHCPDISCOVER on pseudo to 255.255.255.255 port 67 interval 7
DHCPOFFER from 192.168.14.1
DHCPREQUEST on pseudo to 255.255.255.255 port 67
DHCPACK from 192.168.14.1
bound to 192.168.14.128 -- renewal in 852 seconds.



Thanks!

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
"next the statesmen will invent cheap lies, putting the blame upon the
 nation that is attacked, and every man will be glad of those
 conscience-soothing falsities, and will diligently study them, and
 refuse to examine any refutations of them; and thus he will by and by
 convince himself that the war is just, and will thank god for the
 better sleep he enjoys after this process of grotesque
 self-deception."
                                                         -- mark twain
 
spamtraps: madduck.bogus@...duck.net

Download attachment "digital_signature_gpg.asc" of type "application/pgp-signature" (198 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ