Dear Antoine,
You made it work! Thanks!
I added the -cloning option and used my modem's internal IP (10.0.0.138)
instead of the ISP's router IP and now it works.
Thanks a lot,
Dimitri
From: Antoine Jacoutot <[EMAIL PROTECTED]>
To: Dimitri Willemse <[EMAIL PROTECTED]>
CC: [email protected]
Subject: Re: DHCP client doesn't pick up router outside subnet
Date: Mon, 30 Jan 2006 15:13:21 +0100
Selon Dimitri Willemse <[EMAIL PROTECTED]>:
> The problem is that the default gateway that is supplied by the DHCP
server
> is not in the same
> subnet as the IP address (some weird PPP thing?). If I connect a Window$
box
> this doesn't seem
> to be a problem, but my OpenBSD box (3.8) doesn't like it, it seems. No
> default gateway is assigned, even when I literally put it in /etc/mygate
> (which I would prefer not to, in case it's
> dynamic).
Hi.
I has the same issue when using the dhcp_spoof mode of my DSL modem. I
ended up
adding a fixed value to /etc/mygate.
I don't know if you're using the same mode as I was (dhcp_spoof), but I
never
managed to make it work more than a couple of days (it worked pefectly for
a
while but as hours went by, it started loosing packets until the connection
was
not usable anymore).
Antoine
ps : if it can be of any help, here is what I needed to do to make it work
$ route add -net 10.0.0.1 -netmask 255.255.255.255 -interface 145.1.2.3
-cloning
$ route add default 10.0.0.138
where 10.0.0.1 is my DLS modem internal @ip and 145.1.2.3 is my external
@ip.