TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ip masquerading help



I am trying to get two machines working via IP Masquerading. I have a
Debian box, which is my desktop, setup to be the MASQ server to a
Mandrake/WIN98 box. I have two NICS in my Debian machine that I think
are setup correctly. See the output of "ifconfig" below:

eth0      Link encap:Ethernet  HWaddr 00:00:94:98:89:F9  
          inet addr:192.168.100.2  Bcast:192.168.100.255 
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9847 errors:1 dropped:0 overruns:0 frame:1
          TX packets:7496 errors:0 dropped:0 overruns:0 carrier:0
          collisions:23 txqueuelen:100 
          Interrupt:11 Base address:0xec00 

eth1      Link encap:Ethernet  HWaddr 00:A0:CC:51:A2:29  
          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:0xe800 

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:40 errors:0 dropped:0 overruns:0 frame:0
          TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

I followed the HOWTO as best I could and everything seems to be working
but the two computers don't see each other (no green light on the nics)
I had previously posted a similar question but I still can't figure it
out. Any help would be very much appreciated. Here are a few more tests
I ran.

gsa700:/home/dave# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
192.168.100.0   0.0.0.0         255.255.255.0   U         0 0          0
eth0
192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0
eth1
0.0.0.0         192.168.100.1   0.0.0.0         UG        0 0          0
eth0
gsa700:/home/dave# 


gsa700:/home/dave# cat /proc/sys/net/ipv4/ip_forward
1

Does anyone have any suggestions? I tested and verified that all the
cards work and the cables are ok too.

I set the IP address of the mandrake box to: "192.168.0.2" it's default
gateway is "192.168.0.1" and it's broadcast address to "255.255.255.0"

--
Dave Erickson
Remove "xxx" from address to reply
- - - - This space for rent - - - -