Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2000 20:42:17 +0000 (GMT)
From:      Kherry Zamore <dknj@zamore.net>
To:        freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org
Subject:   Re: gateway on different subnet 
Message-ID:  <Pine.BSF.4.21.0010232034520.11254-100000@jubilee.sd.odu.edu>
In-Reply-To: <200010232035.e9NKZ1h04685@mass.osd.bsdi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mon, 23 Oct 2000, Mike Smith wrote:

> > Summary of the problem:
> > 
> > Can't assign cable modem gateway (10.17.56.12) to interface
> > ed0 with assigned IP (208.59.162.242) - "network unreachable".
> > 
> > I called RCN (my cable provider) and asked them to give me
> > a gateway on the same subnet; they said they "don't do that".
> 
> Your gateway *must* be on a reachable subnet.  That's all there is to it. 
> 

RCN has recently pulled a crack smoking move and made the gateways 10.x ip
addresses on their cable modems.  It caught me by surprise since I had
just put up a new box and it refused to get on the internet.  Anywho, the
easiest way to fix it is to alias 10.254.254.1 (or some other bogus ip) to
your public interface with a netmask of 0xff000000 and then set your
default gateway as normal.

% ifconfig ed0
ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 216.164.35.237 netmask 0xffffff00 broadcast 216.164.35.255
        inet 10.254.254.1 netmask 0xff000000 broadcast 10.255.255.255
        ether 00:50:4e:00:cc:ff 

When I get home I'm probably going to switch to DSL, my sanity is worth
more than low cost bandwidth.


-= Kherry Zamore -=- (757) 683-7386 =-
-= Resident Computer and Network geek/god =-
-= Rogers Hall Main Room 324 -=- www.dknj.org =-




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010232034520.11254-100000>