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

Re: Unwanted routing table entries



-----BEGIN PGP SIGNED MESSAGE-----

Hi Avery,

The sl0 device entries are set up by the diald package, which task is to
automatically dial up the line to your ISP if needed. This should be no problem
with your dialin script. Try setting another IP-adress (something like
10.0.0.1/10.0.0.2) for your local/remote. If afterwards route doesn't show the
route, simply add these entries with some name like "isplocal" and "ispremote"
to your /etc/hosts file. The parameter "dynamic" has to be activated in
/etc/diald/diald.options an "ipcp-accept-local", "ipcp-accept-remote" and
"noipdefault"  in /etc/ppp/options to adjust these ip's to the ISP's
IP-adresses. If you want the automatic dial in to work, there is no way in
removing the default route entry, otherwise you can delete the entry
"defaultroute" from the /etc/diald/diald.options file.

Both sl0 entries are dummy entries. When these devices are adressed, diald will
set up the serial line and configure it in a way, that the modem is added as a
network device to the system. The default route entry is needed, because this
is the one entry where all frames, for which no matching local adress could be
found will be sent through. So any time you try to address some internet
adress, this frame will be sent through this route and diald will be able to
set up the line. If you remove the default route, you will get a "unknown host
..." error in this case.

Hope this helps

	Dieter


----------------------------
On Mon, 26 Apr 1999, Avery Fay wrote:
>Hi, I'm new to this list so if this is the wrong place to ask this please
>tell me. I recently bought the Debian CDs and managed to get everything
>installed. My first project was to get my modem properly connecting to my
>ISP. After finally getting my modem working and the scripts set up I still
>have a problem with PPP. After every restart, when I type route -n, I get:
>
>    Destination        Gateway        Genmask        Flags    Metric    Ret
>Use    Iface
>    192.168.0.2        0.0.0.0       255.255.255.255   UH        1
>0        0       sl0
>    127.0.0.0           0.0.0.0        255.0.0.0              U         0
>0        0        lo
>    0.0.0.0               0.0.0.0       0.0.0.0                  U         1
>0        0        sl0
>
>Anyway my problem is with the first and third entries. When I use pppd it
>gives me an error saying the default route has already been set and will not
>work. When I delete those entries ppp works fine. My question is, when in
>the init process are these entries being made and how to I get rid of them?
>I have looked through a lot of the files in /etc/init.d and found nothing. I
>see no messages about their creation when I type dmesg either. I do know
>that they are created during the init process because when I delete they
>reappear after reboot.
>
>I realize I could put commands at the end of the init process that would
>erase these entries but I would rather keep them from happening. I am sort
>of curious as to what they are as well. I gather that sl from sl0 stands for
>serial link (got this from ifconfig) but other than that I know nothing.
>
>Any help would be greatly appreciated. Thanks,
>
>Avery Fay
>
>
>
>
>
>
>-- 
>Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
--
Dieter Jaeger Datentechnik
<dkjaeger@t-online.de>



-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: jhFXwa3HAAa5TFZHu+jdeLQKI3k5YQy6

iQCVAwUBN03taXUAxaESJjTJAQF6LAP/alD2k/vT5LE29Q2bKcCi9hoLVbViLl8y
KVV1yoJ3PQ6UyyJDBU7rGWRfAgcVhzmYQ7r/2g9fjDcC1eTXFUcjsB4ZKnhWmppF
SDQI/E8QTRO09qHk7JH4VP3dy3HFqz4n6cW9BCRFQeVuhHp3wlMi/l4S2tlMYTqO
jt7VzesHRTA=
=Y+wz
-----END PGP SIGNATURE-----


Reply to: