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

IP Masq problem w/2 NIC, Debian



Hello,

I was wondering if you could help me configuring my linux computer with a two-port NIC. I'm using a DSL connection with the 1st (eth0) port, and a switch is connected to the 2nd port(eth1). I have installed the Debian package known as IPMasq which automatically sets up masquerading. The IP masq feature worked when I was using a single card and a dial up connection. Here is a look at my network settings:

eth0      Link encap:Ethernet  HWaddr 00:90:27:0B:E5:B8
         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:156055 errors:0 dropped:0 overruns:0 frame:0
         TX packets:86263 errors:0 dropped:0 overruns:4 carrier:0
         collisions:0 txqueuelen:100
         RX bytes:233027147 (222.2 MiB)  TX bytes:6631829 (6.3 MiB)
         Interrupt:11 Base address:0x5000

eth1      Link encap:Ethernet  HWaddr 00:90:27:0B:E5:B9
         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:1027 errors:0 dropped:0 overruns:0 frame:0
         TX packets:21 errors:0 dropped:0 overruns:3 carrier:0
         collisions:0 txqueuelen:100
         RX bytes:61620 (60.1 KiB)  TX bytes:504 (504.0 b)
         Interrupt:10 Base address:0x7000

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:7109 errors:0 dropped:0 overruns:0 frame:0
         TX packets:7109 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:806156 (787.2 KiB)  TX bytes:806156 (787.2 KiB)

ppp0      Link encap:Point-to-Point Protocol
         inet addr:64.108.80.18  P-t-P:64.108.80.254  Mask:255.255.255.255
         UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
         RX packets:1963 errors:0 dropped:0 overruns:0 frame:0
         TX packets:1458 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:3
         RX bytes:2387060 (2.2 MiB)  TX bytes:168601 (164.6 KiB)

Anyhelp would be *gladly* appreciated!!!!!
If I try to ping my two networked linux computers nothing happens.  :-(

My main ? is how do I setup both the gateway/router computer as well as the clients?


Thanks in advance...

John Kerr Anderson



Reply to: