SuSE linux 8.0 & IPMasq

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Clayton Stapleton
Date:  
Subject: SuSE linux 8.0 & IPMasq
On Wednesday 28 August 2002 04:54 pm, George Toft wrote:

> Comp B can use a static IP, but you need to have a default gateway set
> up - the IP address of Comp A. Comp A does not need one NIC, and your
> ppp script will take care of adding the default gw to your routing
> table.
>
> Let us know what happens.
>
> George


Hi George
Took your suggesstion and changed the gateway for comp B to
192.168.0.1 which is the ip for comp A. Now comp B can ping the dynamic
address of my ISP.

This is before the change:
eric:~ # route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0


This is after the change:
eric:~ # route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0


eric:~ # ping -c 4 64.24.210.88
PING 64.24.210.88 (64.24.210.88) from 192.168.0.2 : 56(84) bytes of data.
64 bytes from 64.24.210.88: icmp_seq=1 ttl=255 time=0.216 ms
64 bytes from 64.24.210.88: icmp_seq=2 ttl=255 time=0.193 ms
64 bytes from 64.24.210.88: icmp_seq=3 ttl=255 time=0.192 ms
64 bytes from 64.24.210.88: icmp_seq=4 ttl=255 time=0.197 ms

--- 64.24.210.88 ping statistics ---
4 packets transmitted, 4 received, 0% loss, time 3000ms
rtt min/avg/max/mdev = 0.192/0.199/0.216/0.017 ms

Now that I can ping the internet form comp B how can I web browser
to connect to the internet.

TIA
Clayton