I'd probably read the man page again! I'm kidding:
vi /etc/sysconfg/static-routes
eth0 net 192.246.115.0 netmask 255.255.255.0
restart your networking in init.d -or- if you have linuxconf installed you
need to add it through there.... that is a real easy way of doing it. or
from command line
route add -net 192.246.115.0 netmask 255.255.255.0 eth0
-----Original Message-----
From: Michael J. McGillick [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 15, 1999 5:04 PM
To: [EMAIL PROTECTED]
Subject: Adding a route
Evening Hatters:
Dumb question here, but how do I set up a static route? I read the man
pages, but all of the combinations I try simply bring up the help again
for route. I want to have a static route set up on my machine like this:
Current IP address of the machine: 10.0.1.10
Current gateway of the machine: 10.0.1.1
Current netmask of the machine: 255.255.255.0
Network I want to get to: 192.246.115.0
Netmask of network I want to get to: 255.255.255.0
Gateway to go through to get to this network: 10.0.1.2
Would someone mind showing me the correct syntax to implement this
please?
Thanks.
- Mike
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.