Author Topic: SOLVED: network/interfaces problem  (Read 1654 times)

kid_english

  • Zen Apprentice
  • *
  • Posts: 41
  • Karma: +0/-0
    • View Profile
SOLVED: network/interfaces problem
« on: December 21, 2009, 04:48:17 pm »
Ok, I realise this is pretty out there as a help request, but here goes.

I know this is down to networking/interfaces, I remember having this issue once before but I can't for the life of me remember what was wrong.

Basically an automatic upgrade of an ebox-network package has overwritten my network/interfaces file somehow, and now I can't get online or connect to the ebox from any other computer. Clever guy that I am I don't have a backup of the file.

Essentially...
eth0 is the external connection coming in.
eth1 is the internal LAN, which connects to the net via eth0 (that's all handled by ebox).

Can anyone see anything obviously wrong with the code below? I'm almost certain it's something missing but just can't remember.


Code: [Select]
auto lo eth0 eth1
iface lo inet loopback
iface eth0 inet static
        address 217.113.173.74
        netmask 255.255.255.248
        broadcast 217.113.173.79
        gateway 217.113.173.73

iface eth1 inet static
        address 192.168.1.1
        netmask 255.255.255.0
        broadcast 192.168.1.255
        gateway 192.168.1.1

Thanks for any help.
« Last Edit: December 27, 2009, 07:43:32 pm by kid_english »

kid_english

  • Zen Apprentice
  • *
  • Posts: 41
  • Karma: +0/-0
    • View Profile
Re: network/interfaces problem
« Reply #1 on: December 27, 2009, 07:43:03 pm »
Solved it myself. Looks like ebox missed a needed line  when rebuilding the interfaces file

This works:

Code: [Select]
auto lo eth0 eth1
iface lo inet loopback
iface eth0 inet static
        address 217.113.173.74
        netmask 255.255.255.248
        network 217.113.173.75
        broadcast 217.113.173.79
        gateway 217.113.173.73

iface eth1 inet static
        address 192.168.1.1
        netmask 255.255.255.0
        broadcast 192.168.1.255
        gateway 192.168.1.1