** Paul Stimpson <paul(a)stimpsonfamily.co.uk> [2012-02-05 20:18]:
Due to a punishing workload, I left my renumbering to
the last
minute and it's not worked right.
Here is my new /etc/network/interfaces:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 85.119.82.73
netmask 255.255.248.0
gateway 85.119.80.1
auto eth0:1
iface eth0:1 inet static
address 85.119.82.67
netmask 255.255.255.255
auto eth0:2
iface eth0:2 inet static
address 212.13.194.73
netmask 255.255.255.255
auto eth0:3
iface eth0:3 inet static
address 212.13.194.67
netmask 255.255.255.255
ip -4 addr show dev eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP>
mtu 1500 qdisc
pfifo_fast state UNKNOWN qlen 1000
inet 85.119.82.73/21 brd 85.119.87.255 scope global eth0
inet 85.119.82.67/32 brd 85.255.255.255 scope global eth0:1
inet 212.13.194.73/32 brd 212.13.194.255 scope global eth0:2
inet 212.13.194.67/32 brd 212.13.194.255 scope global eth0:3
ip -4 route show
10.26.0.2 dev tun0 proto kernel scope link src
10.26.0.1
10.26.0.0/24 via 10.26.0.2 dev tun0
85.119.80.0/21 dev eth0 proto kernel scope link src 85.119.82.73
default via 85.119.80.1 dev eth0
/etc/resolv.conf
nameserver 85.119.80.232
nameserver 85.119.80.233
I can still ping and ssh the old 212 addresses. When I'm logged in,
I can't ping 85.119.80.1 and dig says that there are no DNS servers
available. I can ping both 212 addresses from outside but neither of
the 85 addresses.
I'd be really grateful if someone would point out my stupid and
obvious mistake.
** end quote [Paul Stimpson]
Your netmask on eth0 is too wide ranging, I'm guessing it should be
255.255.255.248 to cover a block of 8 IPs on the server.
--
Paul Tansom | Aptanet Ltd. |
http://www.aptanet.com/ | 023 9238 0001
======================================================================
Registered in England | Company No: 4905028 | Registered Office:
Crawford House, Hambledon Road, Denmead, Waterlooville, Hants, PO7 6NU