From owner-freebsd-questions Sat May 20 9:38:30 2000 Delivered-To: freebsd-questions@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 18B6C37B52C for ; Sat, 20 May 2000 09:38:25 -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 <0FUV001OKA7QZ2@neptun.rz.uni-duesseldorf.de> for questions@FreeBSD.org; Sat, 20 May 2000 18:38:14 +0200 (MET DST) Date: Sat, 20 May 2000 18:24:16 +0200 From: Kirill Ponomarew Subject: Routing Table in FreeBSD 4.0 To: questions@FreeBSD.org Reply-To: ponomare@uni-duesseldorf.de Message-id: <00052018392100.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-questions@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: DclZAbJCLxw8+ITpGRkZxXhYUukQWGqJ iQA+AwUBOSa/vbSU3AmMQCDLEQK5oQCgmLGkvBTCDoshm+8b7x+wBRkSsqQAmJzR h03aY7KV+I51IRfXn4nWlFc= =OpyW -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message