Find the answer to your Linux question:
Results 1 to 2 of 2
Im tired..yet i do this all day and im stuck.. My gateway ip address is 192.168.22.1 i have a debian box connected via eth0 to the gateway via a switch,, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! aliosa27's Avatar
    Join Date
    Jan 2007
    Posts
    10

    Simple routing question


    Im tired..yet i do this all day and im stuck..

    My gateway ip address is 192.168.22.1

    i have a debian box connected via eth0 to the gateway via a switch,,

    eth0's ip is 192.168.22.60

    this box has a second card eth1

    eth1's ip addres is 192.168.22.61

    ip forwarding is enabled..

    i need to forward traffic on the 192.168.22.0 subnet through eth1 to eth0..so it can get to 192.168.22.1

    any route commands would help!!
    thanks

  2. #2
    Linux Newbie framp's Avatar
    Join Date
    Jul 2006
    Location
    Stuttgart, Germany
    Posts
    240
    I you have multiple network cards on your system every card has to belong to a different network/IP range. But .22.60 and .22.61 belong to the same network!
    "Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." Linus Benedict Torvalds

Posting Permissions

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