Find the answer to your Linux question:
Results 1 to 2 of 2

Thread: static routing

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    static routing


    i have a problem.
    i have 2 VirtualPC /debian squeeze

    pc1 --> eth0

    --> eth1 gw bridged to my pc.

    pc2 connected to pc1 --> eth0 gw

    i want to be able to browse web via pc2.

    so i have enabled ipv_4 forward.
    i add static route on pc1: route add -net dev eth0
    and then route add gw dev eth0

    but when i try to ping from pc2 i get:
    From Redirect Host(New nexthop:
    from Destination Host Ureachable.

    no iptables rules.

    what am 'i doing wrong ?thank you in advance.

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    The Keystone State
    Can you draw out your network? Would most likely make it easier for everyone to follow the trail of the packet.


    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