Chris Davies <chris-(E-Mail Removed)> schrieb:
Hi Chris,
>Eggert Ehmke <(E-Mail Removed)> wrote:
>> /etc/networking/interfaces:
>> auto eth0
>> iface eth0 inet dhcp
>
>> auto eth0:0
>> iface eth0:0 inet static
>> address x.x.x.x
>> netmask 255.255.255.255
>
>> since I made this change, the original IP is not reachable via SSH any
>> longer. I can contact the server via a terminal server. Is this a ssh
>> problem, or maybe firewall related?
>
>Split the problem into parts: <snipped>
seems it is a different problem. For testing, I removed the eth0:0
part in the config and restarted networking. Voila, the eth0:0 was
back *and* all was working! It seems my ISP does configure the second
IP via DHCP, I was not aware of this. Anyway, both IPs are working
fine now, and the first IP is reachable via SSH again.
Can you give me a hint about firewalling the secong IP? Right now,
only the first IP is in the ipconfig, I am concerned about security
holes via the second IP. Normally, I would allow only http/https. Even
ssh is only openend for a 15 second time slot via port knocking.
Eggert
|