[K12OSN] Swap eth0 and eth1

Les Mikesell les at futuresource.com
Thu Sep 15 22:26:37 UTC 2005


On Thu, 2005-09-15 at 17:22, Shahms King wrote:
> |>
> |>I'm at a loss, it seems that no matter what I do, ifconfig -a reports
> |>them as the 10/100 being eth0 and the 10/100/1000 being eth1... Why
> |>would the report from ifconfig be different from what the network
> |>settings gui reports?
> 
> Since hotplug is used by K12LTSP to name the interfaces on the server
> and hotplug uses ifrename if availible, all you need to do is create the
> file "/etc/iftab" with the two lines:
> 
> eth0  mac <eth0 mac address>
> eth1  mac <eth1 mac address>
> 
> And hotplug/ifrename should take care of the rest.  The easiest way to
> ensure these changes take effect is to reboot after making them.
> 
> For more details of the /etc/iftab file, "man iftab".

Does this apply to everything with a 2.6 kernel?  (I'm a little behind
the times...).

-- 
  Les Mikesell
   les at futuresource.com





More information about the K12OSN mailing list