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

Re: wireless bridge, & nic IP addressing



On Wed, Feb 25, 2004 at 10:59:12AM -0800, Rodney D. Myers wrote:
> I just got my wireless internet this morning, and have run into a
> small problem.
> 
> The wireless bridge, attached to my nic has been assigned a static IP
> (for the time being), and to get my nic (eth0) to find it, it was also
> assigned an IP address in my ISP's range. Not a good thing.
> 
> I, quickly, attemted to assign a 192.168.*.* address to eth0, and
> point it towards the beidge, but that did not work.. 
> 
> I know there is a way to get my nic address off of my ISP's address
> range, but have not figured it out, yet.

I don't understand what you are talking about, and I guess neither do
you.

> What can I do to get my nic (eth0) with a non internet IP address
> (192.168.1.2) to find the bridge?

The `bridge' is your only gateway to the Internet, right?  Then the only
thing you have to do is:

# which ip || apt-get install iproute
# ip route add AAA.BBB.CCC.DDD/32 dev eth0
# ip route add default via aaa.bbb.ccc.ddd dev eth0

Where AAA.BBB.CCC.DDD is the `bridge' IP address in the dotted decimal
format (ISP range, private range, whatever, doesn't matter).  (I suppose
the `bridge' is configured correctly.)

-- 
``You know those mail clients:  MS Outlook, mail(1), or even telnet(1).
  All of them suck.  This one just sucks less.''

Attachment: pgpQ4Hu2cDt1e.pgp
Description: PGP signature


Reply to: