saya jalankan seperti ini :
[EMAIL PROTECTED] /]# iptables -t nat -A POSTROUTING -s 192.254.97.0/24 -o eth0 
-j SNAT --to 202.155.145.155
[EMAIL PROTECTED] /]# 

202.155.145.155 IP ini adalah IP yang didapat dari indosat (eth00

Hasilnya masih sama... belum bisa juga


Salam,
Malik Mt

[EMAIL PROTECTED] wrote :

> sepertinya ma
sih ada yang kurang disetting NATnya
> coba seperti ini :
> iptables -t nat -A Postrouting -s 192.254.97.0/24 -o eth0 -j SNAT --to
> ip_eth0
> 
> >
> > Teman saya sedang menjalankan gateway linux mandrake 9.2
> > infonya :
> > koneksi : kabelvision + indosat, DHCP, eth0
> > server local : eth1, IP:192.254.97.249
> >
> > file /etc/sysconfig/.../ifcfg-eth0 isinya :
> > DEVICE=eth0
> > BOOTPROTO=dhcp
> > NETMASK=255.255.255.0
> > ONBOOT=yes
> > MII_NOT_SUPPORTED=no
> > NEEDHOSTNAME=yes
> >
> > file /etc/sysconfig/.../ifcfg-eth1 isinya :
> > DEVICE=eth1
> > BOOTPROTO=static
> > IPADDR=192.254.97.249
> > NETMASK=255.255.255.0
> > NETWORK=192.254.97.0
> > BROADCAST=192.254.97.255
> > ONBOOT=yes
> > MII_NOT_SUPPORTED=no
> >
> > /etc/modules.conf isinya :
> > probeall scsi_hostadapter ide-scsi
> > alias eth0 8139too
> > alias eth1 3c59x
> > probeall usb-interface usb-uhci
> >
> > /etc/network isinya :
> > HOSTNAME=myserver.stptserver.edu
> > NETWORKING=yes
> > GATEWAY=202.155.145.155
> > GATEWAYDEV=eth0
> >
> > /etc/sysctl :
> > net.ipv4.ip_forward = 1
> >
> > sudah saya jalankan :
> > #iptables -A POSTROUTING -j MASQUERADE -t nat -s 192.254.97.0/24 -o eth0
> >
> > hasil #route -n
> > [EMAIL PROTECTED] removable]# route -n
> > Kernel IP routing table
> > Destination     Gateway         Genmask         Flags Metric Ref    Use
> > Iface
> > 192.254.97.0    0.0.0.0         255.255.255.0   U     0      0        0
> > eth1
> > 202.155.144.0   0.0.0.0         255.255.254.0   U     0      0        0
> > eth0
> > 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
> > 0.0.0.0         202.155.144.1   0.0.0.0         UG    0      0        0
> > eth0
> >
> > Untuk Client :
> > gateway mangarah ke 192.254.97.249
> > browser mengarah ke 192.254.97.249
> > tapi tidak bisa nyambung buka web
> >
> > tapi kalo' di client ping ke gateway indosat replay
> >>ping 202.155.144.1
> >
> > apakah ada yang kurang settingannya sehingga client masih belum bisa konek
> > ke web ?
> >
> > Tolong dong
> > Thx
> >
> > Salam,
> > Malik Mt


___________________________________
NOCC, http://nocc.sourceforge.net






-- 
www.ITCENTER.or.id - Komunitas Teknologi Informasi Indonesia 
Info, Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED] 
::: Hapus bagian yang tidak perlu (footer, dst) saat reply! ::: 
## Jobs: ITCENTER.or.id/jobs ## Bursa: ITCENTER.or.id/bursa ##

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ITCENTER/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Kirim email ke