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


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.

Now, the only difference with using PPPoE, is that the external net
IP does not get assigned to the eth0, it gets assigned to PPP.
Here's some of /sbin/ifconfig: (on gateway box):

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:216.209.161.6  P-t-P:216.209.161.1 
Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1484  Metric:1
          RX packets:16412 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10354 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10 


Using PPPoE, is there anything different i must do?

On the gateway box, i'm running slackware 7, with a 2.2.14 kernel
that i've recompiled with all the ip masq, ip forwarding, etc
options.
On the client, running a RH6.1 with a 2.2.14 kernel.

Any help or hints of things to try would be most appreciated.
thanks.


__________________________________________________
Do You Yahoo!?
Send instant messages with Yahoo! Messenger.
http://im.yahoo.com/

_______________________________________________
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