Sabtu, 28 Januari 2012

Konfigurasi IP untuk Router

#        Sudo su
#        Nano /etc/network/interfaces
Up iptables-restore < /etc/iptables.conf

Auto eth0
Iface eth0 inet static
Address 172.16.10.5
Netmask 255.255.255.0
Gateway 172.16.10.1

            Auto eth1
            Iface eth1 inet static
                        Address 192.168.50.2
                        Netmask 255.255.255.0