|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|
|||
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 Last edited by J65nko; 24th November 2009 at 11:45 PM. Reason: Added diagram inline using code and /code tags |
|
|||
Ai-danno beat me in answering. I took the liberty to add the diagrams inline so it easier for everybody to follow
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
ai-danno,
thanks so much for the response! i'll mull this stuff over and be back in a few days with some questions that will inevitably arise as a result. and thanks to you too J65nko for the inline diagram! -scott |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WindowMaker 0.92.0p7 (OpenBSD 4.4/i386 Packages) configuration issue. | xixobrax | OpenBSD General | 1 | 3rd May 2009 04:04 PM |
Nvidia nForce MCP77 network adapter issue | padmanabh | FreeBSD Installation and Upgrading | 5 | 17th January 2009 12:18 PM |
antivirus gateway | milo974 | OpenBSD Security | 9 | 14th September 2008 04:02 AM |
FreeBSD Gateway | tad1214 | FreeBSD Ports and Packages | 4 | 11th July 2008 05:31 AM |
Dual WAN gateway. | LordZ | OpenBSD Security | 2 | 2nd June 2008 09:00 AM |