Linux Newbie help
 help / color / mirror / Atom feed
From: pa3gcu <pa3gcu@zeelandnet.nl>
To: Petre Bandac <g38@rdsbv.ro>, linux-newbie@vger.kernel.org
Subject: Re: mac address change on an eth alias
Date: Tue, 17 Dec 2002 21:14:49 +0000	[thread overview]
Message-ID: <02121721144904.00388@unix.pa3gcu> (raw)
In-Reply-To: <200212172207.22480.g38@rdsbv.ro>

On Tuesday 17 December 2002 20:07, Petre Bandac wrote:
> root@k:~# ifconfig eth0:1 123.123.123.123 netmask 255.255.255.0 hw ether
> 00:E0:7D:02:C6:0C
> SIOCSIFHWADDR: Device or resource busy
> root@k:~#
>
> am I trying to do something impossible or is it only my NIC (Realtek 8139)
> that can't do it ?

AFAIK yes, at least the way you are doing it, you can however change a MAC 
adress before configuring the card.

ifconfig eth0 00:E0:7D:02:C6:0C
ifconfig eth0 123.123.123 netmask 255.255.255.0

So what i am saying is, you cant change the MAC address when a IP# is 
assigned.

I tested it on my eth0 interface but without aliasing, but i doubt if that is 
an issue here.

> I want to have 2 ip's on the same interface - but with 2 different macs ...
> why? because this is my testing server and, among others (dhcp, bind,
> sendmail/postfix, asterisk, etc) I want to actually see how a mac address
> can be changed ... if it's possible

Down the IFC's, change the MAC(s), then configure the card and its aliases.

>
> thank you for you patience,
>
> petre

-- 
Regards Richard
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  reply	other threads:[~2002-12-17 21:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-17 20:07 mac address change on an eth alias Petre Bandac
2002-12-17 21:14 ` pa3gcu [this message]
2002-12-17 21:55   ` Petre Bandac
2002-12-17 22:06     ` pa3gcu
2002-12-17 22:53       ` Ray Olszewski
2002-12-18 17:46         ` Petre Bandac
2002-12-18 20:10           ` pa3gcu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=02121721144904.00388@unix.pa3gcu \
    --to=pa3gcu@zeelandnet.nl \
    --cc=g38@rdsbv.ro \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox