Risky business
Never even tought that this would work…
Notez-bien: eth0 was manually configured.
rush:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:10:A7:0F:AB:43
inet addr:192.168.92.7 Bcast:192.168.92.255 Mask:255.255.255.0
eth1 Link encap:Ethernet HWaddr 00:10:DC:DD:75:DE
inet addr:192.168.92.3 Bcast:192.168.92.255 Mask:255.255.255.0
rush:~# vi /etc/network/interfaces
-- change eth1's IP from DHCP to static .7
-- create configuration for eth0 with DHCP
-- make sure your DHCP server hands out the old address of eth1 to eth0
rush:/etc/network# ifdown eth1; ifconfig eth0 down; ifup eth0; ifup eth1;
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
... yaddieyaddieya
bound to 192.168.92.3 -- renewal in 2000 seconds.
Interface "eth0" is already enabled.
rush:/etc/network# ifconfig
eth0 Link encap:Ethernet HWaddr 00:10:A7:0F:AB:43
inet addr:192.168.92.3 Bcast:192.168.92.255 Mask:255.255.255.0
eth1 Link encap:Ethernet HWaddr 00:10:DC:DD:75:DE
inet addr:192.168.92.6 Bcast:192.168.92.255 Mask:255.255.255.0
How cool is that?