From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Thu 09 Dec 2004 - 03:15:08 GMT
On Thu, Dec 09, 2004 at 12:44:38PM +1030, Darryl Ross wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hey All,
>
> I think people have misunderstood what my question was.
>
> I guissing that there is a function call in the kernel network code that
> returns the MAC address of the interface. The return value of this call
> would be displayed by ifconfig as the HWaddr.
>
> All I am after is a way of configuring the vserver with the MAC address I
> want returned by that function call. It doesn't need to be used anywhere
> else for the real networking functionality, as long as inside the vserver
> (I guess for context != [01]) ifconfig shows the virtual MAC address.
>
> Hopefully that clears up any confusion I've created.
ah, well, that already works! ;)
but of course, all packages will use the 'real'
MAC of the 'real' interface (atm), so you might
use it to 'trick' software checking the MAC with
said syscall/ioctl/netlink but you will not be
able to trace packets by MAC ... for now ...
HTH,
Herbert
> Regards
> Darryl
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
>
> iD8DBQFBt7UO/XQ6DbmPjokRAkW9AJ0WXJ0j+0WE0VYRMp7cXakj1jJ2oQCfQbZl
> RgKA7H8NtiGOjIeBt56xwDk=
> =jwgI
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver