Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2007 22:33:58 +0800
From:      "rick norman" <gumbo_2007@bsdmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: route
Message-ID:  <20070413143358.D34854408A@ws5-1.us4.outblaze.com>

next in thread | raw e-mail | index | archive | help
If I understand your problem, you have three pc's that you would like to be=
 able to route between.
For your 192.168.1.33 box to be able to talk to your 10.0.0.15 box, it need=
s to have an ip address on the 10.0.0 subnet.
This could be accomplished by adding an alias in the rc.conf, ifconfig_lnc0=
_alias0=3Dinet 10.0.0.16 netmask 255.255.255.0,=20
for instance if your nic is named lnc0. Your 192.168.1.33 box already share=
s subnet 192.168.1 with your 192.168.1.34 box.
You don't actually need to run a router so you don't need the router_enable=
 option.  You need a gateway_enable option to allow
the box to do ip forwarding.  Both the 10.0.0.15 box and the 192.168.1.34 b=
ox need to be told their default router via a defaultrouter option
such as, defaultrouter=3D"192.168.1.33" in the 192.168.1.34 box.  The 10.0.=
0.15 option looks like defaultrouter=3D"10.0.0.16".  Assuming
there is connectivity between the three boxes, they should all be able to p=
ing each other.

> ----- Original Message -----
> From: "Miguel Alc=C3=A1ntara" <miguel.alc@gmail.com>
> To: faqfreebsd <freebsd-questions@freebsd.org>
> Subject: route
> Date: Thu, 12 Apr 2007 21:55:04 +0000
>=20
> hello all the people, i want to configure a freebsd 6.2 as a router, in
> rc.conf added this line
>=20
> router_enable=3D"YES"
>=20
> it's ip is 192.168.1.33
>=20
> then i have two PCs, one with freebsd(10.0.0.15) and another with debian(
> 192.168.1.34), but i can't realize if I must configure something in the
> others two  machines
> the pourpose of this is to get communicated the freebsd(10.0.0.15) with
> debian(192.168.1.34).
>=20
> thanks in advance for your help.
>=20
>=20
> -- $ miguel_alc=C3=A1ntara $
>=20
> "=E2=80=A6 empiezo ac=C3=A1 con la idea de ir all=C3=A1 en un experimento=
 para aumentar, por
> ejemplo, la velocidad del cable interoce=C3=A1nico del Atl=C3=A1ntico; pe=
ro cuando he
> llegado en parte a la meta, me encuentro con un fen=C3=B3meno que me empu=
ja en
> otra direcci=C3=B3n [...] hacia algo completamente inesperado".
>=20
> Thomas A. Edison.
>=20
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"

>


--=20
_______________________________________________
Get your free email from http://bsdmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070413143358.D34854408A>