On Sun, 2005-01-23 at 15:56 +1300, Rik Tindall wrote:
> This could well have been the issue, thanks Nick. Although in my case 
> there was no LAN or other gateway set up or involved; just dialup on
> a 
> standalone box. The way the wizard behaved - by refusing to enable
> both 
> the onboard modem & the NIC simultaneously - made it look like a 
> hardware setup clash. But perhaps it was assignment of a default
> route 
> to one or both that caused the dummy to be spat. I can go back and
> check 
> again one day.
> 
> When running through the MDK network wizard frames (from memory, 
> although I have the same question of SuSE now), if one assigns an IP
> - 
> say, 192.168.1.254 - to the dialup box, and one then is asked what
> the 
> default route is, I have been inputting "192.168.1.254" again.  Is
> this 
> correct? I had assumed (vainly, it seems) that this action would
> later 
> lead to Internet sharing via this default route. Further steps are 
> usually required for Internet sharing to be enabled.

I assume you have two boxes a dialup box and a client box (D and C) in
ascii art:

internet<-->ppp0[D]eth0<-->eth0[C]

if D has the IP 192.168.1.254 assigned to eth0, then on C you assign
192.168.1.254 as the default route.

yes you need to do more on D, you need to enable masquearding or
similar, and you should have some firewalling.

as for routing, the default route is simply where the machine looks for
IP addresses it doesn't know what else to do with, viz on my desktop I
am typing this on:

[EMAIL PROTECTED] nick $ /sbin/route -n
Kernel IP routing table
Destination Gateway  Genmask    Flags Metric Ref Use Iface
192.168.1.0  0.0.0.0   255.255.255.0 U  0  0    0 eth0
172.16.14.0  0.0.0.0   255.255.255.0 U  0  0    0 vmnet8
127.0.0.0  127.0.0.1   255.0.0.0   UG   0  0    0 lo
0.0.0.0    192.168.1.2  0.0.0.0    UG   0  0    0 eth0

(sorry i squashed that up a bit so the lines wouldn't be wrapped, which
just confuses what is what)

anything that is not in the subnets 192.168.1.x, 172.16.14.x, 127.x.x.x
go to the destination 0.0.0.0 which is my router which is 192.168.1.2.




-- 
Nick Rout <[EMAIL PROTECTED]>

Reply via email to