[K12OSN] Swapping ETH0 and ETH1

Jim McQuillan jam at mcquil.com
Mon Sep 13 17:26:41 UTC 2004


Carl,

Look in /etc/modules.conf for lines that say something like:


    alias eth0=xxxxx.o
    alias eth1=xxxxx.o


Where the 'xxxxx' is the kernel module used for that NIC.

if you find that, then swap the '0' and '1', and it should cause the
cards to come up in the order you want.

Jim McQuillan
jam at Ltsp.org




On Mon, 13 Sep 2004, Carl Keil wrote:

> Hi People,
>
> I've had trouble all along with my k12ltsp server because I wanted to use the 
> NIC on the mobo for the clients (it's 1000BaseT).  So, I did all this work to 
> switch the all the settings for eth0 and eth1 for the k12ltsp install. 
> Unfortunately, I just did an upgrade install to 4.1 and now my clients can't 
> boot again.  I went through the files and it looks like the install did a lot 
> of assuming that ETH1 was for outside and ETH0 was for the clients.  It went 
> through and detected the IP's assigned and swapped everything.  In /etc/hosts 
> it it put in a client entry for every IP on my outside subnet.
>
> SO, is there a way to swap which nic is assigned to be ETH0 and which is 
> ETH1?  Man, this would solve so many problems.  I could just go with the 
> default install then.
>
> Thanks in advance,
>
> ck
>
>
> _______________________________________________
> 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