Thank you Bob for answering

I'm getting better at networking.  I got them talking at least and can break 
the connection and reconnect them. I had the gateway already in like you had. 
 I had also put in network 192.168.0.0 .  I was playing around with route and 
found out what that does.  I wasn't able to connect to the net for a while 
and now I know what that does.  when I conect to the internet with dialup if 
I run ifconfig there is a ppp0 which is the default gateway and has the ip 
address I get assigned.  Which sounds correct.  Here's the configuration.  
Could it be ipchains?  However that looks good.  All I want to do is connect 
Boyle to the internet thru Tesla.   I was just thinking should the gateway be 
ppp0.  Can I put ppp0 in /etc/network/interfaces ie.
gateway ppp0
I notice when I connect, route has 
default         1atwdialup.famv 0.0.0.0         UG    0      0        0 ppp0
I'm just guessing here.

This is the machine connected to the internet

tesla:/etc/network# cat interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
iface lo inet loopback
# The first ethernet interface
iface eth0 inet static
      address 192.168.0.2
      network 192.168.0.0
      netmask 255.255.255.0
      broadcast 192.168.0.255
      gateway 192.168.0.1      


tesla:/etc# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:A0:24:80:20:D9  
          inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:427 errors:0 dropped:0 overruns:0 frame:0
          TX packets:427 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:10 Base address:0x300 

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

ppp0      Link encap:Point-to-Point Protocol  
          inet addr: x.x.x.x  P-t-P:x.x.x.x  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:3994 errors:3 dropped:0 overruns:0 frame:3
          TX packets:3390 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10 

tesla:/etc# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
1atwdialup.famv *               255.255.255.255 UH    0      0        0 ppp0
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
default         1atwdialup.famv 0.0.0.0         UG    0      0        0 ppp0



This is the machine I want to connect to the internet.

boyle:/home/timothy# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:C0:4F:AE:8B:39  
          inet addr:192.168.0.3  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:357 errors:0 dropped:0 overruns:0 frame:0
          TX packets:387 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:11 Base address:0xdc80 

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



boyle:/home/timothy# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
boyle:/home/timothy# 



On Sunday 14 July 2002 02:35, you wrote:
> Timothy Bolz wrote:
> > I've got one computer which is called Tesla which uses a modem to connect
> > to the internet. ?I have the other computer which is called Boyle which
> > is connected ?to Tesla with cat5 and a hub. ?I am able to SSH into each
> > machine. ?I am not able to use Mozilla to cruise the web from Boyle. ?I
> > read about IP chains and IP Masquerading and thought this would work. ?So
> > I went. to freshmeat and found a nice firewall soulution called defcon4.
> > ?I thought this would allow me to get Boyle connected to the internet.
> > ?It hasn't and I don't know why.
> >
> >
> > And I thave this in /etc/network/interfaces
> >
> > iface lo inet loopback
> >
> > iface eth0 inet static
> > ???????? address 192.168.0.2 ? ?# for Tesla the same line is 192.168.0.1
> > ???????? netmask 255.255.255.0
>
> You need to add a gateway line.
>
> iface eth0 inet static
>       address 192.168.0.2
>       netmask 255.255.255.0
>       gateway 192.168.0.1

Reply via email to