Date: Wed, 19 Sep 2001 10:44:23 +0200 From: "Boril Yonchev" <by@hibit.net> To: <questions@FreeBSD.org> Subject: default routes from other net Message-ID: <023101c140e7$480a6b70$1301a8c0@abyss>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_022E_01C140F8.0B6881F0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Hi,=20 I'll try to set my network but ISP gate is from one net and my Static IP = from other for exaple my IP is 62.62.62.62 netmask 255.255.255.240 and gateway must be = 212.212.212.212 on interface ep0 with Linux I can set with this in my route table route add -host 212.212.212.212 dev eth0 route add -net 0.0.0.0 netmask 0.0.0.0 gw 212.212.212.212 but with FreeBSD I can't. Can you help me how to set this default gateway? Boril Yonchev ------=_NextPart_000_022E_01C140F8.0B6881F0 Content-Type: text/html; charset="windows-1251" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Dwindows-1251"> <META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT size=3D2>Hi, </FONT></DIV> <DIV><FONT size=3D2>I'll try to set my network but ISP gate is from one = net and my=20 Static IP from other for exaple</FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2>my IP is 62.62.62.62 netmask 255.255.255.240 = and gateway=20 must be 212.212.212.212 on interface ep0</FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2>with Linux I can set with this in my route = table</FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2>route add -host 212.212.212.212 dev = eth0</FONT></DIV> <DIV><FONT size=3D2>route add -net 0.0.0.0 netmask 0.0.0.0 gw=20 212.212.212.212</FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2>but with FreeBSD I can't.</FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2>Can you help me how to set this default = gateway?</FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2>Boril Yonchev</FONT></DIV></BODY></HTML> ------=_NextPart_000_022E_01C140F8.0B6881F0-- 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?023101c140e7$480a6b70$1301a8c0>