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

Re: eth0 and eth1 mixed



An alternative way to do this is with interface mapping with the
ifupdown scripts.

Try:

# install -m 755 /usr/share/doc/ifupdown/examples/get-mac-address.sh \
  /usr/local/bin


add this to your /etc/network/interfaces (Substituting in your mac
addresses, see /sbin/ifconfig -a | grep HW)


auto eth0 eth1
mapping eth0 eth1
    script /usr/local/bin/get-mac-address.sh
    map 11:22:33:44:55:66 sungem
    map AA:BB:CC:DD:EE:FF ieee1394

iface ieee1394 inet dhcp
    pre-up /bin/false  #Will not bring up

iface sungem inet dhcp
    # Whatever yo want here 
   



On Sun, 2005-04-03 at 22:23 +0200, [ATR]Dj-Death wrote:
> Le dimanche 03 avril 2005 à 16:17 +0200, Maximilian Gerlach a écrit :
> > Try blacklisting eth1394.
> > Greets,
> > Maxi
> > 
> 
> I personnaly prefer this : (in /etc/modutils/something)
> 
> alias eth0 sungem
> alias eth1 eth1394
> 
> 
> -- 
> 
> Lionel Landwerlin / Dj-Death djdeath@gmx.fr
> 
> 
-- 
David Stanaway <david@stanaway.net>



Reply to: