http://www.elitesecurity.org/tema/109535/0#712777
posle toga sam pregledao dosta foruma i shvatio da nisam dobro opisao problem, pa c sada da ga dopunim sa konkretnijim podacima
linux SuSe 9.2 je u pitanju imam dve mrezne prva (eth1) je povezana sa drugom masinom koja ima windows xp i ona radi druga (eth0) je kartica povezana sa AP pheenet 118c+ i koristi dhcp
Za konekciju je potrebno podesiti vpn . U windowsu radi konekcija i koristim adresu 10.10.100.1 kao host name properties od xp konekcije izgleda ovako

pre konekcije
Password:
linux1:~ # ifconfig
]eth0 Link encap:Ethernet HWaddr 00:0E:A6:54:CE:61
inet addr:10.10.102.117 Bcast:10.10.102.255 Mask:255.255.255.0
inet6 addr: fe80::20e:a6ff:fe54:ce61/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:41 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7590 (7.4 Kb) TX bytes:1206 (1.1 Kb)
Interrupt:5 Base address:0x4000
eth1 Link encap:Ethernet HWaddr 00:0E:A6:54:D6:54
inet addr:192.168.56.1 Bcast:192.168.56.255 Mask:255.255.255.0
inet6 addr: fe80::20e:a6ff:fe54:d654/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:612 (612.0 b)
Interrupt:5 Memory:d5000000-0
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:80 errors:0 dropped:0 overruns:0 frame:0
TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5216 (5.0 Kb) TX bytes:5216 (5.0 Kb)
linux1:~ # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.10.100.1 * 255.255.255.255 UH 0 0 0 eth0
10.10.102.0 * 255.255.255.0 U 0 0 0 eth0
192.168.56.0 * 255.255.255.0 U 0 0 0 eth1
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 10.10.100.1 0.0.0.0 UG 0 0 0 eth0
linux1:~ # posle konekcije
-bash: posle: command not found
linux1:~ # ifconfig
eth0 Link encap:Ethernet HWaddr 00:0E:A6:54:CE:61
inet addr:10.10.102.117 Bcast:10.10.102.255 Mask:255.255.255.0
inet6 addr: fe80::20e:a6ff:fe54:ce61/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:105 errors:0 dropped:0 overruns:0 frame:0
TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:17078 (16.6 Kb) TX bytes:3535 (3.4 Kb)
Interrupt:5 Base address:0x4000
eth1 Link encap:Ethernet HWaddr 00:0E:A6:54:D6:54
inet addr:192.168.56.1 Bcast:192.168.56.255 Mask:255.255.255.0
inet6 addr: fe80::20e:a6ff:fe54:d654/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:612 (612.0 b)
Interrupt:5 Memory:d5000000-0
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:80 errors:0 dropped:0 overruns:0 frame:0
TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5216 (5.0 Kb) TX bytes:5216 (5.0 Kb)
ppp0 Link encap:Point-to-Point Protocol
inet addr:213.244.230.221 P-t-P:213.244.228.46 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:996 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:104 (104.0 b) TX bytes:122 (122.0 b)
linux1:~ # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.10.100.1 * 255.255.255.255 UH 0 0 0 eth0
213.244.228.46 * 255.255.255.255 UH 0 0 0 ppp0
10.10.102.0 * 255.255.255.0 U 0 0 0 eth0
192.168.56.0 * 255.255.255.0 U 0 0 0 eth1
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default * 0.0.0.0 U 0 0 0 ppp0
linux1:~ #
Pokusao sam da posim ruting po uputsvima iz drugih tema ali nisam uspeo
probao sam route -add default gw 10.10.100.1 ppp0 i isto to sa adresom 213.244.228.46
Moze li neko na osnovu ovih podataka da mi da smernice kako da podesim routing.