Multiple ip on Ubuntu

Disini di asumsikan kita mempunyai komputer yang sudah terinstall ubuntu dan mempunyai lancard dengan eth0 atau lebih. dengan contoh disini eth0 tersebut mempunyai ip 192.168.0.140
kita asumsikan bahwa eth0 dengan ip 192.168.0.140 akan di buat alias ip yaitu eth0:0 dengan ip 192.168.0.141 maka kita ketik perintah:
ifconfig eth0:0 192.168.0.141 up
atau
/sbin/ifconfig eth0:0 192.168.0.141 up
—————————contoh——————————
root@vps:/etc/network# ifconfig eth0:0 192.168.0.140 up
root@vps:/etc/network# ifconfig eth0:1 192.168.0.141 up
—————————————————————————
lalu kita cek dengan perintah
ifconfig
—————————————————————————-
root@vps:/etc/network# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:e0:18:f7:fa:99
inet addr:192.168.0.150  Bcast:192.168.0.255  Mask:255.255.255.0
inet6 addr: fe80::2e0:18ff:fef7:fa99/64 Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:318541 errors:0 dropped:0 overruns:0 frame:0
TX packets:298956 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:115171770 (109.8 MB)  TX bytes:55060875 (52.5 MB)
Interrupt:16 Base address:0x9800
eth0:0    Link encap:Ethernet  HWaddr 00:e0:18:f7:fa:99
inet addr:192.168.0.140  Bcast:192.168.0.255  Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
Interrupt:16 Base address:0x9800
eth0:1    Link encap:Ethernet  HWaddr 00:e0:18:f7:fa:99
inet addr:192.168.0.141  Bcast:192.168.0.255  Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
Interrupt:16 Base address:0x9800
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:302010 errors:0 dropped:0 overruns:0 frame:0
TX packets:302010 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:36568782 (34.8 MB)  TX bytes:36568782 (34.8 MB)
—————————————————————————
setingan ip di ubuntu ada di file interfaces yang ada di /etc/network/
jika dengan perintah di atas maka saat kita reboot akan hilang. untuk menjadikan permanent maka harus di masukkan ke dalam file interfaces tersebut.
buka file editor contohnya vi/pico/nano lalu tambahkan baris contoh sebagai berikut:
auto eth0:0
iface eth0:0 inet static
name Ethernet alias LAN card
address 192.168.0.140
netmask 255.255.255.0
broadcast 192.168.0.255
network 192.168.0.0
auto eth0:1
iface eth0:1 inet static
name Ethernet alias LAN card
address 192.168.0.141
netmask 255.255.255.0
broadcast 192.168.0.255
network 192.168.0.0
—————————————————————————–
nah sudah jadi deh, ip alias / multiple ip sudah jadi dan siap di pake.

How do I configure my firewall/proxy server?

If you are experiencing a problem because you are connecting through a firewall or proxy server, you will need to configure your firewall or proxy server. The following information should assist with your configuration:
Basic Connection:
Protocol: TCP or HTTP
Servers:

  • scs.msg.yahoo.com
  • scsa.msg.yahoo.com
  • scsb.msg.yahoo.com
  • scsc.msg.yahoo.com

Port: 20,23,25,80,119,5050,8001,8002
Webcam Connection:
Protocol: TCP
Server: webcam.yahoo.com
Port: 5100
File Transfer Connection:
Protocol: HTTP
Server: filetransfer.msg.yahoo.com
Port: 80
File Sharing Connection:
Protocol: HTTP
Port: 80
Voice Chat Connection:
Protocol: UDP or TCP
Servers:

  • v1.vc.scd.yahoo.com
  • v2.vc.scd.yahoo.com
  • v3.vc.scd.yahoo.com
  • v4.vc.scd.yahoo.com
  • v5.vc.scd.yahoo.com
  • v6.vc.scd.yahoo.com
  • v7.vc.scd.yahoo.com
  • v8.vc.scd.yahoo.com
  • v9.vc.scd.yahoo.com
  • v10.vc.scd.yahoo.com
  • v11.vc.scd.yahoo.com
  • v13.vc.sc5.yahoo.com
  • vc1.vip.scd.yahoo.com

Ports: 5000-5010
Original Posting By: Yahoo
Copy From:
http://help.yahoo.com/l/in/yahoo/messenger/messenger8/messenger/messenger-02.html