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

Routing traffic



Many thanks for your advice...

I managed to finally get a connection.  However another problem has
presented itself.
I am trying to use my W2k box to access the Internet via the OpenBSD 3.0
box,
Unfortunately if appears that traffic is not being routed to the interface
connected to the ISP
I have checked the following:

The Win2k gateway address is pointing to the OpenBsd box.
net.inet.ip.forwarding=1
pf=YES
the /etc/mygate file doesn't not exist.

Below is a crude diagram of the set up.


            | 169.254.166.83/16       169.254.166.1/16 (ep1) |
| 217.34.86.84 (tun0)--->ISP
[Win2k]
|---------------------------------------------------------------------|
[OpenBSD 3.0] |-------------------
            |  GW addr 169.254.166.1/16
(pppoa)

I have performed various tests to try to isolate the problem. It appears
that the tun0 interface on the
BSD box is not translating 169.254.0.0 traffic or not receiving it. (I think
it's the later)

I can do the following:

Ping from Win2k to interface ep1
Ping from Win2k to interface tun0 (No activity appears on the tcpdump for
this test. I thought that was strange.
Ping from OpenBSD to an Internet address (i.e. 199.185.137.3 -openbsd.com).
That works fine.
When I ping an Internet address from the Win2k box the tcpdump reports an
icmp request on interface ep1.
It even resolves the IP address that I'm trying to request, but no activity
on the tun0 interface
(other than "keep alive" messages).

In the routing tables the default is set to 217.34.86.84.

In the pf.conf file:

pass in all
pass out

In the nat.conf file:

nat on tun0 from 169.254.0.0/16 to any -> 217.34.86.84


Is there something I'm missing in the configuration.  Any help would be
appreciated.

Thanks in advance

Tony

 -----Original Message-----
From: 	Chad Loder [mailto:cloder@acm.org]
Sent:	08 April 2002 22:58
To:	Anthony Devonish
Cc:	misc@openbsd.org
Subject:	Re: Alcatel SpeedTouch ADSL USB

There's a mailing list for this modem driver.  If you
had sent your message to that list (speedtouch@ml.free.fr)
you would have gotten a response saying:

    That message is not an error...you can safely
    ignore it.  Upgrade to the current (cvs) version
    if you want it to go away.

And to save you some time, if you're planning on using
pppoe with that driver, don't bother -- pppoe isn't
supported (pppoa is tho).  Get a real modem with an
Ethernet interface. :)

         c

At Monday 4/8/2002 09:50 PM +0100, you wrote:
>I'm pretty new to OpenBSD and I am trying to get my Alcatel Speed Touch USB
>ADSL modem to work.  I have been following the instructions supplied at the
>following URL location (http://www.xsproject.org/speedtouch/INSTALL).  I
>have followed everything to the letter.
>
>When I issue to following command:
>
>modem_run -f /usr/local/libdata/mgmt.o -m
>
>I get the following output
>
>ugenioctl: USB_SET_TIMEOUT, no pipe
>ugenioctl: USB_SET_TIMEOUT, no pipe
>ugenioctl: USB_SET_TIMEOUT, no pipe
>ugenioctl: USB_SET_TIMEOUT, no pipe