On 10/20/2012 08:37 AM, Bruno Wolff III wrote:
On Fri, Oct 19, 2012 at 18:35:24 -0300,
Fernando Cassia <fcassia@xxxxxxxxx> wrote:
So... is there a way, in such situation, to manually (say, from a bash
script) bring down both eth ports, and re-arrange those? (so that eth1
becomes eth0), and do so without a reboot?.
ip link set down eth0
ip link set down eth1
ip link set name t0 eth1
ip link set name eth1 eth0
ip link set name eth0 t0
systemctl restart network
You might need to restart NetworkManager instead.
I had to do this alot recently because I was randomly getting eth0 and
eth1 switched on boot and it was breaking my network setup since I had
some dependencies on which interface was connected to which network.
I have since switched to using biosdevname to avoid this problem.
Hi Bruno,
will this survive a reboot?
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org