[Techtalk] Modem Woes

anti tanvir anti_tanvir at yahoo.co.uk
Sat Mar 15 02:44:26 EST 2003


 --- Terri Oda <terri at zone12.com> wrote: > > Kernel IP
routing table
> > Destination     Gateway         Genmask        
> Flags
> > Metric Ref    Use Iface
> > xxx.xxx.121.254  0.0.0.0         255.255.255.255
> UH   
> > 0      0        0 ppp0
> > 198.1.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
> > 0.0.0.0         198.1.1.254     0.0.0.0         UG
>   
> > 0      0        0 eth0
> > 
> > I was wondering if I should have the
> xxx.xxx.121.254
> > as my gateway rather than 198.1.1.254??!!!
> 
> I think you've got it!  Right now, all your traffic
> is being routed through
> your ethernet card (see that eth0 at the bottom?),
> so you probably want to
> make xxx.xxx.121.254 your default route when you're
> on the network. 
> 
> It's been a while since I did PPP on a RedHat box,
> though, so I can't help
> with the specifics of what config files you'll need
> to change.  
> 
> A quick fix for the moment: Delete that last route
> ("route del default" or
> something along those lines), then add the new one
> (something like "route
> add default gw xxx.xxx.121.254").  You should at
> least be able to reach
> numeric IPs then and do name lookup if you've got
> DNS set.
> 
> That should get you up and running for the moment,
> but you'll want to change
> those config files so that you don't have to do that
> yourself all the time. 
> Unless you regularly route through the ethernet
> card, I'd just skip
> specifying that as default gateway wherever its
> configured, and your dialer
> should write (and remove) the appropriate default
> gateway stuff on its own.
> 
>  Terri

Hi Terri,

I tried route del default and then route add default
xxx.xxx.xxx.xxx after which it looked like

Destination     Gateway     Use Iface
0.0.0.0     xxx.xxx.121.254   ppp0

I also found the entry nameserver kitkat & it's eth0
IP 198.1.1.0 in there. Both of which I blocked.

But it still can't ping any host.

Well, please let me know how can I add my ISPs
nameserver in /etc/resolv.conf so that it can catch
the nameserver from the void.

Or any further help would be greately appreciated.

-T.

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


More information about the Techtalk mailing list