If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Suggestions & Feedback > Adding route in Linux network

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-06-04, 08:11
taiwoadeegbe taiwoadeegbe is offline
Registered User
 
Join Date: Feb 2004
Location: Portsmouth
Posts: 6
Adding route in Linux network

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
Reply With Quote
  #2 (permalink)  
Old 03-11-04, 18:13
ika ika is offline
Registered User
 
Join Date: Oct 2003
Location: Slovakia
Posts: 482
Re: Adding route in Linux network

Quote:
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
Reply With Quote
  #3 (permalink)  
Old 03-11-04, 18:51
taiwoadeegbe taiwoadeegbe is offline
Registered User
 
Join Date: Feb 2004
Location: Portsmouth
Posts: 6
It worked

Thanks Ika.It worked.

My network is now alright.

Cheers.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On