Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Routing between networks

    I have the following setup on my Ubuntu box:

    From network:, I can ping (The gateway), but no other hosts on that network. And from network I can ping back to, but no other hosts on that network. I can ping any host on any of these networks from the actual Ubuntu box (Which is also serving DHCP etc).

    wan0 is Masqueraded.

    Here is my route -n output:
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface         UG    100    0        0 wan0   U     0      0        0 lan0   U     0      0        0 eth0   U     0      0        0 wan0
    Can someone please explain why my 2 networks can't talk to each other?

    This has been annoying me for days.

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    The Keystone State
    Do you have FORWARD turned on?

    echo 1 > /proc/sys/net/ipv4/ip_forward


    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Quote Originally Posted by Lazydog View Post
    Do you have FORWARD turned on?
    Yep. It reports 1. Masquerading wouldn't work if this was 0 though right (I had to turn it before before it would work)?

  4. $spacer_open
  5. #4
    Never mind. I can't believe after all this time it was an IPTables issue. I had INPUT -j ACCEPT, but not FORWARD -j ACCEPT for said adapters -_-;;

    Thank you for your help Lazdog!

Posting Permissions

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