Look at the man page for route.

route add -net 172.24.0.0 netmask 255.255.0.0 eth0
The above command will add routing for the network addresses 172.24.xxx.xxx.
You will be able to ping them assuming you have them setup properly as well.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ruprecht Helms
> Sent: July 16, 1999 2:46 AM
> To: [EMAIL PROTECTED]
> Subject: How to gererate netmask for routingtable
>
>
> Hi,
>
> how can I generate a netmask for routing. At the moment I have a new host
> with IP 172.24.108.98, right netmaks is 255.255.0.0, but in the routing
> table I have till now a netmask of 255.255.255.255.
>
> How can I change this entry?
>
> Regards,
> Ruprecht
>
> --
> Sent through Global Message Exchange - http://www.gmx.net
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]
>

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to