[K12OSN] Swap eth0 and eth1

Angus Carr acarr at saskforestcentre.ca
Thu Sep 15 14:40:12 UTC 2005


gKw-X wrote:

> Hello,
>
> I have an onboard 10/100 and a pci 10/100/1000 nic in this server. I 
> need the 1000 to be eth0 to talk to the student pcs, and the 100 to be 
> eth1 to bring in the internet. However, it seems to insist on making 
> the 100 (onboard nic) eth0 and the 1000 (pci nic) eth1.
>
> How can I change this? Or can I tell k12ltsp to use eth1 for the 
> student pcs instead?
>
> Thanks,
> Matt
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
>
>
You can go to the /etc/modprobe.conf file and reorganize the module 
aliases. Or, you can do what I did (the not-so-smart approach) and just 
set the addresses for the cards appropriately for the networks you would 
like them on, and then find out all the flaws, like nat turning off 
(/etc/init.d/nat) and so on. I suggest you try the first approach.

Angus.




More information about the K12OSN mailing list