Results 1 to 2 of 2
I have a 2nd ethernet card in my system that I use to share my internet connection. eth0 is connected to the internet, and eth1 is used for my 2nd ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-24-2011 #1
- Join Date
- Jul 2010
ip address keeps getting forgotten when no device attached
I only see this behavior under ubuntu 10.04, not the previous distro that ran on this box, slackware 12.
How do I keep eth2 from forgetting the ip address when no computer is attached?
- 03-25-2011 #2
You can't prevent ifdown eth1 on cable disconnect. But you can configure eth1 to use always the same IP and bring the device up automatically on cable connect.
See here: /etc/network/interfaces