From owner-freebsd-net Tue May 23 5: 6:51 2000 Delivered-To: freebsd-net@freebsd.org Received: from apollo.ocsny.com (apollo.ocsny.com [204.107.76.2]) by hub.freebsd.org (Postfix) with ESMTP id 74F1C37B977 for ; Tue, 23 May 2000 05:06:45 -0700 (PDT) (envelope-from mikel@ocsny.com) Received: from ocsny.com (thoth.upan.org [204.107.76.16]) by apollo.ocsny.com (8.9.2/8.9.3) with ESMTP id IAA88775; Tue, 23 May 2000 08:04:33 -0400 (EDT) Message-ID: <392A74D8.4802C999@ocsny.com> Date: Tue, 23 May 2000 08:08:56 -0400 From: Mikel Organization: Optimized Computer Solutions, Inc. X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: en,it MIME-Version: 1.0 To: ponomare@uni-duesseldorf.de Cc: freebsd-net@FreeBSD.ORG Subject: Re: Routing Table in FreeBSD 4.0 References: <00052018403701.00771@ponomare.krion> Content-Type: multipart/mixed; boundary="------------0FC636C7957C3ABF75E3FCAA" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------0FC636C7957C3ABF75E3FCAA Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit to route an entire class 'c' do this... route add -net 123.23.43.0 -netmask 255.255.255.0 134.99.26.17 Kirill Ponomarew wrote: > -----BEGIN PGP SIGNED MESSAGE----- > > Hallo > I have the following problem with my network configuration: > my normal routing tables is: > Destination Gateway Genmask IFace > 134.99.26.17 0.0.0.0 255.255.255.255 eth0 > 134.99.26.0 0.0.0.0 255.255.255.0 eth0 > 127.0.0.0 0.0.0.0 255.0.0.0. etho > 0.0.0.0 134.99.26.1 > > (sorry that i'm using here route table from Linux, I can't mail from FreeBSD > because of network troubles) > > IP is 134.99.26.17 > Gateway is 134.99.26.1 > > the problem is that gateway 134.99.26.1 is behind firewall at the university > I can't use such things like ftp <-- for ports downloading, icq, real audio etc. > On purpose to make our student life better, our UniAdmin has made the second > gateway, we have to log in the second gateway with ssh and then we can use all > services like ftp etc. > The question is - how to add in FreeBSD the second gateway from the other > subnetwork ??? > > IP of second gateway is 134.99.162.254 > I tried the following things: > route add -net 134.99.162.0 -mask 255.255.255.0 0.0.0.0 > route add default 134.99.162.254 > route: writing to routing socket: File exists > > in Linux it worked always: > route add -net 134.99.162.0 netmask 255.255.255.0 dev eth0 > route add default gw 134.99.162.254 > > thank you for your help > > -- > Kirill Ponomarew > Tro New Media GmbH > Zimmerstr. 19 > 40215 Duesseldorf > Deutschland > > Fon: +49 211 / 31 16 55-21 > Fax: +49 211 / 31 16 55-33 > Mobile: +49 173 / 43-5555-4 > Mail: kirill@tro.de > > "That vulnerability is completely theoretical." > -- > Microsoft > > -----BEGIN PGP SIGNATURE----- > Version: PGPfreeware 5.0i for non-commercial use > MessageID: NnF8YVk2MEyRqGD68pa0Y6j9kagUiD54 > > iQA/AwUBOSbACLSU3AmMQCDLEQLZKACgo+ZVb5le3oifooIKRhbFdeNq+wYAoIAs > PJ0r9/ry4FjJ1WVJdOg0esbG > =/l0y > -----END PGP SIGNATURE----- > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message -- Cheers, Mikel +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ | Optimized Computer Solutions, Inc http://www.ocsny.com | 39 W14th Street, Suite 203 212 727 2238 x132 | New York, NY 10011 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ --------------0FC636C7957C3ABF75E3FCAA Content-Type: text/x-vcard; charset=us-ascii; name="mikel.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Mikel Content-Disposition: attachment; filename="mikel.vcf" begin:vcard n:King;Mikel tel;fax:2124638402 tel;home:http://www.upan.org tel;work:2127272100 x-mozilla-html:TRUE org:Optimized Computer Solutions version:2.1 email;internet:mikel@ocsny.com title:Director of Network Operations & Technology adr;quoted-printable:;;39 W14th St.=0D=0ASte 203;New York;NY;10011;US note;quoted-printable:fBSD, PHP, MySql and OCS Rule!!!=0D=0A=0D=0AGoal is to be MS free by the end of 2k. x-mozilla-cpt:;7312 fn:Mikel King end:vcard --------------0FC636C7957C3ABF75E3FCAA-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message