Openbsd as gateway Problem


 
Thread Tools Search this Thread
Special Forums IP Networking Openbsd as gateway Problem
# 64  
Old 12-28-2007
I have contact them few hours ago but they don't have services for home gateway. They only want to set up a large network. By the way, any good online material that i can refer to ?
Thanks.
# 65  
Old 12-28-2007
Quote:
Originally Posted by Peter_APIIT
AFter changed the dhcpd.conf, desktop -> openbsd gateway(ok) openbsd -> desktop address(176.16.10.10) Not ok.
What wrong with it ?
I have no idea since I don't know what you changed.

Seriously I would stop messing about with DHCP and get the routing sorted. Get your laptop and desktop using static configuration and determine what the settings should be. Once you know that, and have documented it all, then use openbsd as a DHCP server to do the configuration automatically. And when you configure that, do that an interface at a time.

There are far too many variables in your system to do things all in one go, start at the bottom, in your case that is routing and NAT.
# 66  
Old 12-28-2007
What u mean by static configuration? Is it realted to static ip to a speciic host ? Please help me. Thanks.
# 67  
Old 12-28-2007
Quote:
Originally Posted by Peter_APIIT
What u mean by static configuration? Is it realted to static ip to a speciic host ? Please help me. Thanks.
How do your laptop and desktop get their configuration? If by DHCP served by gateway then cut that stage out and configure them statically with static addresses and static default route, and static DNS resolver configuration.

Get confirmation that you have their settings right by testing before you move switch to using DHCP to provide that information.
# 68  
Old 12-28-2007
I agree with you but how to do that ? DHCP is very difficult trobule compare to static route.
Thanks for oyur help.
# 69  
Old 12-28-2007
Quote:
Originally Posted by Peter_APIIT
I agree with you but how to do that?
You physically sit at the desktop, you know what subnet it's connected to, choose a free IP address, configure it, and configure the router address as the openbsd box.

Then, you can confirm that

(a) the desktop can talk to the openbsd box.

(b) any other address goes via the openbsd box, and does not get "no route to host" error back.

(c) then you can troubleshoot NAT.

So the NAT configuration is going to need somehow the ranges of the subnets that count as "inside", eg the one the desktop is sitting on and is going to need to treat the openbsd box as the router for those subnets,
# 70  
Old 12-28-2007
Quote:
Originally Posted by Neo
This seems way to difficult to configure for someone who has no experience with TCP/IP.
I got a ADSL router for that very reason, so I didn't have to worry about NAT until I started seriously expanding the number of subnets inside.

IF you can't solve the NAT problem, then you may have to consider setting up an http proxy such as squid on the gateway. If may even be worth doing that as a fall back/redundency.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Inconsistency between RedHat 6.5 global gateway and single gateway leads to loss of default gateway

Dear friends I use RedHat 6.5, which sets the gateway in the configuration file / etc / sysconfig / network as GATEWAY = 192.168.1.26, and the gateway in the configuration file / etc / sysconfig / network-scripts / ifcfg-eth11 as GATEWAY = 192.168.1.256. The two gateways are different.... (6 Replies)
Discussion started by: tanpeng
6 Replies

2. IP Networking

Routing problem : two interfaces one gateway

hi folks, i have a horstbox-router with the following configuration. it has 4 ethernet ports from wich one (wan0) is configured as an external modem via dhcp. at this port/interface(wan0) it is connected with my home network (other switch). this configuration results in the following... (14 Replies)
Discussion started by: gencaslan
14 Replies

3. IP Networking

Small Problem about Default Gateway

I have Ubuntu linux Os with two eth cards. I can easily delete def gatewayg. But I can't add new one.. :confused::confused: When I run route-n: alperen@alperen-System-Product-Name:~$ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use... (1 Reply)
Discussion started by: Mhnds
1 Replies

4. Linux

GNUGK-How to setup static gateway to gateway routing

Dear Sir I am a newbie in the world of IP telephony. I have been working with Asterisk PBX (SIP) and Cisco Call Manager (MGCP) but now I am learning on how to work GNUGK for H.323 Gatekeeper. I am having a problem, configuring static call routing on GNUGK in the section ... (0 Replies)
Discussion started by: mfondoum
0 Replies

5. BSD

Xwindows Problem OPenBSD 4.6

Hi, I have OPENBSD 4.6 installed as a VM in Virtual Box on my Ubuntu 9.10 machine. Problem is that the XWindows will not start when I boot my OPENBSD VM. I am new to OPENBSD. How do I fix this problem? (5 Replies)
Discussion started by: mojoman
5 Replies

6. BSD

openbsd-pf

hello , I wondered if anyone could assist me in writing a simple packet filter firewall on my OpenBSD v4.5. All I intend doing is to have two firewalling machine on a separate network : 192.168.1.1 ext_if = xl0 (dhcp) // Internet interface int_if=xl1 // Internatl interface ... (0 Replies)
Discussion started by: mattjam
0 Replies

7. BSD

Trying to get into OpenBSD

I am an eight year Linux user and after getting into an argument with someone about OpenBSD overiding my theory that OS security is 50% OS and 50% admin skill, I decided to try OpenBSD for myself. I've tried BSDs before and haven't been able to get into them for day to dy use, but I am going to... (7 Replies)
Discussion started by: deckard
7 Replies

8. BSD

[OpenBSD] DNS startup problem

I have the DNS files set up on my OpenBSD 4.0 amd64 system however when I run named, I get the following error in my logs: Sep 23 10:43:03 grunty named: starting BIND 9.3.2-P1 Sep 23 10:43:03 grunty named: /etc/named.conf:25: change directory to '/var/named' failed: file not found Sep 23... (2 Replies)
Discussion started by: BOFH
2 Replies

9. BSD

OpenBSD : mount problem

hi I have two hhd's. One is primary disk which holds the OpenBSD system and the other is my download disk (disk2). I formatted disk2 in "ffs" type. And created a "disklabel", wd1a. The disklabel program says "No change made", but I can see the changes by "p" command. I cannot mount my disk2!... (1 Reply)
Discussion started by: fnoyan
1 Replies

10. UNIX for Dummies Questions & Answers

please help with openbsd 2.9

Please help. I have downloaded the openbsd 2.9 snapshot from ftp.openbsd.org. the following files were downloaded from the snapshot dir. ( the whole dir. was downloaded ) base29,bsd,bsd.rd,cdrom29.fs,cksum,comp29,etc29,all three floppy images,game29,index,install.ata,install.chs... (11 Replies)
Discussion started by: Blunt_Killer
11 Replies
Login or Register to Ask a Question