On Mon, Sep 6, 2010 at 12:54 PM, jeremy jozwik <jerjoz.for...@gmail.com> wrote:
running as eth2 is going somewhere ip address add 192.168.0.200/24 dev eth2 ip link set dev eth2 up ifconfig eth2 192.168.0.200 netmask 255.255.255.0 up route add -host 192.168.0.202 dev eth2 iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 sysctl -w net.ipv4.ip_forward=1 ip addr add 192.168.0.200/24 dev eth2 $ ping 192.168.0.202 PING 192.168.0.202 (192.168.0.202) 56(84) bytes of data. 64 bytes from 192.168.0.202: icmp_seq=1 ttl=64 time=1.47 ms 64 bytes from 192.168.0.202: icmp_seq=2 ttl=64 time=1.21 ms 64 bytes from 192.168.0.202: icmp_seq=3 ttl=64 time=1.24 ms ^C --- 192.168.0.202 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2013ms rtt min/avg/max/mdev = 1.215/1.313/1.479/0.118 ms actually... i think i may have had a massive brain fart on this whole thing. ssh root[!...@192.168.0.202 works find, eth2 it is. thanks for the brain wave osmosis. _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community