0

My ISP has bound a second real IP address to my dedicated server, but that new IP does not seem to function. How do I set up an interface for it?

I Use Ubuntu 10.04 LTS AMD64 Server OS.

Ivan
  • 3,398
  • 19
  • 50
  • 71

1 Answers1

2

Append the following config in /etc/network/intercaes:

auto eth0:0
iface eth0:0 inet static
address ADDRESS
netmask NETMASK
broadcast BROADCAST
network NETWORK

Runtime:

ifconfig eth0:0 ADDRESS/NETMASK

such as ifconfig eth0:0 8.8.8.8/32

ADDRESS,NETMASK given provider

bindbn
  • 5,211
  • 2
  • 26
  • 24