From owner-freebsd-net Sat May 20 9:39:38 2000 Delivered-To: freebsd-net@freebsd.org Received: from neptun.rz.uni-duesseldorf.de (sirene.rz.uni-duesseldorf.de [134.99.128.2]) by hub.freebsd.org (Postfix) with ESMTP id 2D03E37B7C8 for ; Sat, 20 May 2000 09:39:34 -0700 (PDT) (envelope-from ponomare@uni-duesseldorf.de) Received: from ponomare.krion (pc.unistrasse-1.uni-duesseldorf.de [134.99.26.17]) by neptun.rz.uni-duesseldorf.de (Sun Internet Mail Server sims.4.0.1999.06.13.00.20) with SMTP id <0FUV005FRA9U00@neptun.rz.uni-duesseldorf.de> for freebsd-net@freebsd.org; Sat, 20 May 2000 18:39:30 +0200 (MET DST) Date: Sat, 20 May 2000 18:40:05 +0200 From: Kirill Ponomarew Subject: Routing Table in FreeBSD 4.0 To: freebsd-net@freebsd.org Reply-To: ponomare@uni-duesseldorf.de Message-id: <00052018403701.00771@ponomare.krion> MIME-version: 1.0 X-Mailer: KMail [version 1.0.28] Content-type: text/plain Content-transfer-encoding: 7BIT Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org -----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