PDA

View Full Version : Adding route in Linux network


taiwoadeegbe
03-06-04, 09:11
Hello,

I just want to find out "How to add route to a routing table that will point at another machine's hidden subnet?"
Also, how can I delete the route? Is it ..route del -net IP address netmask..... interface......

Is there a short way to calculate a subnet address like this:

148.197.27.0/24 and 148.197.28.0/24 what i mean is to write the proper subnet address e.g 148.197.27.77

How can I get the proper addresses of the two subnets above

cheers

ika
03-11-04, 19:13
Originally posted by taiwoadeegbe
Hello,

I just want to find out "How to add route to a routing table that will point at another machine's hidden subnet?"
Also, how can I delete the route? Is it ..route del -net IP address netmask..... interface......

Is there a short way to calculate a subnet address like this:

148.197.27.0/24 and 148.197.28.0/24 what i mean is to write the proper subnet address e.g 148.197.27.77

How can I get the proper addresses of the two subnets above

cheers

I just want to find out "How to add route to a routing table that will point at another machine's hidden subnet?"
Answer: "man route" - that will give you the answer

Also, how can I delete the route? Is it ..route del -net IP address netmask..... interface......
Answer: YES

taiwoadeegbe
03-11-04, 19:51
Thanks Ika.It worked.

My network is now alright.

Cheers.