I am a debian newbie...trying to add a second NIC to my machine - one with an internal and one with an external IP.
Linux registers both NICs, because this appears in /var/log/messages: Sep 29 19:12:13 jacktasty kernel: eth0: 3Com 3c905B Cyclone 100baseTx at 0x1400, 00:10:5a:07:29:54, IRQ 10 Sep 29 19:12:13 jacktasty kernel: eth1: 3Com 3cSOHO100-TX Hurricane at 0x1480, 00:50:04:6d:36:ef, IRQ 9 So that's good. eth0 is working now as my external IP. next, i tried to manually use ifconfig assing the internal IP to eth1 with this: # ifconfig eth1 192.168.0.1 netmask 255.255.255.0 that worked, becaue when i issued an ifconfig command, it returned: eth0 Link encap:Ethernet HWaddr 00:10:5A:07:29:54 inet addr:64.81.xxx.xxx Bcast:64.81.xxx.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4384 errors:0 dropped:0 overruns:0 frame:0 TX packets:3746 errors:0 dropped:0 overruns:0 carrier:0 collisions:25 txqueuelen:100 Interrupt:10 Base address:0x1400 eth1 Link encap:Ethernet HWaddr 00:50:04:6D:36:EF 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:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 Interrupt:9 Base address:0x1480 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:3924 Metric:1 RX packets:16 errors:0 dropped:0 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 all appears well, but when I try to ping a local machine, I get this: PING 192.168.0.2 (192.168.0.2): 56 data bytes ping: sendto: Operation not permitted ping: wrote 192.168.0.2 64 chars, ret=-1 ping: sendto: Operation not permitted ping: wrote 192.168.0.2 64 chars, ret=-1 ping: sendto: Operation not permitted and I can't ping my debian box from my other local machine either. I noticed in my /var/log/messages I had a bunch of these messages: Sep 29 20:22:36 jacktasty kernel: Packet log: output DENY eth1 PROTO=1 192.168.0.1:8 192.168.0.2:0 L=84 S=0x00 I=3784 F=0x0000 T=64 (#4) Sep 29 20:22:37 jacktasty kernel: Packet log: output DENY eth1 PROTO=1 192.168.0.1:8 192.168.0.2:0 L=84 S=0x00 I=3786 F=0x0000 T=64 (#4) am i missing some steps or doing something wrong? Thanks, rory