[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Re: Routing Problem
> putting "route add default ippp0" into /etc/ppp/ip-up
> also done 'route add default ippp0' on the command line
Look up the command line options: I can't remember, but I would suspect
'route add default gw device ippp0' would be the correct command?
> 1/ /sbin/route add default gw $REMOTEIP dev $INTERFACE
Won't work if you haven't exported those variables
> 2/ /sbin/route add default gw $194.247.47.47 dev $ippp0
Won't work cos you've prefixed the ip address with a dollar sign.
> 3/ /sbin/route add default gw $REMOTEIP dev $ippp0
Won't work because you may not have exported the variable and you've
prefixed the interface with a $.
> 4/ /sbin/route add default netmask 0 ippp0
Won't work cos I don't think that's a valid request; check command line
options.
> 5/ route add default netmask 0 ippp0
I suspect 'which route' is /sbin/route, so 5 == 4, and hence still doesn't
work.
> 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.
Not surprising, route probably soldiered on and gave you a nonsense routing
table.
> 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.
Are you using ip masquerading? If not, the machine at the other end is
probably throwing all your packets in the bin.
Cheers,
Alex.
---------------------------------------------------------------------
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.