This is what I found odd. The logs say they are up, but if I plug 
either card into my switch I can not ping any other machine. Nor can 
I ping any machine from the linux box.

I just don't get it. I don't have a need to masq the box yet, but I 
wanted to learn more about it so I thought I'd try to setup the two 
cards.  Thanks for the advise.

Chad

> By the look of your log file, both network cards are coming up. You 
do
> however need to change ip_forward to 1 and ip_always_defrag to 1 if 
you want
> to use masquerading. I wasn't able to get my system to forward at 
all until
> I compiled the kernel myself. I recommend looking at
> http://www.ecst.csuchico.edu/~dranch/LINUX/ipmasq/ipmasq-HOWTO.pdf 
for what
> things to say yes to in order to get forwarding to work. Mine isn't
> completely working yet, but I'm much closer than I was before.
> 
> I hope this will help some.
> 
>  -----Original Message-----
> From:         Chad W. Skinner [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, August 03, 2000 9:46 PM
> To:   [EMAIL PROTECTED]
> Subject:      Problems with dual NICs
> 
> Hello,
> I am having a bit of trouble with one of my linux boxes, but don't 
know what
> I am doing wrong. I have my computer working great with one network 
card,
> but when I insert the second card both network cards quit 
responding. I have
> been reading the network and ethernet howtos, but am at a loss as 
to what I
> need to change to fix this. Below are the sections of the logs and
> configuration files that I believe are relevant.
> 
> /var/log/messages___________________________________________________
_____
> 
> Aug  3 17:12:53 orion kernel: tulip.c:v0.91g-ppc 7/16/99
> [EMAIL PROTECTED]
> Aug  3 17:12:53 orion kernel: eth0: Lite-On 82c168 PNIC rev 32 at 
0xdc00,
> 00:A0:CC:65:E4:AC, IRQ 11.
> Aug  3 17:12:53 orion kernel: eth0:  MII transceiver #1 config 3000 
status
> 7809 advertising 01e1.
> Aug  3 17:12:53 orion kernel: eth1: Lite-On 82c168 PNIC rev 32 at 
0xe000,
> 00:A0:CC:63:DA:B5, IRQ 10.
> Aug  3 17:12:53 orion kernel: eth1:  MII transceiver #1 config 3000 
status
> 7829 advertising 01e1.
> ...
> Aug  3 17:12:19 orion sysctl: net.ipv4.ip_forward = 0
> Aug  3 17:12:19 orion sysctl: net.ipv4.conf.all.rp_filter = 1
> Aug  3 17:12:19 orion sysctl: net.ipv4.ip_always_defrag = 0
> ...
> Aug  3 17:12:51 orion sysctl: net.ipv4.ip_forward = 0
> Aug  3 17:12:51 orion sysctl: net.ipv4.conf.all.rp_filter = 1
> Aug  3 17:12:51 orion sysctl: net.ipv4.ip_always_defrag = 0
> Aug  3 17:12:51 orion sysctl: kernel.sysrq = 0
> Aug  3 17:12:51 orion network: Setting network parameters succeeded
> Aug  3 17:12:51 orion ifup: SIOCADDRT: Network is unreachable
> Aug  3 17:12:51 orion network: Bringing up interface lo succeeded
> Aug  3 17:12:51 orion network: Bringing up interface eth0 succeeded
> Aug  3 17:12:52 orion ifup: SIOCADDRT: Network is unreachable
> Aug  3 17:12:52 orion network: Bringing up interface eth1 succeeded
> ...
> Aug  3 17:12:55 orion kernel: eth1: Setting full-duplex based on 
MII#1 link
> partner capability of 41e1.
> 
> --------------------------------------------------------------------
------
> 
> [root@orion chadws]# route -n
> Kernel IP routing table
> Destination   Gateway         Genmask       Flags Metric Ref    Use 
Iface
> 192.168.1.1   0.0.0.0       255.255.255.255 UH    0      0        0 
eth0
> 192.168.2.1   0.0.0.0       255.255.255.255 UH    0      0        0 
eth1
> 192.168.2.0   0.0.0.0       255.255.255.0   U     0      0        0 
eth1
> 192.168.1.0   0.0.0.0       255.255.255.0   U     0      0        0 
eth0
> 127.0.0.0     0.0.0.0       255.0.0.0       U     0      0        0 
lo
> 0.0.0.0       192.168.2.1   0.0.0.0         UG    0               0 
eth1
> 
> --------------------------------------------------------------------
------
> 
> [root@orion
> /etc]# ifconfig
> eth0  Link encap:Ethernet HWaddr 00:A0:CC:65:E4:AC
>       inet addr:192.168.1.1 Bcast:192.168.1.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:1518 dropped:0 overruns:0 carrier:3036
>       collisions:0 txqueuelen:100
>       Interrupt:11 Base address:0xdc00
> 
> eth1  Link encap:Ethernet HWaddr 00:A0:CC:63:DA:B5
>       inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
>       UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>       RX packets:1591 errors:0 dropped:0 overruns:0 frame:0
>       TX packets:36 errors:3 dropped:0 overruns:0 carrier:3
>       collisions:0 txqueuelen:100
>       Interrupt:10 Base address:0xe000
> 
> --------------------------------------------------------------------
------
> 
> Thanks for your help,
> Chad
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



--
Is your email secure? http://www.pop3now.com
(c) 1998-2000 secureFront Technologies, Inc. All rights reserved.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to