Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 1999 17:45:04 +0100
From:      "patrick" <patrickf@d-f.be>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   FreeBSD gateway problem
Message-ID:  <000701be6a4c$2f515270$ebc245c2@foubert>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0004_01BE6A54.9093E040
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Actually i have a router (194.69.194.225/255.255.255.224) connected to =
Internet by a leased line.

My network is subdivised into two subnetworks (one with public IP =
address for web hosting) and another with private address.

For security i use a firewall.

My computer has a official address (194.69.194.235) and for gateway =
firewall (194.69.194.226).

I have not problems to access to Internet, these configuration works =
since one year.

For different reasons (not efficacity of firewall) I want make a thirdh =
network use BSD as gateway and firewall.=20

But i have a "strange" problem, probably in my BSD configuration.

I explain it:

My "external" network interface connected to my router has =
194.69.194.231/255.255.255.224 address

My "Internal" network Interface connected to thirdh network has =
198.208.124.172/255.255.255.224 address

Defaultrouter =3D "194.69.194.225"

gateway_enable=3D"YES"

router_enable=3D"YES"

router=3D"routed"=20

in resolv.conf, i have 2 entries of DNS servers:

194.69.192.70 #primary

194.69.192.71 #secondary

netstat -nr give:

default 194.69.194.225

When i make a ping from this PC (www.altavista.com): results are good=20

But the "BIG" problem was when I connect a client (win95) on the =
"Internal" interface:

Client configuration is:

IP: 198.208.124.175/255.255.255.224

Gateway: 198.208.124.172

DNS: 192.69.192.70 and 192.69.192.71

when i make a ping of 198.208.124.172 or 194.69.194.231, results are =
good but, when i try a ping on my router(194.69.194.225) or on a =
Internet address, i have no connection !

Can you help me to confirm BSD configuration ?

please reply on foubertp@d-f.be



Thanks,


------=_NextPart_000_0004_01BE6A54.9093E040
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.2106.6"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 face=3DHelv size=3D2>
<P>Actually i have a router (194.69.194.225/255.255.255.224) connected =
to=20
Internet by a leased line.</P>
<P>My network is subdivised into two subnetworks (one with public IP =
address for=20
web hosting) and another with private address.</P>
<P>For security i use a firewall.</P>
<P>My computer has a official address (194.69.194.235) and for gateway =
firewall=20
(194.69.194.226).</P>
<P>I have not problems to access to Internet, these configuration works =
since=20
one year.</P>
<P>For different reasons (not efficacity of firewall) I want make a =
thirdh=20
network use BSD as gateway and firewall. </P>
<P>But i have a &quot;strange&quot; problem, probably in my BSD=20
configuration.</P>
<P>I explain it:</P>
<P>My &quot;external&quot; network interface connected to my router has=20
194.69.194.231/255.255.255.224 address</P>
<P>My &quot;Internal&quot; network Interface connected to thirdh network =
has=20
198.208.124.172/255.255.255.224 address</P>
<P>Defaultrouter =3D &quot;194.69.194.225&quot;</P>
<P>gateway_enable=3D&quot;YES&quot;</P>
<P>router_enable=3D&quot;YES&quot;</P>
<P>router=3D&quot;routed&quot; </P>
<P>in resolv.conf, i have 2 entries of DNS servers:</P>
<P>194.69.192.70 #primary</P>
<P>194.69.192.71 #secondary</P>
<P>netstat -nr give:</P>
<P>default 194.69.194.225</P>
<P>When i make a ping from this PC (www.altavista.com): results are good =
</P>
<P>But the &quot;BIG&quot; problem was when I connect a client (win95) =
on the=20
&quot;Internal&quot; interface:</P>
<P>Client configuration is:</P>
<P>IP: 198.208.124.175/255.255.255.224</P>
<P>Gateway: 198.208.124.172</P>
<P>DNS: 192.69.192.70 and 192.69.192.71</P>
<P>when i make a ping of 198.208.124.172 or 194.69.194.231, results are =
good=20
but, when i try a ping on my router(194.69.194.225) or on a Internet =
address, i=20
have no connection !</P>
<P>Can you help me to confirm BSD configuration ?</P>
<P>please reply on foubertp@d-f.be</P>
<P>&nbsp;</P>
<P>Thanks,</P></FONT></DIV></BODY></HTML>

------=_NextPart_000_0004_01BE6A54.9093E040--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701be6a4c$2f515270$ebc245c2>