Desde:    Benito Fernandez Garcia@ISNOTES el 04/03/99 18.26

Hi friends.


My main aim is to do a router with mi linux machine but i have a problem
with the defaulroute.

Originally my Kernel table routing is :

127.0.0.0    0.0.0.0   255.0.0.0   U  ........   lo
15.0.0.0      0.0.0.0    255.0.0.0  U ..........  eth0

Logically is neccesary to have a default route and then I thought in the
program diald. Diald gives me the possibility for dialing on demand and
besides on this way I can use my modem.

In the configuration file "diald.conf" I put :

mode ppp
defaultroute
connect   pppd <options>
local address
remote address
dynamic


With the option "defaultroute" my Kernel table routing change to :

193.127.62.254     0.0.0.0   255.255.255.255     UH .....    sl0
127.0.0.0                0.0.0.0   255.0.0.0                   U
........lo
15.0.0.0                  0.0.0.0    255.0.0.0                  U
..........eth0
0.0.0.0                     0.0.0.0  0.0.0.0.
U.........   sl0

Diald creates a virtual interface called sl0.

Now the problem comes. For example I do a "ping a_site_www" and logically
the daemon pppd create a link. In my file "options" (this file is necessary
for pppd) i have got :
connect   "chat-program+options"
debug
defaultroute
idle 60

The problem is that the new default route with the interface ppp0 isn't in
the kernel routing table. In the logs appears the message :  pppd[---] :
not
replacing existing default route to sl0[0.0.0.0].
Like the new default route (with the interface ppp0) isn't in the routing
table then the ping doesn't work.

So, I can't route anything  :-(

Do you know this problem?.
Is possible that pppd (with the option defaulroute) can append in the
kernel
table routing another defaultroute?

Regards

Thanks in advance.



-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to