Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Setting Up A Gateway...
post Oct 16 2004, 12:58 PM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 3
Joined: 8-September 04
Member No.: 3,729


I've been having a lot of trouble setting up a gateway using OpenBSD3.5, if you can help or need some more info please ask!

Here's my situation:

Internet <> External Router <> OpenBSD Firewall <> Internal Router <> PC's

The External router has IP, the Internal Router and PC's have IP's of 192.168.1.x. The OpenBSD firewall has 2 NICs, the external one has IP and the Internal has

From the openBSD system I can ping the external router and the internal router and PC's, but not any internet servers. On the Internal PC's running windows, I have set the default gateway to that of the openbsd system, but they are unable to connect to either the external router or the internet.

If anyone can help me resolve this I would be really grateful, ive been trying for hours now.

Thanks smile.gif
Go to the top of the page
+Quote Post
post Oct 17 2004, 06:32 AM
Post #2

Its GNU/

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151

If your setup is as you have detailed, it won't work.

You seem to have 3 boxes ...

an external router (outside ip based on ISP, internal IP
a firewall (external IP, internal IP
an internal router (external IP 192.168.1.x, internal ip also 192.168.1.x)

If you have an internal router (which isn't required), then you will need to have it's internal and external interfaces be on different networks ... a router can't route on the same network/subnet. So if you really wanted the internal router (again, I don't see why it is needed), then you would need to do something like this:

an external router (outside ip based on ISP, internal IP
a firewall (external IP, internal IP
an internal router (external IP, internal ip

All PCs would be on the 192.168.0.x netowrk and have the internal router as their default gateway...or just remove the inner router altogether and set as the default gateway with all the PCs on the 192.168.1.x network.

Johnny Hughes
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 26th April 2018 - 10:05 PM