/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */


> -----Original Message-----
> From: Craig [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 15, 2000 7:09 PM
> To: [EMAIL PROTECTED]
> Subject: [Masq] some more Newbie questions...
> 
> hi all,
>   okay, i've read the FAQ and i've searched the mailing list archive.
> I can't figure out what little thing i'm missing.
> 
> I'm trying to set up a small home network.  I've read the
> "Home-network-Mini-Howto' and followed all the directions there.
> I've read the IP masquerading FAQ & Howto.  I'm very close but i
> think i'm only missing one tiny piece of the puzzle.
> 
> As it stands i have the following: my server/gateway box has 2
> ethernet cards (eth0 plugged into my xDSL modem {using PPPoE}, and
> eth1 plugged into a 4 port hub).  On my client computer, i have one
> NIC card and i bring it up no problem.  
> 
> I bring up the net connection on the gateway box.  
> Now, my client box can ping both the cards on the gateway box with no
> problems.  However, anytime i try to ping (or telnet, or anything)
> any outside (non-192) IP, nothing happens.
> On my client box, i've tried typing the following command:
> 
> /sbin/route add default gw 192.168.1.1 dev eth0
> 
> After this, just typing /sbin/route seems to hang.  It never comes
> back with a prompt and i have to Ctrl-C it every time.
> It spits this much out and then hangs:
>
> [root@wombat /home/craig]# /sbin/route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref   
> Use Iface
> 192.168.1.0     *               255.255.255.0   U     0      0       
> 0 eth0
> 127.0.0.0       *               255.0.0.0       U     0      0       
> 0 lo
> 
> 
> (192.168.1.1 is the IP of eth1 on the gateway box (connected to the
> hub).  I've also tried using the IP of eth0 on the gateway box.

Try netstat -rn, or route -n.  That will disable name lookups, and maybe
make things happier.  The above isn't showing a default route, only one for
the local net, and one for the loopback net. 
        Greg
        Greg

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to