Results 1 to 3 of 3
  1. #1
    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

  2. #2
    Join Date
    Oct 2003
    Location
    Slovakia
    Posts
    482

    Re: Adding route in Linux network

    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

  3. #3
    Join Date
    Feb 2004
    Location
    Portsmouth
    Posts
    6

    It worked

    Thanks Ika.It worked.

    My network is now alright.

    Cheers.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •