Rumy Taulu wrote:
>Pake ip aliasing (ip aliasing support harus compiled in atau moduled)
>
># ifconfig eth1:0 192.254.5.2
>
>Jadi anda akan punya :
>eth1 = 192.254.97.249
>dan
>eth1:0 = 192.1254.5.2
>
>
>
Command yang ini sudah OK
Bagaimana menuliskan di file (/etc/sysconfig/network-script/ ?) agar IP
tersebut setelah reboot tetap ada ?
># rc.gateway - gak perlu ip address
>
>
Command yang ini tidak bisa, ada pesan
-bash: rc.gateway: command not found
Saya gunakan Mandrake 9.2 dan Mandrake 10
di RH9 juga tidak mau
>EXTERNAL=eth0
>INTERNAL1=eth1
>INTERNAL2=eth1:0
># echo 1 > /proc/sys/net/ipv4/ip_forward
>echo "Setting up NAT (Network Address Translation)..."
># iptables -P FORWARD DROP
># iptables -A FORWARD -i $EXTERNAL -o $INTERNAL1 -m state --state
>ESTABLISHED,RELATED -j ACCEPT
>iptables -A FORWARD -i $EXTERNAL -o $INTERNAL2 -m state --state
>ESTABLISHED,RELATED -j ACCEPT
>iptables -A FORWARD -i $INTERNAL1 -o $EXTERNAL -j ACCEPT
>iptables -A FORWARD -i $INTERNAL2 -o $EXTERNAL -j ACCEPT
># iptables -t nat -A POSTROUTING -o $EXTERNAL -j SNAT
>
>
disimpan dimanakah perintah IPTABLES ini agar dijalankan saat komputer
reboot ?
--
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/