I expect this is totally obvious and I'm being a complete buffoon but I can't work it out.
Every time I disconnect my Ethernet cable on my laptop I loose my IP address (dropping to none configured) [Ubuntu 10.10].
I am constantly unplugging my cable and plugging it in different switch ports configuring switches all day, and I have to keep a terminal window open in the background so I can quickly switch to it, hit "up" and "enter" to re-run "sudo ifconfig eth0 1.2.3.4". I takes 5 seconds but man its annoying.
Anyone got any idea?