View Single Post
  #1   (View Single Post)  
Old 24th November 2009
amorphousone amorphousone is offline
Port Guard
 
Join Date: Nov 2009
Posts: 11
Default Network configuration issue (gateway(s))

hello all.
total noob to networking, but not entirely to unix (no expert either).

after all the reading i've done (Complete FreeBSD, Linux Network Admin, OpenBSD online manual, man pages, web how-tos), i still can't grok the routing i want for my first network.

here is a simple setup with extra computers removed for simplicity. i'm using static ips because dhcp didn'tseem necessary (fixed set of computers; am i wrong)?

i've attached a txt diagram of my landscape.

as may be apparent, i intend to use openbsdbox as a gateway/firewall/nat/yaddayadda

the box talks to the internet fine (i can ssh into it).
rl0 is up.
i haven't messed with the wifi part of this yet (laptop1).

at this point i just want desktop1 to talk to openbsdbox (in an attempt to keep my learning process simple; after that i guess i'll turn on packet forwarding so desktop1 can reach the internet). in my reading, i see information which conflicts (only in my mind i know).

1.WHICH of the ips listed above do i set to default gateway?
2. What is the minimum set of routes i add to get desktop1 to talk to openbsdbox?

i usually don't ask to be spoon fed answers, especially on this since i'm really trying to learn the guts of unix, but i've been beating my head against a wall for a week trying to learn networking so i can get this set up, and something's eluding me.

any help is GREATLY appreciated!

-scott

Code:
desktop1                     laptop1
192.168.0.201              192.168.0.202
      |                     |
      |_192.168.0.2_________|
            |
            |
        TRENDnet (wireless router)
        192.168.10.1
            |
            |
  +-----rl0   192.168.0.120-----+ (ip i assigned)
  |                             |
  |           openbsdbox        |
  |                             |
  +-----dc0   192.168.0.110------+
            |
            |
        cradlepoint (mobile broadband to ethernet converter)
        192.168.0.1
            |
            |
         internet
Attached Files
File Type: txt diagram.txt (592 Bytes, 80 views)

Last edited by J65nko; 24th November 2009 at 11:45 PM. Reason: Added diagram inline using code and /code tags
Reply With Quote