Cheap Gigabit switch will allow DHCP thru it?

Jarod Wilson jarod at wilsonet.com
Sun Dec 30 19:15:20 EST 2007


On Sunday 30 December 2007 01:49:39 pm Ben Scott wrote:
> On Dec 30, 2007 1:16 PM, Bruce Labitt <bruce.labitt at verizon.net> wrote:
> > Is there a simple way to swap eth0 and eth1?
>
>   You're running Fedora, right?  If so, get to a root shell prompt,
> and do the following:
>
> service network stop
> cd /etc/sysconfig/network-scripts
> mv ifcfg-eth0 ifcfg-tmp
> mv ifcfg-eth1 ifcfg-eth0
> mv ifcfg-tmp ifcfg-eth1
> # now swap the actual network cables (don't type this line :)  )
> service network start

You also need to change the DEVICE= line in ifcfg-eth0 and ifcfg-eth1 to 
match, and for good measure, should update /etc/modprobe.conf as well to 
alias the right module to the device.

-- 
Jarod Wilson
jarod at wilsonet.com


More information about the gnhlug-discuss mailing list