1

[all variants] 2 External IPs in 1 server

view story
linux-howto

http://ubuntuforums.org – Hello, I'm having some problems to setup 2 external (non-local) IPs in a server. This is my /etc/network/interfaces (I modified the real IPs and omitted lo and eth0 as I think is irrelevant): Code: auto eth1 iface eth1 inet static address 1.1.1.197 netmask 255.255.255.248 #gateway 1.1.1.193 #dns-nameservers 1.1.1.75 #broadcast 1.1.1.199 auto eth2 iface eth2 inet static address 1.1.1.198 netmask 255.255.255.248 #gateway 1.1.1.193 #dns-nameservers 1.1.1.75 #broadcast 1.1.1.199 The output of ifconfig -a is: Code: eth1      Link encap:Ethernet  HWaddr 00:1d:73:78:e1:38 (HowTos)