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

Re: [TCLUG:8925] ip masquerading help



How do you know the 2 computers can't see each other.  Have you
tried pinging or tracerouting from your mandrake box to your debian
box?  What are the results.

Note: if you want the debian box on the Internet, one of the NIC
cards needs to have a routable IP - currently they both have
non-routable IPs.

Basic question: are you sure they are physically connected appropriately
(the 192.168.0.2 nic should be connected to the same hub as your
mandrake box).

On Mon, Oct 04, 1999 at 03:36:24PM -0500, Dave Erickson (gsa700xxx@mediaone.net) wrote:
> 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 - - - -
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-list-help@mn-linux.org

-- 
Amy Tanner                                      Voice: 612.943.8700
Real Time Enterprises, Inc.	                  Fax: 612.943.8500
amy@real-time.com		    	   http://www.real-time.com
PGP fingerprint =  67 6C 8F DB B1 7A 8D 41  DC 7B CA 0B 28 1E 67 AD