[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-net
Subject:    Re: Routing Table in FreeBSD 4.0
From:       Mikel <mikel () ocsny ! com>
Date:       2000-05-23 12:08:56
[Download RAW message or body]

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
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+


["mikel.vcf" (text/x-vcard)]
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic