[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sheflug] Re: Routing Problem



Pieter and Alex and Stephen

Pieter Meiring wrote:

netstat -rn on the gateway reveals....

this is after connecting and pinging my notebook and my ISP at
194.247.47.47......

> > Destination     Gateway     Genmask     Flags   MSS   Window   irtt
> > Iface
> > 194.247.47.47  0.0.0.0  255.255.255.255  UH      0      0       0
> > ippp0
> > 192.168.1.0    0.0.0.0  255.255.255.0    U       0      0       0
> > eth0
> > 127.0.0.0      0.0.0.0  255.0.0.0        U       0      0       0
> > lo
> >
> 
> The default route to your dialup is not being set.:
> "route  add default ippp0"   on your server should do it. To automate this
> setting requires either as "defaultroute" option ini the dialup scripts or
> executing the "route add default ippp0" command in a post connection script.

tried...

putting "route add default ippp0" into /etc/ppp/ip-up
also done 'route add default ippp0' on the command line

also tried......

1/   /sbin/route add default gw $REMOTEIP dev $INTERFACE
2/   /sbin/route add default gw $194.247.47.47 dev $ippp0
3/   /sbin/route add default gw $REMOTEIP dev $ippp0
4/   /sbin/route add default netmask 0 ippp0
5/   route add default netmask 0 ippp0

as separate attempts.  I can ping both ways from the gateway to the
notebook and back.  When I tried 2 I couldn't ping my ISP from the
gateway at all.

I now find that when I ping 194.247.47.47 from my notebook I can send
56bytes out through the gateway but nothing comes back to the notebook
PCMCIA card.

Also tried /etc/ppp/ip-up.local  and   /etc/ppp/ip-down.local but that
doesn't work either.

Any more suggestions ?

-- 
Richard

---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.