Re: Dual NIC Cards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> How do I configure a second nic (pci if that matters)?
> 
> Basic setup is done in /etc/modules.conf - load the nic drivers and setup an
> alias for each eth. This is an example of one of my boxes
> (/etc/modules.conf):
> 
>    alias eth0 tulip
>    alias eth1 via-rhine
> 
> Then, it's a matter of setting the ifcfg-eth? to auto-load and determine IP
> configuration etc. just like if you had only one nic. If you're setting up a
> gateway you'll need to configure at least a ip_forward = 1 and determine a
> route between the nic's.
> 
> > as soon as the second nic is installed, i lost everything.
> 
> Make sure that each driver is aliases to different /dev/eth and it should
> work (has worked great for 5 years for me).
> 
> Regards
>   Peter Larsen
Thanks, did as you said but it didn't work. :-( 
Following is more accurate info. Eventual idea is Home LAN, 2 machines,
both linux, this machine is hooked to DSL (perm. IP), 
eth0, and other machine hooks to this via eth1. 

At boot everything works: 
[donius@warwick donius]$ /sbin/ifconfig 
eth0      Link encap:Ethernet  HWaddr 00:03:6D:1F:D2:44 
          <PROPER WORKING ADDRESSES HERE> 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
          RX packets:200 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:222 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 txqueuelen:100 
          RX bytes:92527 (90.3 Kb)  TX bytes:28723 (28.0 Kb) 
          Interrupt:10 Base address:0x9000 

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0 
          UP LOOPBACK RUNNING  MTU:16436  Metric:1 
          RX packets:152 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:152 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 txqueuelen:0 
          RX bytes:7696 (7.5 Kb)  TX bytes:7696 (7.5 Kb) 


But if i activate eth1, now eth0 looses capabilities. 

[donius@warwick donius]$ /sbin/ifconfig 
eth0      Link encap:Ethernet  HWaddr 00:03:6D:1F:D2:44 
          <PROPER WORKING ADDRESSES HERE> 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
          RX packets:200 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:222 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 txqueuelen:100 
          RX bytes:92527 (90.3 Kb)  TX bytes:28723 (28.0 Kb) 
          Interrupt:10 Base address:0x9000 

eth1      Link encap:Ethernet  HWaddr 00:03:6D:1F:D3:15 
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:0 errors:10 dropped:0 overruns:0 carrier:20 
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b) 
          Interrupt:12 Base address:0xb000 

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0 
          UP LOOPBACK RUNNING  MTU:16436  Metric:1 
          RX packets:156 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:156 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 txqueuelen:0 
          RX bytes:8048 (7.8 Kb)  TX bytes:8048 (7.8 Kb) 


I know nothing about networking and am starting to think i should post
there, but i really have found you bunch of guys to be so helpful w/ my
problems, i wanted to try here first. 

thanks for the info so far, dw. 




-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux