[K12OSN] Swap eth0 and eth1

gKw-X gkw-x at shaw.ca
Thu Sep 15 22:36:38 UTC 2005


Well, I tried a couple of the things previously mentioned again, and it 
SEEMS to be working alright. I hooked my test pc up to the 1000 nic and 
booted it and it got to the login screen properly. So now if I can make 
the internet work with the other nic, I guess I'm home-free! I'm not 
100% satisfied, because of the discrepancies with ifconfig, but if it 
works it works :)

Thank you!
Matt

Shahms King wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Les Mikesell wrote:
> | On Thu, 2005-09-15 at 16:34, gKw-X wrote:
> |
> |>Thanks your your input guys,
> |>
> |>I can't switch the cards because one of them is onboard. If that's what
> |>you meant?
> |>
> |>I tried what you said, and in the network gui it looks right after i
> |>reload the settings, but ifconfig -a still shows them wrong... I also
> |>tried someone else's suggestion of swapping the aliases in modprobe, and
> |>still same thing...
> |>
> |>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".
> 
> 
> - --
> Shahms E. King <shahms at shahms.com>
> Multnomah ESD
> 
> Public Key:
> http://shahms.mesd.k12.or.us/~sking/shahms.asc
> Fingerprint:
> 1612 054B CE92 8770 F1EA  AB1B FEAB 3636 45B2 D75B
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
> 
> iD8DBQFDKfQ2/qs2NkWy11sRAiLzAJ4ukpw6iU0AzHZKcd1qL162vkBuWgCgmgG9
> An9iPTSjQrfAWULRYK3Y3AI=
> =Yral
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
> 
> 




More information about the K12OSN mailing list