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

Re: ppp- and dns-problem



> > I have tried to set up directly a route with
> >
> > route add default gw 62.104.196.134
> >
> > and I get the following error
> >
> > SIOCADDRT: Network is unreachable
>
> post the full results of netstat -rn and ifconfig
Here are the results

netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
62.104.208.43   0.0.0.0         255.255.255.255 UH        0 0          0 ppp0
192.168.1.0     192.168.1.200   255.255.255.0   UG        0 0          0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 eth0

ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:98:14:60:E2  
          inet addr:192.168.1.200  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:10 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:3 Base address:0x300 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:94 errors:0 dropped:0 overruns:0 frame:0
          TX packets:94 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:213.7.64.150  P-t-P:62.104.208.43  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:11 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10 

I have done 

ifconfig eth0 down

to shutdown the ethenet network before using ppp and I got the following 
(correct) routing table

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
62.104.208.43   0.0.0.0         255.255.255.255 UH        0 0          0 ppp0
0.0.0.0         62.104.208.43   0.0.0.0         UG        0 0          0 ppp0

with it dns can work.

Thank you for your help



Reply to: