Find the answer to your Linux question:
Results 1 to 2 of 2
i have a linux machine with four NIC. one for WAN linkand other three for difrrent three subnets.there are three real ip also should be routed through this machine. please ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2008
    Posts
    15

    routing through linux machine


    i have a linux machine with four NIC. one for WAN linkand other three for difrrent three subnets.there are three real ip also should be routed through this machine.
    please guide me how we do this job. before this we are using windows 2003 server for this purpose.
    thanks in advance.

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,672
    Make sure FORWARD'ing is turned on.

    Code:
    echo 1 > /proc/sys/net/ipv4/ip_forward
    Then edit sysctl.conf and ensure the following
    Code:
    net.ipv4.ip_forward = 1

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

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