#65636 - 01/02/200220:53Re: Easiest way to switch from/to DHCP?
[Re: loren]
mcomb pooh-bah
Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
Can't you just assign a second IP to the empeg? Let it get the first one via DHCP and then do something like...
ifconfig eth0 add 192.168.102.3 192.168.102.254 up
from init or another script? I haven't actually tried this on an empeg, but that would give you two IPs on a normal linux box IIRC. That gives you an eth0 and an eth0:1 so you are technically on both networks at the same time.