Subject: Fw: Routing
To: None <port-i386@netbsd.org>
From: dkwok <dkwok@iware.com.au>
List: port-i386
Date: 09/11/2001 12:02:44
This is a multi-part message in MIME format.
------=_NextPart_000_0082_01C13AB9.AA946FE0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
----- Original Message -----=20
From: dkwok=20
To: i386-port@netbsd.org=20
Sent: Tuesday, September 11, 2001 9:43 AM
Subject: Routing=20
Hi Folks
I must have done something wrong but I have tried for the last 8 hours =
to sort out this routing matter with no avail.
So I now ask if anyone can enlighten me.
I have set up a gateway with NetBSD-1.5.1 on PII 200 machine. I have =
change the kernel as follows:
options GATEWAY
options INET
The route table is as follow:
default 192.168.1.1 UGS 1 300 1500 =
rtk0
127.0.0.1 127.0.0.1 UH 0 0 33228 lo0
192.168.1 link#1 UC 2 0 1500 =
rtk0
192.168.1.1 link#1 UHLc 1 242 1500 =
rtk0
192.168.1.31 192.168.2.1 UGHS 0 0 1500 wi0
192.168.2 link#19 UC 2 0 1500 wi0
192.168.2.1 00:02:a5:6f:47:db UHLc 1 0 1500 lo0
192.168.2.16 00:02:a5:6f:47:dd UHLc 3 2013 1500 wi0
The problem is that I cannot route packets from 192.168.2.0 network to =
192.168.1.0 and beyond to default.
Any pointer
David Kwok
------=_NextPart_000_0082_01C13AB9.AA946FE0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV> </DIV>
<DIV style=3D"FONT: 10pt arial">----- Original Message -----=20
<DIV style=3D"BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A=20
href=3D"mailto:dkwok@iware.com.au" title=3Ddkwok@iware.com.au>dkwok</A> =
</DIV>
<DIV><B>To:</B> <A href=3D"mailto:i386-port@netbsd.org"=20
title=3Di386-port@netbsd.org>i386-port@netbsd.org</A> </DIV>
<DIV><B>Sent:</B> Tuesday, September 11, 2001 9:43 AM</DIV>
<DIV><B>Subject:</B> Routing </DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>Hi Folks</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I must have done something wrong but I =
have tried=20
for the last 8 hours to sort out this routing matter with no =
avail.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>So I now ask if anyone can enlighten=20
me.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I have set up a gateway with =
NetBSD-1.5.1 on PII=20
200 machine. I have change the kernel as follows:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>options =
GATEWAY</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>options =
INET</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>The route table is as =
follow:</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>default &nb=
sp; =20
192.168.1.1 =20
UGS =20
1 300 1500 =20
rtk0<BR>127.0.0.1 =20
127.0.0.1 =20
UH =20
0 0 33228 =20
lo0<BR>192.168.1 =20
link#1 &=
nbsp;=20
UC =20
2 0 1500 =20
rtk0<BR>192.168.1.1 =20
link#1 &=
nbsp;=20
UHLc =
1 =20
242 1500 =20
rtk0<BR>192.168.1.31 =20
192.168.2.1 =20
UGHS =20
0 0 1500 =20
wi0<BR>192.168.2 =20
link#19 =
=20
UC =20
2 0 1500 =20
wi0<BR>192.168.2.1 =20
00:02:a5:6f:47:db UHLc =20
1 0 1500 =20
lo0<BR>192.168.2.16 =
00:02:a5:6f:47:dd =20
UHLc 3 =
2013 1500 wi0</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>The problem is that I cannot route =
packets from=20
192.168.2.0 network to 192.168.1.0 and beyond to default.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Any pointer</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>David Kwok</FONT></DIV>
<DIV> </DIV></BODY></HTML>
------=_NextPart_000_0082_01C13AB9.AA946FE0--