Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 1999 11:44:33 +0200 (CEST)
From:      Andrej Brodnik (Andy) <brodnik@IBC.IskraSistemi.Si>
To:        freebsd-isdn@FreeBSD.ORG
Subject:   I guess problem(?) with PPP
Message-ID:  <199907300944.LAA18179@Dolinca.IBC.IskraSistemi.Si>

next in thread | raw e-mail | index | archive | help
Hi to everybody and _MANY_THANX_ for your help. The ISDN connection is
established and I can also ping/whatever the other side of the line.

Finally I  enabled automatic start-up of the  isdnd (in /etc/rc.conf).
However, there is  a slight problem: if I  enable monitoring from some
other machine  on the net  and this machine  is specified by  its name
(not IP address), isdnd fails to  start since default route is set yet
and DNS can not be consulted to resolve the name.

Next, now  I have a  couple of questions  with regard to  the ppp.conf
seting:

- not so  important part: Can  somebody in simple terms  explains what
  does

   set enddisc mac

  in the ppp.conf.sample?  It produced a warning and  I simply deleted
  it (commented it out).

- the more serious  problem is the routing problem  and routing on its
  own. The configuration I have looks like this:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

       ============================================== 192.168.1.0/24
       				| 192.168.1.1
                         +------------+
       			 |  mach-1    |
       			 +------------+
       				| 192.168.1.128
       			      ISDN
       				| 192.168.1.129
       			  +------------+
       			  |  mach-2    |
       			  +------------+
                                | A.B.C.1
       ============================================== A.B.C.D/24
	       | A.B.C.2
        +------------+
	|     GW     |
	+------------+
	       |
	   INTERNET

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

  Mach-1 and mach-2 are ``gateways'' in two separate departments. What
  I want to establish is transparent access from the net A.B.C.D/24 to
  the net 192.168.1.0/24.

  I enabled  gateway on GW and  mach-2 (in /etc/rc.conf).  Next, in my
  ppp.conf on mach-2 it stands:

   set ifaddr 192.168.1.129/25 192.168.1.128/25
   add! 192.168.1.0/24 HISADDR

  And on GW I added

   route add -net 192.168.1.0 -host mach-2

  Now, my routing table on mach-2 looks like this:

# netstat -r
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            GW                 UGSc        0        0      ep0
LOCALHOST          LOCALHOST          UH          0        0      lo0
192.168.1          192.168.1.128      UGSc        0       10     tun0
192.168.1.128      192.168.1.129      UH          1        0     tun0
A.B.C.1/24         link#1             UC          0        0      ep0
# 

   When I ping from mach-2 to anything on 192.168.1.0/24 net, the ISDN
   connection goes up and I  get the reply. However, when I traceroute
   from GW  to something on 192.168.1.0/24  net I get to  mach2 and no
   further. What is wrong?

Thanx in advance for the answers (again)!

LPA



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907300944.LAA18179>