[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mapping eth0 two ways



On Fri, Jan 24, 2003 at 08:22:32PM +0000, Soren A wrote:
> One thing I need to achive, that is failing apparently, is assigning a
> different MAC address to my NIC than the one 'hard-coded' in or
> automatic to, that card. The reason being of course that my cable
> provider tracks MACs and won't allow connection by a new system (as
> sensed by a different MAC address). But it seems like the card isn't
> accepting the change, even though the HOWTOs and docus seem to say that
> most cards will: 
> 
>   root$ifconfig eth0 down
>   root$ifconfig eth0 [IP] netmask [NETMASK] hw ether AB:CD:EF:01:02:03 [up]
> 
> If anyone can see what I might be doing wrong in that command above please 
> help me out!
the following works for me:
ifconfig eth0 [inet] 192.168.0.6 netmask 255.255.255.0 hw ether  AB:CD:EF:01:02:03 [up]
with our without the inet and the up.

anni:/home/hugh# ifconfig 
eth0      Link encap:Ethernet  HWaddr AB:CD:EF:01:02:03  
          inet addr:192.168.0.6  Bcast:192.168.0.255  Mask:255.255.255.0
					
find it much easier to put these details in /etc/network/interfaces

what error do you get? or does ifconfig still show the orig. mac
address?

hugh



Reply to: